3 ms·
> in rust, bounds checks are only available on debug builds This is not true - bounds checks are always enforced: https://play.rust-lang.org/?version=stable&mo
by wmanley 4y ago
> in rust, bounds checks are only available on debug builds
This is not true - bounds checks are always enforced: https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=78fc70d350419b2966b3bea9060e2aa2 https://play.rust-lang.org/?version=stable&mode=release&edit...
Maybe you're confusing it with signed overflow behaviour in Rust or bounds checks in Zig?