rust: upgrade to Rust 1.71.1
This is the second upgrade to the Rust toolchain, from 1.68.2 to 1.71.1 (i.e. the latest). See the upgrade policy [1] and the comments on the first upgrade in commit 3ed03f4d ("rust: upgrade to Rust 1.68.2"). # Unstable features No unstable features (that we use) were stabilized. Therefore, the only unstable feature allowed to be used outside the `kernel` crate is still `new_uninit`, though other code to be upstreamed may increase the list. Please see [2] for details. # Required changes For the upgrade, this patch requires the following changes: - Removal of the `__rust_*` allocator functions, together with the addition of the `__rust_no_alloc_shim_is_unstable` static. See [3] for details. - Some more compiler builtins added due to `<f{32,64}>::midpoint()` that got added in Rust 1.71 [4]. # `alloc` upgrade and reviewing The vast majority of changes are due to our `alloc` fork being upgraded at once. There are two kinds of changes to be aware of:...
Showing
- Documentation/process/changes.rst 1 addition, 1 deletionDocumentation/process/changes.rst
- rust/Makefile 2 additions, 2 deletionsrust/Makefile
- rust/alloc/alloc.rs 12 additions, 8 deletionsrust/alloc/alloc.rs
- rust/alloc/boxed.rs 64 additions, 67 deletionsrust/alloc/boxed.rs
- rust/alloc/lib.rs 25 additions, 23 deletionsrust/alloc/lib.rs
- rust/alloc/raw_vec.rs 12 additions, 6 deletionsrust/alloc/raw_vec.rs
- rust/alloc/slice.rs 33 additions, 10 deletionsrust/alloc/slice.rs
- rust/alloc/vec/drain.rs 3 additions, 5 deletionsrust/alloc/vec/drain.rs
- rust/alloc/vec/drain_filter.rs 3 additions, 5 deletionsrust/alloc/vec/drain_filter.rs
- rust/alloc/vec/into_iter.rs 24 additions, 11 deletionsrust/alloc/vec/into_iter.rs
- rust/alloc/vec/mod.rs 19 additions, 65 deletionsrust/alloc/vec/mod.rs
- rust/compiler_builtins.rs 7 additions, 0 deletionsrust/compiler_builtins.rs
- rust/kernel/allocator.rs 2 additions, 49 deletionsrust/kernel/allocator.rs
- scripts/min-tool-version.sh 1 addition, 1 deletionscripts/min-tool-version.sh
Please register or sign in to comment