diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-16 10:38:46 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-16 11:27:21 +0000 |
| commit | 14ca1df478ac9c0a7899530eb581362f37519ad3 (patch) | |
| tree | 7c44d126ddc59f624f2168a77a5c0b93a2a3bbaa | |
| parent | 91655428f905b35c4a14d38562113eb768252fdf (diff) | |
| download | rust-14ca1df478ac9c0a7899530eb581362f37519ad3.tar.gz rust-14ca1df478ac9c0a7899530eb581362f37519ad3.zip | |
Enable debug assertions on CI
Fixes #1314
| -rw-r--r-- | build_system/build_backend.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_system/build_backend.rs b/build_system/build_backend.rs index fde8ef424cc..16b43c5fc85 100644 --- a/build_system/build_backend.rs +++ b/build_system/build_backend.rs @@ -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 { |
