You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Rust-version-policy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ For the moment, we cannot guarantee newer Rust versions will always work due to
8
8
9
9
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.
10
10
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.
12
12
13
13
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)).
0 commit comments