Re:The Rust Calling Convention We Deserve
by anonymoushn on Saturday April 20, 2024 @04:34PM
(#40100800)
I agree, one should put asm inside of the unsafe block instead. Because of the unfortunate fact about LLVM IR mentioned many comments above, the raw div in LLVM IR is allowed to be treated the same as if it was preceded with `if (divisor == 0) unreachable;`, which is a path to disaster.
[ Parent
| on HN ]
There are no comments on this comment yet.