logoalt Hacker News

aw1621107 • today at 6:27 AM • 0 replies • view on HN

Not in the same way contracts were/are able to be disabled. There's no command line flag or build mode to disable the borrow checker or assert!()s or bounds checks or etc. There is debug_assert!() which is disabled in release mode, but the original code author decides when and where to use that.