diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9f3e2a9..67dda4b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -105,7 +105,7 @@ jobs: run: sudo ./ci-scripts/install-deps.sh - name: Build - run: ${{ env.CTOOL }} ${{ env.TOOLCHAIN }} build ${{ env.CARGS }} + run: ${{ env.CTOOL }} build ${{ env.CARGS }} - name: Get output shell: bash diff --git a/ci-scripts/compile-settings.jq b/ci-scripts/compile-settings.jq index 676bc105..ae905cf0 100644 --- a/ci-scripts/compile-settings.jq +++ b/ci-scripts/compile-settings.jq @@ -1,6 +1,5 @@ if $for_release then { output: "release", - toolchain: "+nightly", profile: "release", # Use build-std to build a std library optimized for size and abort immediately on abort, # so that format string for `unwrap`/`expect`/`unreachable`/`panic` can be optimized out. @@ -8,7 +7,6 @@ if $for_release then { features: ($matrix.release_features // []), } else { output: "debug", - toolchain: "+stable", profile: "dev", args: ($matrix.debug_build_args // ""), features: ($matrix.debug_features // ["rustls", "fancy-with-backtrace"]), @@ -23,7 +21,6 @@ if $for_release then { { CBIN: (if ($matrix.target | test("windows")) then "cargo-binstall.exe" else "cargo-binstall" end), CTOOL: (if ($matrix."use-cross" // false) then "cross" else "cargo" end), - TOOLCHAIN: .toolchain, COUTPUT: .output, CARGS: "--target \($matrix.target) --profile \(.profile) \(.features) \(.args)", }