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 most important one is avoiding the Display impls for floating point: please see https://lore.kernel.org/rust-for-linux/20260602172920.30342-11-ojeda@kernel.org/ for the single line Linux kernel patch that implements the idea there.
Essentially, the idea would be to have in upstream Rust a cfg similar to core's no_fp_fmt_parse which we would enable in our builds.
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 most important one is avoiding the
Displayimpls for floating point: please see https://lore.kernel.org/rust-for-linux/20260602172920.30342-11-ojeda@kernel.org/ for the single line Linux kernel patch that implements the idea there.Essentially, the idea would be to have in upstream Rust a
cfgsimilar tocore'sno_fp_fmt_parsewhich we would enable in our builds.