Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-40280: Add wasm32-emscripten and wasm32-wasi SOABI #32095

Merged
merged 1 commit into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Add SOABI ``wasm32-emscripten`` for Emscripten and ``wasm32-wasi`` for WASI
on 32bit WASM as well as ``wasm64`` counter parts.
16 changes: 16 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,22 @@ cat > conftest.c <<EOF
darwin
#elif defined(__VXWORKS__)
vxworks
#elif defined(__wasm32__)
# if defined(__EMSCRIPTEN__)
wasm32-emscripten
brettcannon marked this conversation as resolved.
Show resolved Hide resolved
# elif defined(__wasi__)
wasm32-wasi
# else
# error unknown wasm32 platform
# endif
#elif defined(__wasm64__)
# if defined(__EMSCRIPTEN)
wasm64-emscripten
# elif defined(__wasi__)
wasm64-wasi
# else
# error unknown wasm64 platform
# endif
#else
# error unknown platform triplet
#endif
Expand Down