summaryrefslogtreecommitdiff
path: root/rust/Makefile
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2026-04-08 10:44:46 +0200
committerMiguel Ojeda <ojeda@kernel.org>2026-04-08 10:44:46 +0200
commit8a23051ed8584215b22368e9501f771ef98f0c1d (patch)
tree6702fa6bff59519276e99bca544d65212aeedb77 /rust/Makefile
parentb06b348e855383ed80e041299f3925cdd7dff3da (diff)
parent09808839c7aa6695ceff5cd822c18b0d9550184d (diff)
Merge tag 'pin-init-v7.1' of https://github.com/Rust-for-Linux/linux into rust-next
Pull pin-init updates from Benno Lossin: - Replace the 'Zeroable' impls for 'Option<NonZero*>' with impls of 'ZeroableOption' for 'NonZero*'. - Improve feature gate handling for unstable features. - Declutter the documentation of implementations of 'Zeroable' for tuples. - Replace uses of 'addr_of[_mut]!' with '&raw [mut]'. * tag 'pin-init-v7.1' of https://github.com/Rust-for-Linux/linux: rust: pin-init: replace `addr_of_mut!` with `&raw mut` rust: pin-init: implement ZeroableOption for NonZero* integer types rust: pin-init: doc: de-clutter documentation with fake-variadics rust: pin-init: properly document let binding workaround rust: pin-init: build: simplify use of nightly features
Diffstat (limited to 'rust/Makefile')
-rw-r--r--rust/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/Makefile b/rust/Makefile
index bfa1b77c9671..b361bfedfdf0 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -119,7 +119,7 @@ syn-flags := \
$(call cfgs-to-flags,$(syn-cfgs))
pin_init_internal-cfgs := \
- kernel
+ kernel USE_RUSTC_FEATURES
pin_init_internal-flags := \
--extern proc_macro2 \
@@ -128,7 +128,7 @@ pin_init_internal-flags := \
$(call cfgs-to-flags,$(pin_init_internal-cfgs))
pin_init-cfgs := \
- kernel
+ kernel USE_RUSTC_FEATURES
pin_init-flags := \
--extern pin_init_internal \