On Sat, 2026-04-11 at 22:32 +0900, Alexandre Courbot wrote:
+macro_rules! impl_vmap_io_capable { + ($impl:ident, $ty:ty $(, $lifetime:lifetime )?) => {
How about taking a list of types as argument, so you don't need to invoke the macro once per supported primitive?
JFYI - the reason we don't do this is because of the #[cfg(CONFIG_64BIT)] macro - which would be a bit awkward to try to pass through the macro_rules! macro.