J
jeremy
3 minutes
The kernel does not accept just any Rust compiler. It names a minimum version, currently 1.85, chosen to match what mainstream Linux distributions ship so that anyone can build the kernel with the compiler they already have. The kernel also still relies on a few unfinished compiler features, which it switches on explicitly rather than requiring an unstable compiler. This is why you may be told your compiler is too old, and why you cannot simply use the newest experimental features you read about.