Skip to content

Conversation

indutny
Copy link
Member

@indutny indutny commented Apr 19, 2025

Add support for building and testing wasm target:

WASM=/opt/homebrew/Cellar/emscripten/4.0.6/libexec/llvm/bin/clang \
  WASM_CFLAGS='-lc -nodefaultlibs --target=wasm32-wasi \
  --sysroot=/opt/homebrew/Cellar/wasi-libc/25/share/wasi-sysroot' \
    npm test

cc @mcollina @nodejs/llhttp

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina
Copy link
Member

CI is failing

Add support for building and testing wasm target:
```
WASM=/opt/homebrew/Cellar/emscripten/4.0.6/libexec/llvm/bin/clang \
  WASM_CFLAGS='-lc -nodefaultlibs --target=wasm32-wasi \
  --sysroot=/opt/homebrew/Cellar/wasi-libc/25/share/wasi-sysroot' \
    npm test
```
@indutny indutny force-pushed the feature/wasm-support branch from 2d7b7bf to 69c1d43 Compare April 20, 2025 03:13
@indutny indutny merged commit a2a3892 into nodejs:main Apr 20, 2025
4 checks passed
@indutny indutny deleted the feature/wasm-support branch April 20, 2025 03:18
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