diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91fc4156976..6c6503cb736 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,6 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v2 - - run: rustup toolchain install 1.46.0 && rustup default 1.46.0 - run: cargo install --version 0.30.0 cargo-make - run: cargo install --version 0.6.6 cargo-deny --no-default-features - run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} unit-tests diff --git a/packages/Cargo.toml b/packages/Cargo.toml index f1479851707..72ffa6fa833 100644 --- a/packages/Cargo.toml +++ b/packages/Cargo.toml @@ -76,3 +76,6 @@ members = [ [profile.dev] debug = false opt-level = 'z' + +[profile.dev.build-override] +opt-level = 'z'