kconfirm is currently under review by maintainers to be added into the upstream linux source, but there are concerns about requiring users to rely on crates.io to download dependencies.
Miguel Ojeda, who leads the Rust for Linux project, has requested the ability to allow users to download dependencies from common linux distributions (e.g. debian and fedora), however this requires that nom-kconfig be packaged for them.
See also his message:
In any case, when we discussed offline building in v1, that did not
necessarily mean vendoring every dependency manually into the tree,
but rather let the user set up the dependencies before (i.e.
connecting is fine) so that then the actual `make` steps can proceed
offline. For instance, using `cargo vendor`:
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html
In other words, one should be able to have users run a command or
similar, and then use the dependencies that are already downloaded.
By the way, another option for that may be using the distribution's
registry (e.g. Debian and Fedora provide one through the package
manager). That is even better (and we were requested to look into it
back then for `syn`), but it does introduce complications even if one
assumes Cargo is available (which we don't so far in the normal build
path), e.g. the versions need to fit, one still needs to provide a way
to do it for distributions that do not match, etc.
Archived email source: https://lore.kernel.org/all/CANiq72kUD=s7VkOUBNFLbcASvDoO_qFXHziOcSFdDqtg5NXoUw@mail.gmail.com/
kconfirm is currently under review by maintainers to be added into the upstream linux source, but there are concerns about requiring users to rely on crates.io to download dependencies.
Miguel Ojeda, who leads the Rust for Linux project, has requested the ability to allow users to download dependencies from common linux distributions (e.g. debian and fedora), however this requires that nom-kconfig be packaged for them.
See also his message:
Archived email source: https://lore.kernel.org/all/CANiq72kUD=s7VkOUBNFLbcASvDoO_qFXHziOcSFdDqtg5NXoUw@mail.gmail.com/