Enable overflow-checks on CI
Unlike rustc with cargo debug-assertions = true doesn't imply overflow-checks = true
This commit is contained in:
parent
6900c9943d
commit
24f1569c85
@ -28,6 +28,7 @@ pub(crate) fn build_backend(
|
|||||||
|
|
||||||
if !is_ci_opt() {
|
if !is_ci_opt() {
|
||||||
cmd.env("CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS", "true");
|
cmd.env("CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS", "true");
|
||||||
|
cmd.env("CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS", "true");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user