Skip to content

Commit ede1bcd

Browse files
David Tolnaymeta-codesync[bot]
authored andcommitted
Update platform010 & platform010-aarch64 symlinks
Summary: Release notes: https://blog.rust-lang.org/2026/05/28/Rust-1.96.0/ - Stabilized features: - `feature(assert_matches)` - Wasm targets no longer pass `--allow-undefined` to the linker ([rust#149868](rust-lang/rust#149868)) - Changes in the computation of *"private type in public interface"* - New ambiguities surfaced by `ambiguous_glob_imports` lint ([rust#114095](rust-lang/rust#114095)) - New warning on unneeded `#![feature(…)]` - New error on mismatched `-Zbranch-protection` between dependencies Reviewed By: ship-it-ship-it, diliop, opsound Differential Revision: D108384430 fbshipit-source-id: 60c3a5a98e7eabdff47eb1db213f28a29111c11d
1 parent 83b3d4e commit ede1bcd

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

app/buck2_external_cells/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// Internal stable rustc still treats `assert_matches` as unstable; OSS nightly has stabilized it
1212
// and denies the now-redundant feature gate.
1313
#![allow(stable_features)]
14-
#![feature(assert_matches)]
1514
#![feature(once_cell_try)]
1615

1716
use std::sync::Arc;

app/buck2_interpreter_for_build/src/attrs/coerce/attr_type/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl QueryAttrTypeExt for QueryAttrType {
8080
query
8181
.as_str()
8282
.substr_range(l)
83-
.map(|range| ((range.start, range.len()), p))
83+
.map(|range| ((range.start, range.end - range.start), p))
8484
.ok_or_else(|| internal_error!("Not found in query"))
8585
})
8686
.try_collect()?,

docs/getting_started/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Buck2 currently requires a nightly Rust toolchain. The simplest setup is via
4040
you. Once it's installed, build and install `buck2` directly from GitHub:
4141

4242
```bash
43-
rustup install nightly-2026-02-28
44-
cargo +nightly-2026-02-28 install --git https://github.com/facebook/buck2.git buck2
43+
rustup install nightly-2026-04-11
44+
cargo +nightly-2026-04-11 install --git https://github.com/facebook/buck2.git buck2
4545
```
4646

4747
This installs `buck2` into a suitable directory such as `$HOME/.cargo/bin`,

rust-toolchain

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
# has a dependency on buck2 git trunk.
1010
# * Update `../monarch/rust-toolchain` (one instance)
1111

12-
# @rustc_version: rustc 1.95.0-nightly (3a70d0349 2026-02-27)
13-
channel = "nightly-2026-02-28"
12+
# @rustc_version: rustc 1.96.0-nightly (02c7f9bec 2026-04-10)
13+
channel = "nightly-2026-04-11"
1414
components = ["llvm-tools-preview", "rust-src"]

0 commit comments

Comments
 (0)