From f9f897b32cad3bf10fcc06774887254922eaea74 Mon Sep 17 00:00:00 2001 From: main Date: Sun, 14 Jun 2026 23:49:59 -0400 Subject: Scrub hardcoded Rust toolchain defaults Teach rust-bootstrap to use the latest system Rust toolchain, derive rust-version only from active rustc when needed, and initialize Git before applying the fresh template in an empty directory. --- template/fresh/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'template/fresh/Cargo.toml') diff --git a/template/fresh/Cargo.toml b/template/fresh/Cargo.toml index ee35453..57d0dd9 100644 --- a/template/fresh/Cargo.toml +++ b/template/fresh/Cargo.toml @@ -1,4 +1,6 @@ -# Replace the member list, package metadata, and toolchain/MSRV values deliberately. +# Replace the member list and package metadata deliberately. +# If the target records `rust-version`, derive it from the latest system +# `rustc --version`; do not copy a Rust version from this template. [workspace] members = ["crates/app"] @@ -7,7 +9,6 @@ resolver = "3" [workspace.package] edition = "2024" license = "MIT" -rust-version = "1.90" version = "0.1.0" [workspace.lints.rust] -- cgit v1.2.3