|
|
Log in / Subscribe / Register

Rust in the 6.2 kernel

Rust in the 6.2 kernel

Posted Nov 17, 2022 21:45 UTC (Thu) by tux3 (subscriber, #101245)
In reply to: Rust in the 6.2 kernel by tialaramex
Parent article: Rust in the 6.2 kernel

>the UTF-8 promise which holds for all Rust strings including CStr I believe

CStr and CString only seem to promise to be NUL-terminated, I believe any valid char* should make a valid &CStr (which explains why I rememberd &CStr as _not_ cheap to convert to &str)


to post comments


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