Enable overflow-checks on CI

Unlike rustc with cargo debug-assertions = true doesn't imply overflow-checks = true
This commit is contained in:
bjorn3 2023-05-22 18:35:56 +00:00
parent 6900c9943d
commit 24f1569c85

View File

@ -28,6 +28,7 @@ pub(crate) fn build_backend(
if !is_ci_opt() {
cmd.env("CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS", "true");
cmd.env("CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS", "true");
}
}