Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 14ca1df

Browse files
committedDec 16, 2022
Enable debug assertions on CI
Fixes rust-lang#1314
1 parent 9165542 commit 14ca1df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎build_system/build_backend.rs

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ pub(crate) fn build_backend(
2525

2626
// Disabling incr comp reduces cache size and incr comp doesn't save as much on CI anyway
2727
cmd.env("CARGO_BUILD_INCREMENTAL", "false");
28+
29+
cmd.env("CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS", "true");
2830
}
2931

3032
if use_unstable_features {

0 commit comments

Comments
 (0)
Please sign in to comment.