@@ -202,10 +202,10 @@ test-linux-stable:
202202 variables :
203203 # Enable debug assertions since we are running optimized builds for testing
204204 # but still want to have debug assertions.
205- RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
205+ RUSTFLAGS : " -C debug -assertions -D warnings "
206206 RUST_BACKTRACE : 1
207207 WASM_BUILD_NO_COLOR : 1
208- WASM_BUILD_RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
208+ WASM_BUILD_RUSTFLAGS : " -C debug -assertions -D warnings "
209209 # Ensure we run the UI tests.
210210 RUN_UI_TESTS : 1
211211 # needed for rusty-cachier to keep cache in test-linux-stable folder and not in test-linux-stable-1/3
@@ -243,7 +243,6 @@ test-frame-support:
243243 # Ensure we run the UI tests.
244244 RUN_UI_TESTS : 1
245245 script :
246- - echo $RUSTFLAGS
247246 - rusty-cachier snapshot create
248247 - cat /cargo_target_dir/debug/.fingerprint/memory_units-759eddf317490d2b/lib-memory_units.json || true
249248 - time cargo test --verbose --locked -p frame-support-test --features=frame-feature-testing,no-metadata-docs --manifest-path ./frame/support/test/Cargo.toml --test pallet
@@ -261,10 +260,10 @@ test-linux-stable-extra:
261260 variables :
262261 # Enable debug assertions since we are running optimized builds for testing
263262 # but still want to have debug assertions.
264- RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
263+ RUSTFLAGS : " -C debug -assertions -D warnings "
265264 RUST_BACKTRACE : 1
266265 WASM_BUILD_NO_COLOR : 1
267- WASM_BUILD_RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
266+ WASM_BUILD_RUSTFLAGS : " -C debug -assertions -D warnings "
268267 # Ensure we run the UI tests.
269268 RUN_UI_TESTS : 1
270269 script :
@@ -286,10 +285,10 @@ quick-benchmarks:
286285 variables :
287286 # Enable debug assertions since we are running optimized builds for testing
288287 # but still want to have debug assertions.
289- RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
288+ RUSTFLAGS : " -C debug -assertions -D warnings "
290289 RUST_BACKTRACE : " full"
291290 WASM_BUILD_NO_COLOR : 1
292- WASM_BUILD_RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
291+ WASM_BUILD_RUSTFLAGS : " -C debug -assertions -D warnings "
293292 script :
294293 - rusty-cachier snapshot create
295294 - time cargo run --locked --release --features runtime-benchmarks -- benchmark pallet --execution wasm --wasm-execution compiled --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
@@ -305,7 +304,7 @@ test-frame-examples-compile-to-wasm:
305304 RUSTY_CACHIER_TOOLCHAIN : nightly
306305 # Enable debug assertions since we are running optimized builds for testing
307306 # but still want to have debug assertions.
308- RUSTFLAGS : " -Cdebug -assertions=y "
307+ RUSTFLAGS : " -C debug -assertions"
309308 RUST_BACKTRACE : 1
310309 script :
311310 - rusty-cachier snapshot create
@@ -324,10 +323,10 @@ test-linux-stable-int:
324323 variables :
325324 # Enable debug assertions since we are running optimized builds for testing
326325 # but still want to have debug assertions.
327- RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
326+ RUSTFLAGS : " -C debug -assertions -D warnings "
328327 RUST_BACKTRACE : 1
329328 WASM_BUILD_NO_COLOR : 1
330- WASM_BUILD_RUSTFLAGS : " -Cdebug -assertions=y -Dwarnings "
329+ WASM_BUILD_RUSTFLAGS : " -C debug -assertions -D warnings "
331330 # Ensure we run the UI tests.
332331 RUN_UI_TESTS : 1
333332 script :
@@ -373,7 +372,7 @@ test-full-crypto-feature:
373372 RUSTY_CACHIER_TOOLCHAIN : nightly
374373 # Enable debug assertions since we are running optimized builds for testing
375374 # but still want to have debug assertions.
376- RUSTFLAGS : " -Cdebug -assertions=y "
375+ RUSTFLAGS : " -C debug -assertions"
377376 RUST_BACKTRACE : 1
378377 script :
379378 - rusty-cachier snapshot create
0 commit comments