[PATCH v3 4/5] print: use new #[export] macro for rust_fmt_argument
Alice Ryhl
aliceryhl at google.com
Mon Mar 3 09:49:09 UTC 2025
On Mon, Mar 3, 2025 at 10:46 AM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> On Mon, Mar 03, 2025 at 08:45:15AM +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.
>
> ...
>
> > extern bool no_hash_pointers;
> > int no_hash_pointers_enable(char *str);
> >
> > +/* Used for Rust formatting ('%pA'). */
>
> In case you need a new version, please drop a period at the end as this is the
> style used in the sprintf.h already.
Sure, I will remove the period if I send a new version.
Alice
More information about the dri-devel
mailing list