diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6f569e42a..4704d243f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -283,6 +283,7 @@ jobs: with: toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} + components: rust-src override: true - name: Export variables @@ -295,7 +296,7 @@ jobs: with: use-cross: false command: test - args: --test tsan --target=${{ matrix.target }} --features=${{ matrix.features }} ${{ matrix.buildtype }} -- --test-threads=1 + args: -Zbuild-std --test tsan --target=${{ matrix.target }} --features=${{ matrix.features }} ${{ matrix.buildtype }} -- --test-threads=1 # Run cfail tests on MSRV testcfail: