Rust
Rust
Posted Jan 22, 2022 21:32 UTC (Sat) by tialaramex (subscriber, #21167)In reply to: Rust by plugwash
Parent article: The kernel radar: folios, multi-generational LRU, and Rust
It's future proofed in that the assumption is some day Rust will have a way to disable or sidestep this, and at that point Rust for Linux can just ship the normal core library (in this respect).
The fact Rust's standard library relies on Rust's nightly features is orthogonal, this configuration parameter isn't relying on yet-to-stabilise feature, it's just that the code in core wants to do floating point maths, and Linux doesn't want that to be a possibility. In that specific case just ripping out the offending code is an effective solution, you could do it once for each Linux release and while somewhat tiresome it's not unmanageable.
