Skip to content

Commit 34cb91e

Browse files
longlhoclaude
andauthored
rs: bump rust toolchain to 1.95 (#38)
## Summary - Bumps the registered rust toolchain to 1.95.0 in `MODULE.bazel` and the workspace `rust-version` in `Cargo.toml`. - Drops the "matches ruff 0.15.10 MSRV" comments since 1.95 is now intentionally above ruff's declared floor. ## Test plan - [ ] CI green (build + tests under the new toolchain) - [ ] BCR presubmit green 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4b1b616 commit 34cb91e

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ members = [
66

77
[workspace.package]
88
edition = "2024"
9-
# Floor matches ruff 0.15.10's own rust-version — we don't use anything beyond
10-
# what ruff requires, so the right floor is theirs. Edition 2024 itself only
11-
# needs 1.85+; ruff is the binding constraint.
12-
rust-version = "1.92"
9+
rust-version = "1.95"
1310
license = "Apache-2.0"
1411
repository = "https://github.com/hermeticbuild/gazelle_py"
1512

MODULE.bazel

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ rules_rust = use_extension("@rules_rs//rs:rules_rust.bzl", "rules_rust")
3333
use_repo(rules_rust, "rules_rust")
3434

3535
# Rust toolchain — propagates to consumers because their gazelle_binary
36-
# links our staticlib via cgo and needs to build the rust crate. Pinned to
37-
# ruff 0.15.10's declared MSRV; we don't use anything beyond what ruff
38-
# requires, so the right floor is theirs.
36+
# links our staticlib via cgo and needs to build the rust crate.
3937
toolchains = use_extension(
4038
"@rules_rs//rs/toolchains:module_extension.bzl",
4139
"toolchains",
4240
)
4341
toolchains.toolchain(
4442
edition = "2024",
45-
version = "1.92.0",
43+
version = "1.95.0",
4644
)
4745
use_repo(toolchains, "default_rust_toolchains")
4846

0 commit comments

Comments
 (0)