Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/actions/build-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ runs:
shell: bash
run: rm -v target-llvm/target-final/lib/libstdc++.a

# Consequence of the shared libstdc++ above: rustc loads proc-macros with
# the default Windows DLL search order, where the application dir —
# rustc's sysroot bin/ — beats PATH. The windows-gnu dist ships a stale
# libwinpthread-1.dll there (imported by nothing in bin/; rust-lld has
# its own copy under rustlib/), lacking the mingw-w64 v14 64-bit-time
# symbols that GCC 16's shared libstdc++-6.dll needs, so loading any
# C++-linking proc-macro (melior-macro via tblgen) fails with E0463.
# Drop it so the dependency resolves to MSYS2's copy via PATH. -f: the
# step self-noops (and can be deleted) once rust ships mingw-w64 >= v14.
- name: Drop rustc's stale libwinpthread (Windows)
if: runner.os == 'Windows' && inputs.llvm == 'true'
shell: bash
run: rm -fv "$(rustc --print sysroot)/bin/libwinpthread-1.dll"

- name: Build solc
if: inputs.solc == 'true'
uses: ./.github/actions/build-solc
Expand Down
Loading