diff --git a/.github/workflows/build_and_test_reusable.yaml b/.github/workflows/build_and_test_reusable.yaml index db45cd1caf3..4aab3438a87 100644 --- a/.github/workflows/build_and_test_reusable.yaml +++ b/.github/workflows/build_and_test_reusable.yaml @@ -49,6 +49,8 @@ jobs: QT_QPA_PLATFORM: offscreen RUSTFLAGS: -D warnings CARGO_PROFILE_DEV_DEBUG: 0 + # Build slint-compiler in release to make test-driver-rust's build-time feature build faster. + CARGO_PROFILE_DEV_BUILD_OVERRIDE_OPT_LEVEL: 3 CARGO_INCREMENTAL: false RUST_BACKTRACE: 1 SLINT_EMIT_DEBUG_INFO: 1