Skip to content

Commit 24f1569

Browse files
committed
Enable overflow-checks on CI
Unlike rustc with cargo debug-assertions = true doesn't imply overflow-checks = true
1 parent 6900c99 commit 24f1569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_system/build_backend.rs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pub(crate) fn build_backend(
2828

2929
if !is_ci_opt() {
3030
cmd.env("CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS", "true");
31+
cmd.env("CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS", "true");
3132
}
3233
}
3334

0 commit comments

Comments
 (0)