rust: enable the `pin_macro` feature
authorBenno Lossin <benno.lossin@proton.me>
Sat, 8 Apr 2023 12:25:18 +0000 (12:25 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 12 Apr 2023 16:41:04 +0000 (18:41 +0200)
commit2d19d369c0c6dade11b8e3448c158655dbaa7b77
tree024ea906928192d50e05949c3aa7c413df406788
parentef4dc4cc7001e9cce8a3b556362171648be9ad92
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 <benno.lossin@proton.me>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20230408122429.1103522-2-y86-dev@protonmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/lib.rs
scripts/Makefile.build