[PATCH v2 4/5] print: use new #[export] macro for rust_fmt_argument

Alice Ryhl aliceryhl at google.com
Fri Feb 28 17:11:01 UTC 2025


On Fri, Feb 28, 2025 at 4:37 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> On Fri, Feb 28, 2025 at 12:39:33PM +0000, Alice Ryhl wrote:
> > This moves the rust_fmt_argument function over to use the new #[export]
> > macro, which will verify at compile-time that the function signature
> > matches what is in the header file.
>
> ...
>
> > I'm not sure which header file to put this in. Any advice?
>
> I believe you found the right place.

Thanks for checking!

Alice


More information about the dri-devel mailing list