[PATCH 0/4] Check Rust signatures at compile time
Alice Ryhl
aliceryhl at google.com
Thu Feb 27 17:01:58 UTC 2025
Signed-off-by: Alice Ryhl <aliceryhl at google.com>
---
Alice Ryhl (4):
rust: fix signature of rust_fmt_argument
rust: add #[export] macro
print: use new #[export] macro for rust_fmt_argument
panic_qr: use new #[export] macro
drivers/gpu/drm/drm_panic.c | 5 -----
drivers/gpu/drm/drm_panic_qr.rs | 15 +++++++++++----
include/drm/drm_panic.h | 7 +++++++
include/linux/sprintf.h | 3 +++
lib/vsprintf.c | 3 ---
rust/bindings/bindings_helper.h | 4 ++++
rust/kernel/prelude.rs | 2 +-
rust/kernel/print.rs | 11 ++++++-----
rust/macros/export.rs | 25 +++++++++++++++++++++++++
rust/macros/helpers.rs | 19 ++++++++++++++++++-
rust/macros/lib.rs | 18 ++++++++++++++++++
rust/macros/quote.rs | 21 +++++++++++++++++++--
12 files changed, 112 insertions(+), 21 deletions(-)
---
base-commit: a64dcfb451e254085a7daee5fe51bf22959d52d3
change-id: 20250227-export-macro-9aa9f1016d8c
Best regards,
--
Alice Ryhl <aliceryhl at google.com>
More information about the dri-devel
mailing list