On Thu, Feb 19, 2026 at 4:02 AM John Hubbard <[email protected]> wrote: > > That doesn't compile on rustc 1.78.0: > > error[E0658]: inline-const is experimental > --> drivers/gpu/nova-core/num.rs:225:5 > | > 225 | const { core::assert!(ALIGN.is_power_of_two(), "ALIGN must be a > power of two") }; > | ^^^^^ > | > = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> > for more information > = help: add `#![feature(inline_const)]` to the crate attributes to enable > = note: this compiler was built on 2024-04-29; consider upgrading it if > it is out of date > > error: aborting due to 1 previous error > > For more information about this error, try `rustc --explain E0658`.
Please feel free to add `inline_const` to `rust_allowed_features` in `scripts/Makefile.build`. We are going to do it here: https://lore.kernel.org/rust-for-linux/[email protected]/ Cheers, Miguel
