|
|
Subscribe / Log in / New account

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.


to post comments

Rust in the 6.2 kernel

Posted Nov 17, 2022 23:00 UTC (Thu) by ssokolow (guest, #94568) [Link]

Correction: I forgot to update my Dash/Zeal docset. core_c_str got stabilized in 1.64.

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.

Rust in the 6.2 kernel

Posted Nov 17, 2022 23:02 UTC (Thu) by ssokolow (guest, #94568) [Link]

Correction: ...and "core::ffi::CString"? It's an allocating thing. I clearly need to go to sleep right now.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds