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

2025-02-28 Thread Tamir Duberstein
On Fri, Feb 28, 2025 at 7:41 AM 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. > > Reviewed-by: Andreas Hindborg > Signed-off-by: Alice Ryhl

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

2025-02-28 Thread Alice Ryhl
On Fri, Feb 28, 2025 at 4:37 PM Andy Shevchenko wrote: > > On Fri, Feb 28, 2025 at 12:39:33PM +, 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 hea

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

2025-02-28 Thread Andy Shevchenko
On Fri, Feb 28, 2025 at 12:39:33PM +, 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. A

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

2025-02-28 Thread Alice Ryhl
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. Reviewed-by: Andreas Hindborg Signed-off-by: Alice Ryhl --- I'm not sure which header file to put this in. Any advice?