Enable rust overflow checks in release mode, at least for now

We want to try and catch as much unexpected/non-deterministic behavior as we
can. We could run the CI explicitly in debug mode, but I think it makes sense to
always have overflow checks on in both debug/release modes everywhere, at least
for the duration of the codebase transition.
This commit is contained in:
Mahmoud Al-Qudsi 2023-02-20 13:11:29 -06:00
parent e3b04118b1
commit e616de544e

View File

@ -53,3 +53,6 @@ cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
#autocxx = { path = "../../autocxx" } #autocxx = { path = "../../autocxx" }
#autocxx-build = { path = "../../autocxx/gen/build" } #autocxx-build = { path = "../../autocxx/gen/build" }
#autocxx-bindgen = { path = "../../autocxx-bindgen" } #autocxx-bindgen = { path = "../../autocxx-bindgen" }
[profile.release]
overflow-checks = true