Rust in the 6.2 kernel
Rust in the 6.2 kernel
Posted Nov 17, 2022 22:57 UTC (Thu) by ssokolow (guest, #94568)In reply to: Rust in the 6.2 kernel by djc
Parent article: Rust in the 6.2 kernel
I suspect it has to do with accessing them through core::ffi::CStr and core::ffi::CString being an experimental/nightly-only feature (core_c_str) and them wanting to get to compatibility with stable compilers as quickly as possible.
It wouldn't surprise me if this contributes to the stabilization of the core_c_str feature.
Posted Nov 17, 2022 23:00 UTC (Thu)
by ssokolow (guest, #94568)
[Link]
It's still possible that they're duplicating it to keep compatibility with earlier revisions of the Rust compiler that distros may be packaging though.
Posted Nov 17, 2022 23:02 UTC (Thu)
by ssokolow (guest, #94568)
[Link]
Correction: I forgot to update my Dash/Zeal docset. Rust in the 6.2 kernel
core_c_str got stabilized in 1.64.
Correction: ...and "core::ffi::CString"? It's an allocating thing. I clearly need to go to sleep right now.
Rust in the 6.2 kernel
