Enable debug assertions on CI

Fixes #1314
This commit is contained in:
bjorn3 2022-12-16 10:38:46 +00:00
parent 91655428f9
commit 14ca1df478

View File

@ -25,6 +25,8 @@ pub(crate) fn build_backend(
// Disabling incr comp reduces cache size and incr comp doesn't save as much on CI anyway
cmd.env("CARGO_BUILD_INCREMENTAL", "false");
cmd.env("CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS", "true");
}
if use_unstable_features {