diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f72fa5..ce837ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,9 @@ jobs: if: contains(matrix.os, 'windows') run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV - name: Add Build target - run: rustup target add ${{ env.TARGET_TRIPLET }} + run: | + cd native/ + rustup target add ${{ env.TARGET_TRIPLET }} - uses: Swatinem/rust-cache@v2 with: workspaces: ./native/ diff --git a/native/rust-toolchain.toml b/native/rust-toolchain.toml new file mode 100644 index 0000000..b35cb44 --- /dev/null +++ b/native/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "1.73.0" +components = [ "rustfmt", "clippy" ] +profile = "default" +