linux/rust/macros
Gary Guo be97f3c820 rust: kunit: use pin_init::zeroed instead of custom null value
The last null element can be created (constly) using `pin_init::zeroed`,
so prefer to use it instead of adding a custom way of building it.

Reviewed-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: David Gow <davidgow@google.com>
Link: https://patch.msgid.link/20260112170919.1888584-12-gary@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2026-01-28 13:44:17 +01:00
..
concat_idents.rs rust: macros: convert concat_idents! to use syn 2026-01-28 00:55:25 +01:00
export.rs rust: macros: convert #[export] to use syn 2026-01-28 00:55:25 +01:00
fmt.rs rust: macros: use quote! from vendored crate 2026-01-28 00:55:24 +01:00
helpers.rs rust: macros: convert concat_idents! to use syn 2026-01-28 00:55:25 +01:00
kunit.rs rust: kunit: use pin_init::zeroed instead of custom null value 2026-01-28 13:44:17 +01:00
lib.rs rust: macros: convert #[kunit_tests] macro to use syn 2026-01-28 13:43:36 +01:00
module.rs rust: macros: rearrange #[doc(hidden)] in module! macro 2026-01-28 13:44:17 +01:00
paste.rs rust: macros: use quote! from vendored crate 2026-01-28 00:55:24 +01:00
vtable.rs rust: macros: convert #[vtable] macro to use syn 2026-01-28 00:55:24 +01:00