JavaScriptKit icon indicating copy to clipboard operation
JavaScriptKit copied to clipboard

Swift framework to interact with JavaScript through WebAssembly.

Results 48 JavaScriptKit issues
Sort by recently updated
recently updated
newest added

I still see the following crash if I re-enable the `Examples/Testing` tests. https://github.com/swiftwasm/JavaScriptKit/blob/84243a4c66d47e17c540bbdc17ef49f191840a07/Plugins/PackageToJS/Tests/ExampleTests.swift#L249-L250 ``` RuntimeError: memory access out of bounds at CounterPackageTests.xctest.dlmalloc (wasm://wasm/CounterPackageTests.xctest-0f40d596:wasm-function[89702]:0x115e7de) at CounterPackageTests.xctest.malloc (wasm://wasm/CounterPackageTests.xctest-0f40d596:wasm-function[89701]:0x115e22a) at CounterPackageTests.xctest.swift::Demangle::__runtime::Demangler::demangleBoundGenerics(swift::Demangle::__runtime::Vector&, swift::Demangle::__runtime::Node*&) (wasm://wasm/CounterPackageTests.xctest-0f40d596:wasm-function[28248]:0x522adc)...

```console $ env SWIFT_SDK_ID=DEVELOPMENT-SNAPSHOT-2025-09-12-a-wasm32-unknown-wasip1 PATH=/home/katei/.local/share/swiftly/toolchains/main-snapshot-2025-09-12/usr/bin:$PATH ./build.sh +++ dirname ./build.sh ++ cd . ++ pwd + package_dir=/home/katei/ghq/github.com/swiftwasm/JavaScriptKit/Examples/Embedded + JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM=true + swift package --package-path /home/katei/ghq/github.com/swiftwasm/JavaScriptKit/Examples/Embedded -c release --triple wasm32-unknown-none-wasm js Building for...

`make unittest` doesn't pass due to this issue. I need further investigation