diff --git a/build_system/build_backend.rs b/build_system/build_backend.rs index 4b740fa2db6..d9db1d109c2 100644 --- a/build_system/build_backend.rs +++ b/build_system/build_backend.rs @@ -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"); } }