4 ms·
> The statement that Rust has no UB does not make sense because Rust has no specification, and all behavior is defined by the default implementation. It is in
by rascul 2y ago
> The statement that Rust has no UB does not make sense because Rust has no specification, and all behavior is defined by the default implementation.
It is in the reference.
https://doc.rust-lang.org/reference/behavior-considered-undefined.html https://doc.rust-lang.org/reference/behavior-considered-unde...