Hacker News new | ask | show | jobs
by nullc 1090 days ago
What is the one line? (I shall benchmark!)
1 comments

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.

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