We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pin_macro
1 parent ef4dc4c commit 2d19d36Copy full SHA for 2d19d36
rust/kernel/lib.rs
@@ -18,6 +18,7 @@
18
#![feature(dispatch_from_dyn)]
19
#![feature(generic_associated_types)]
20
#![feature(new_uninit)]
21
+#![feature(pin_macro)]
22
#![feature(receiver_trait)]
23
#![feature(unsize)]
24
scripts/Makefile.build
@@ -277,7 +277,7 @@ $(obj)/%.lst: $(src)/%.c FORCE
277
# Compile Rust sources (.rs)
278
# ---------------------------------------------------------------------------
279
280
-rust_allowed_features := core_ffi_c,new_uninit
+rust_allowed_features := core_ffi_c,new_uninit,pin_macro
281
282
rust_common_cmd = \
283
RUST_MODFILE=$(modfile) $(RUSTC_OR_CLIPPY) $(rust_flags) \
0 commit comments