Hacker News new | ask | show | jobs
by steveklabnik 1091 days ago
iirc it's `-C overflow-checks=y` to rustc or

  [profile.release]
  overflow-checks = false
in cargo.toml.

I would probably use the flags with RUSTFLAGS to make sure that it goes to all dependencies and not just the crate you're building, if what you're building has dependencies.

1 comments

Thanks!
… I just realized that second should have been true not false. Lol. Hope I didn’t lead you astray.