Context: For our incoming use of zerocopy and zerocopy-derive in the Linux kernel, I only needed a couple small patches to adapt the crates. It would be nice (but they are not blockers at the moment) if we could have these upstream to simplify upgrades later on.
The second most important one is #2880, which may get solved via upstream Rust's issue: rust-lang/rust#151025.
Otherwise, we could instead use another prefix/identifier that is ASCII-only, or perhaps conditionally via a cfg for the Linux kernel and other projects that deny non_ascii_idents.
Please see https://lore.kernel.org/rust-for-linux/20260602172920.30342-16-ojeda@kernel.org/ for the couple lines Linux kernel patch that works around the issue there.
Of course, this may be best merged with the existing issue above.
Context: For our incoming use of
zerocopyandzerocopy-derivein the Linux kernel, I only needed a couple small patches to adapt the crates. It would be nice (but they are not blockers at the moment) if we could have these upstream to simplify upgrades later on.The second most important one is #2880, which may get solved via upstream Rust's issue: rust-lang/rust#151025.
Otherwise, we could instead use another prefix/identifier that is ASCII-only, or perhaps conditionally via a
cfgfor the Linux kernel and other projects that denynon_ascii_idents.Please see https://lore.kernel.org/rust-for-linux/20260602172920.30342-16-ojeda@kernel.org/ for the couple lines Linux kernel patch that works around the issue there.
Of course, this may be best merged with the existing issue above.