diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07df901b3..2a2a50127 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,11 +23,15 @@ jobs: if: matrix.os == 'windows-latest' - name: Install llvm-nm (Windows) - shell: bash run: | rustup update stable rustup default stable rustup component add llvm-tools-preview + if: matrix.os == 'windows-latest' + + - name: Register llvm-nm in environment (Windows) + shell: bash + run: | echo "WASM_NM=$(rustc --print sysroot|sed 's|C:|/c|'|sed 's|\\|/|g')/lib/rustlib/x86_64-pc-windows-msvc/bin/llvm-nm.exe" >> $GITHUB_ENV if: matrix.os == 'windows-latest'