Skip to content

Commit

Permalink
Unstable features: add "Rust for Linux in the Rust pre-merge CI" section
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
ojeda committed Jun 28, 2024
1 parent b2f5db8 commit 5e8143b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Unstable-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5e8143b

Please sign in to comment.