Merge rust-bitcoin/rust-bitcoin#7205: Manual update to rustc stable (to 1.100.0)
What changed, and why it matters
This commit updates the project's automated Rust compiler version from 1.99.1 to 1.100.0 and adjusts a CI cache cleanup script to match a new directory layout used by Cargo 1.100. It is purely an infrastructure/maintenance change to keep automated tests and build caches working efficiently. There is no change to the actual Bitcoin library code, no bug fix, and no security-related content.
No security action required. Treat as routine CI/toolchain maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The merge updates the pinned stable Rust toolchain to 1.100.0 in Cargo.toml and modifies .github/workflows/rust.yml’s ‘Prune workspace artifacts’ step. Cargo 1.100 changed intermediate artifact layout under target/, so the pruning logic now checks for .cargo-lock files and removes stale per-build directories under build/*/
Changed components
.github/workflows/rust.ymlCargo.tomlInspect captured patch +8 / −2
### .github/workflows/rust.yml
@@ -51,13 +51,19 @@ jobs:
run: |
target=$(cargo metadata --format-version 1 --no-deps | jq -r .target_directory)
for profile in "$target"/*/ "$target"/*/*/; do
- [ -d "$profile.fingerprint" ] || continue
+ [ -f "$profile.cargo-lock" ] || continue
for dep_info in "$profile"deps/*.d; do
grep -qs '^[^/#]' "$dep_info" || continue
hash=${dep_info%.d}
hash=${hash##*-}
rm -rf "$profile".fingerprint/*-"$hash" "$profile"deps/*-"$hash" "$profile"deps/*-"$hash".*
done
+ for build_dir in "$profile"build/*/*/; do
+ build_id=${build_dir%/}
+ build_id=${build_id##*/}
+ grep -qs '^[^/#]' "$build_dir"out/*-"$build_id".d || continue
+ rm -rf "$build_dir"
+ done
find "$profile" -maxdepth 1 -type f ! -name .cargo-lock -delete
rm -rf "$profile"examples "$profile"incremental
done
### Cargo.toml
@@ -7,7 +7,7 @@ resolver = "2"
rbmt.version = "0.5.5"
rbmt.lock.lockfiles = ["minimal", "recent"]
rbmt.toolchains.nightly = "nightly-2026-11-07"
-rbmt.toolchains.stable = "1.99.1"
+rbmt.toolchains.stable = "1.100.0"
[workspace.dependencies]
# Commented out to avoid messing up with MSRV, it gets uncommented in CI or you can uncomment it before running creusotWhy this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.