Skip to content

MINGW and WASI compile fixes (from YosysHQ fork)#477

Merged
alanminko merged 2 commits intoberkeley-abc:masterfrom
YosysHQ:wasi_upstream
Feb 1, 2026
Merged

MINGW and WASI compile fixes (from YosysHQ fork)#477
alanminko merged 2 commits intoberkeley-abc:masterfrom
YosysHQ:wasi_upstream

Conversation

@mmicko
Copy link
Contributor

@mmicko mmicko commented Jan 28, 2026

Adds a proper guard for pthread on mingw that works correctly for C and C++ compilers (#if defined(_WIN32) && !defined(__MINGW32__))
Also guards are fixed for nanosleep since that one exists on mingw.

Upstreaming recent compile fixes so all works on WASI platform as well.
Note that sys/wait.h was removed on couple of places since nothing from it was used and it does not exist on this platform

@mmicko mmicko changed the title WASI compile fixes (from YosysHQ fork) MINGW and WASI compile fixes (from YosysHQ fork) Jan 29, 2026
@alanminko alanminko merged commit 5fd7c57 into berkeley-abc:master Feb 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants