Rust and UB
Rust and UB
Posted Aug 15, 2024 15:53 UTC (Thu) by pbonzini (subscriber, #60935)In reply to: Rust and UB by pbonzini
Parent article: Standards for use of unsafe Rust in the kernel
> Those probably would *also* be technically UB...
Mulling more about it—definitely not UB, and I think the synchronizes-with edges are also in place so it may be safe both in theory and in practice.
