linux/rust/macros
Tamir Duberstein bf724be7f0 rust: macros: replace `kernel::c_str!` with C-Strings
C-String literals were added in Rust 1.77. Replace instances of
`kernel::c_str!` with C-String literals where possible.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://patch.msgid.link/20251113-core-cstr-cstrings-v3-6-411b34002774@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-11-17 00:59:21 +01:00
..
concat_idents.rs
export.rs rust: add #[export] macro 2025-03-09 20:52:46 +01:00
fmt.rs rust: support formatting of foreign types 2025-10-22 07:15:31 +02:00
helpers.rs rust: kunit: support KUnit-mapped `assert!` macros in `#[test]`s 2025-05-27 20:07:09 +02:00
kunit.rs rust: kunit: allow `cfg` on `test`s 2025-09-16 08:26:56 -06:00
lib.rs rust: support formatting of foreign types 2025-10-22 07:15:31 +02:00
module.rs rust: macros: replace `kernel::c_str!` with C-Strings 2025-11-17 00:59:21 +01:00
paste.rs rust: clean Rust 1.88.0's `clippy::uninlined_format_args` lint 2025-05-07 00:11:47 +02:00
quote.rs rust: support formatting of foreign types 2025-10-22 07:15:31 +02:00
vtable.rs rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`) 2023-08-09 21:15:07 +02:00