swc: `@swc/wasm-typescript` is failing on some architectures

          @kdy1 it seems tests are failing on some architecture such as:
  • s390x
  • ppc64
19:22:06       code: 'ERR_ASSERTION'
19:22:06       name: 'AssertionError'
19:22:06       expected: ''
19:22:06       actual: |-
19:22:06         wasm://wasm/0072633a:1
19:22:06         
19:22:06         
19:22:06         RuntimeError: memory access out of bounds
19:22:06             at wasm://wasm/0072633a:wasm-function[1521]:0x1a6744
19:22:06             at wasm://wasm/0072633a:wasm-function[51]:0x60118
19:22:06             at wasm://wasm/0072633a:wasm-function[1264]:0x1a32e8
19:22:06             at module.exports.transformSync (node:internal/deps/swc/wasm:248:14)
19:22:06             at tsParse (node:internal/modules/helpers:310:18)
19:22:06             at node:internal/main/eval_string:27:3

_Originally posted by @marco-ippolito in https://github.com/nodejs/node/issues/53725#issuecomment-2229226306_

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (17 by maintainers)

Most upvoted comments

@marco-ippolito I published it as @swc/binding_typescript_wasm@1.7.0-rc.0

I published 1.7.0-rc.1, which includes manual fix of fatal option by @magic-akari. @marco-ippolito Can you try this version?