Rust and UB
Rust and UB
Posted Aug 17, 2024 17:32 UTC (Sat) by pbonzini (subscriber, #60935)In reply to: Rust and UB by ralfj
Parent article: Standards for use of unsafe Rust in the kernel
> that *sounds* like something that the codegen backend of a compiler should take care of
Indeed, but neither GCC nor LLVM even try, as far as I am aware of.
I will check my sources more on the compiler fence vs thread fence issue.
