Skip to content

Commit 827c04a

Browse files
committed
rust: Enable const_mut_refs feature for the kernel crate
Needed by the rust-for-linux/rust module_param module. Signed-off-by: Asahi Lina <[email protected]>
1 parent 088e13c commit 827c04a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/kernel/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#![no_std]
1515
#![feature(allocator_api)]
1616
#![feature(coerce_unsized)]
17+
#![feature(const_mut_refs)]
1718
#![feature(core_ffi_c)]
1819
#![feature(dispatch_from_dyn)]
1920
#![feature(generic_associated_types)]

0 commit comments

Comments
 (0)