diff --git a/.github/workflows/remoteBuild.yml b/.github/workflows/remoteBuild.yml index a964d61..673dd8c 100644 --- a/.github/workflows/remoteBuild.yml +++ b/.github/workflows/remoteBuild.yml @@ -55,6 +55,7 @@ jobs: uses: actions-rs/toolchain@v1 with: toolchain: nightly + target: x86_64-pc-windows-gnu override: true components: clippy - name: Install LLVM and dependencies (Windows) @@ -82,6 +83,7 @@ jobs: run: | cargo build --release --target x86_64-pc-windows-gnu env: + RUSTFLAGS: -C link-arg=-fuse-ld=C:\msys64\mingw64\x86_64-w64-mingw32\bin\ld.exe CFLAGS: -static-libstdc++ CXXFLAGS: -static-libstdc++ LLVM_SYS_181_PREFIX: C:\msys64\mingw64