new: flag rust-toolchain.toml pins in pkh new

This commit is contained in:
2026-09-16 23:59:16 +02:00
parent 84824f61c6
commit 8e06b2074d
4 changed files with 228 additions and 15 deletions
+5
View File
@@ -81,6 +81,11 @@ pub struct ProbeResult {
/// Installed command / binary name (e.g. the first `[[bin]]` target or
/// console script).
pub command: Option<String>,
/// Rust toolchain channel pinned by the project's `rust-toolchain.toml`
/// (or legacy `rust-toolchain`), e.g. `1.98.0`. Only set by the rust
/// template; the chroot build uses the distribution's rustc and ignores
/// the pin, so the wizard surfaces it as a heads-up instead.
pub toolchain_pin: Option<String>,
}
/// A package template: one supported ecosystem / build system.