From 5e8143b0d90b9ec599e27662ea2f3eb6ab0a9bc6 Mon Sep 17 00:00:00 2001 From: Miguel Ojeda Date: Tue, 11 Jun 2024 18:49:45 +0200 Subject: [PATCH] Unstable features: add "Rust for Linux in the Rust pre-merge CI" section Signed-off-by: Miguel Ojeda --- src/Unstable-features.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Unstable-features.md b/src/Unstable-features.md index a3b3983..a741f9f 100644 --- a/src/Unstable-features.md +++ b/src/Unstable-features.md @@ -32,6 +32,16 @@ Moreover, most of the features are only allowed within the `kernel` crate, i.e. If you would like to use a new Rust unstable feature in the kernel, then please [contact us](Contact.md). +## Rust for Linux in the Rust pre-merge CI + +Rust for Linux is currently being built-tested in Rust's pre-merge CI, i.e. the process that checks every change that is attempting to land into the Rust project in order to always keep it in a valid state. + +This allows both Rust for Linux and the Rust project to catch very early any unexpected changes that would break the kernel's usage of unstable features, as well as any other change that may affect it. + +The CI job may still need to be temporarily disabled for different reasons, but the intention is to help bring Rust for Linux into stable Rust. + +Thanks to the Rust project for adding the Linux kernel to their CI! + ### `alloc` (older releases) [`alloc`](https://doc.rust-lang.org/alloc/) is part of the Rust standard library and its implementation uses many unstable features. Normally, this library (as well as [`core`](https://doc.rust-lang.org/core/) and others) is provided by the compiler, and thus those unstable features do not break users' code.