You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added iso_date and channel to rust_toolchain. (bazelbuild#3957)
This change is a slight deviation from the repository interface but that
is subject to change whenever WORKSPACE support is dropped. Instead of
`version` representing both a stable version or a nightly/beta channel
with ISO date, version always represents the reported version of `rustc`
which even nightly/beta toolchains will have. Users who care about
nightly behavior should use the `channel` attribute and can make further
inferences by `iso_date` if they need to know if they are using a
version before or after a particular commit.
doc="The ISO date of the nightly or beta release (e.g. `2026-03-26`). Empty for stable releases.",
735
+
default="",
736
+
),
727
737
"linker": attr.label(
728
738
doc="The label to an explicit linker to use (e.g. rust-lld, ld, link-ld.exe, etc.). Linker binaries must be runnable in the exec configuration, so cfg = \"exec\" is used. To choose a linker based on the target platform, use a select() when providing this attribute. The select() will be evaluated against the target platform before the exec transition is applied, allowing platform-specific linker selection while ensuring the selected linker is built for the exec platform.",
729
739
cfg="exec",
@@ -844,7 +854,7 @@ rust_toolchain = rule(
844
854
),
845
855
),
846
856
"version": attr.string(
847
-
doc="The version of the Rust compiler. (E.g. `1.94.1`, nightly/2026-03-26`)",
857
+
doc="The version of the Rust compiler (e.g. `1.94.1`).",
0 commit comments