Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: Enable the new_uninit feature for kernel and driver crates
The unstable new_uninit feature enables various library APIs to create uninitialized containers, such as `Box::assume_init()`. This is necessary to build abstractions that directly initialize memory at the target location, instead of doing copies through the stack. Will be used by the DRM scheduler abstraction in the kernel crate, and by field-wise initialization (e.g. using `place!()` or a future replacement macro which may itself live in `kernel`) in driver crates. See [1] [2] [3] for background information. [1] Rust-for-Linux/linux#879 [2] Rust-for-Linux/linux#2 [3] rust-lang/rust#63291 Signed-off-by: Asahi Lina <lina@asahilina.net>
- Loading branch information