diff options
author | Benno Lossin <[email protected]> | 2023-04-08 12:25:18 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-04-12 18:41:04 +0200 |
commit | 2d19d369c0c6dade11b8e3448c158655dbaa7b77 (patch) | |
tree | 024ea906928192d50e05949c3aa7c413df406788 /rust/kernel | |
parent | ef4dc4cc7001e9cce8a3b556362171648be9ad92 (diff) |
rust: enable the `pin_macro` feature
This feature enables the use of the `pin!` macro for the `stack_pin_init!`
macro. This feature is already stabilized in Rust version 1.68.
Signed-off-by: Benno Lossin <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/kernel')
-rw-r--r-- | rust/kernel/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs index 1118cd3e0b5f..518559a0767e 100644 --- a/rust/kernel/lib.rs +++ b/rust/kernel/lib.rs @@ -18,6 +18,7 @@ #![feature(dispatch_from_dyn)] #![feature(generic_associated_types)] #![feature(new_uninit)] +#![feature(pin_macro)] #![feature(receiver_trait)] #![feature(unsize)] |