Rollup merge of #129416 - workingjubilee:partial-move-from-stabilization, r=dtolnay

library: Move unstable API of new_uninit to new features

- `new_zeroed` variants move to `new_zeroed_alloc`
- the `write` fn moves to `box_uninit_write`

The remainder will be stabilized in upcoming patches, as it was decided to only stabilize `uninit*` and `assume_init`.
This commit is contained in:
Matthias Krüger 2024-08-25 16:51:04 +02:00 committed by GitHub
commit 0e2523eaf8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 20 additions and 11 deletions

View file

@ -2,7 +2,7 @@
set -euo pipefail
LINUX_VERSION=v6.11-rc1
LINUX_VERSION=4c7864e81d8bbd51036dacf92fb0a400e13aaeee
# Build rustc, rustdoc and cargo
../x.py build --stage 1 library rustdoc
@ -28,7 +28,7 @@ rm -rf linux || true
# Download Linux at a specific commit
mkdir -p linux
git -C linux init
git -C linux remote add origin https://github.com/torvalds/linux.git
git -C linux remote add origin https://github.com/Rust-for-Linux/linux.git
git -C linux fetch --depth 1 origin ${LINUX_VERSION}
git -C linux checkout FETCH_HEAD