Re: [PATCH v3 5/5] panic_qr: use new #[export] macro

2025-03-03 Thread Jocelyn Falempe
On 03/03/2025 09:45, Alice Ryhl wrote: This validates at compile time that the signatures match what is in the header file. It highlights one annoyance with the compile-time check, which is that it can only be used with functions marked unsafe. If the function is not unsafe, then this error is e

[PATCH v3 5/5] panic_qr: use new #[export] macro

2025-03-03 Thread Alice Ryhl
This validates at compile time that the signatures match what is in the header file. It highlights one annoyance with the compile-time check, which is that it can only be used with functions marked unsafe. If the function is not unsafe, then this error is emitted: error[E0308]: `if` and `else` ha