Skip to content

Commit 90276c1

Browse files
committed
Rust version policy: Clarify CI paragraph now that time has passed
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 98d27c9 commit 90276c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rust-version-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ For the moment, we cannot guarantee newer Rust versions will always work due to
88

99
To ameliorate that, the kernel is now being [build-tested](https://rustc-dev-guide.rust-lang.org/tests/rust-for-linux.html) in Rust's pre-merge CI. That is, every change that is attempting to land into the Rust compiler is tested against the kernel, and it is merged only if it passes. Similarly, the `bindgen` tool is also [build-testing](https://github.com/rust-lang/rust-bindgen/pull/2851) the kernel in their pre-merge CI.
1010

11-
Thus, with the pre-merge CIs in place, those projects hope to avoid unintentional changes to Rust and `bindgen` that break the kernel. This means that, in general, apart from intentional changes on their side (that we will need to workaround conditionally on our side), the upcoming Rust and `bindgen` versions should generally work. This applies to beta and nightly versions of Rust as well.
11+
Thus, with the pre-merge CIs in place, those projects hope to avoid unintentional changes to Rust and `bindgen` that break the kernel. This means that, apart from intentional changes on their side (that we work around conditionally on our side as needed), the upcoming Rust and `bindgen` versions should generally work. This applies to beta and nightly versions of Rust as well.
1212

1313
In addition, getting Linux to build on stable Rust has been a "flagship goal" of the Rust project for [2024H2](https://rust-lang.github.io/rust-project-goals/2024h2/rfl_stable.html), [2025H1](https://rust-lang.github.io/rust-project-goals/2025h1/rfl.html), 2025H2 ([language](https://rust-lang.github.io/rust-project-goals/2025h2/Rust-for-Linux-language.html), [compiler](https://rust-lang.github.io/rust-project-goals/2025h2/Rust-for-Linux-compiler.html)) and 2026 ([roadmap](https://rust-lang.github.io/rust-project-goals/2026/roadmap-rust-for-linux.html) and the individual project goals linked there, e.g. [compiler features](https://rust-lang.github.io/rust-project-goals/2026/rust-for-linux-compiler-features.html)).
1414

0 commit comments

Comments
 (0)