Re: [RFC PATCH v3 2/3] Documentation: add kconfirm

From: Miguel Ojeda

Date: Sun May 17 2026 - 02:06:05 EST


On Sat, May 16, 2026 at 11:54 PM Julian Braha <julianbraha@xxxxxxxxx> wrote:
>
> +kconfirm's Minimum Supported Rust Version (MSRV) is v1.85.0, because
> +it uses Rust edition 2024, and this is the earliest supported version.

Note: this means it will be the first code within the kernel tree
using the new edition.

I think it is fine, since in general no one should be copying code
from here to kernel code or vice versa.

(For context for others: code in one edition can have different
behavior than in another edition, and thus it is risky to mix them up
by mistake).

> +In ``scripts/kconfirm/`` run the following to download the dependencies::
> +
> + cargo vendor

I am not sure how important this is for `scripts/` and/or `tools/`
(Kbuild may have a policy), but this should probably handle `O=`
builds.

In some cases, the source tree may even be read-only, i.e. we wouldn't
be able to create `target/` there.

Cheers,
Miguel