ITADN

fix: support for --jitless

#716Pull Requestcyyynthia 创建于 2025-04-26
C
cyyynthiacommented
When running Node with `--jitless`, WebAssembly is unavailable. I have a (weird) benchmark-related use-case for it, but because of `es-module-lexer` it is currently not working. This PR makes the WebAssembly lexer import gated behind a check, so it gracefully falls back to the plain js implementation in this scenario. I also tucked in a workaround for an issue with node-gyp and node-pty, as well as upgrading pnpm. 😄
合并状态:未合并 关闭于 2025-04-29 2 条评论