diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1f760130be8..55689a4215c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,7 +132,7 @@ test-linux-stable: &test RUST_TOOLCHAIN: stable # Enable debug assertions since we are running optimized builds for testing # but still want to have debug assertions. - RUSTFLAGS: -Cdebug-assertions=y + RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" TARGET: native script: - time cargo test --all --release --verbose --locked --features runtime-benchmarks