diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ecdc3b1824..8d2d5d06a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -360,12 +360,11 @@ jobs: New-Item -Path .cargo -ItemType Directory -Force $pwd_slash = echo "${PWD}" | % {$_ -replace '\\','/'} + echo "LIBRARY_PATH=`"${pwd_slash}/libgcc_mock`"" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo $LIBRARY_PATH @" [target.x86_64-pc-windows-gnu] linker = "x86_64-w64-mingw32.static.posix-gcc.exe" - - [env] - LIBRARY_PATH = "${pwd_slash}/libgcc_mock" "@ | Out-File -FilePath .cargo/config.toml -Encoding utf8 -Append ; env: RUST_TARGETS: ${{ join(matrix.config.rust-targets, ',') }}