Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Add web backend #4

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Add web backend #4

merged 3 commits into from
Dec 11, 2023

Conversation

kvinwang
Copy link
Collaborator

@kvinwang kvinwang commented Dec 11, 2023

There is an issue with the wasm-bindgen tool for generating JavaScript bindings:

wasm-bindgen phatjs-web.wasm  --out-dir . --typescript --target web --out-name index
[2023-12-11T13:14:16Z WARN  walrus::module] in name section: index `0` is out of bounds for data
[2023-12-11T13:14:16Z WARN  walrus::module] in name section: index `1` is out of bounds for data
thread 'main' panicked at 'unknown instruction Block(Block { seq: Id { idx: 1 } })', /home/kvin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-wasm-interpreter-0.2.89/src/lib.rs:367:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

More info: rustwasm/wasm-bindgen#3315

@kvinwang kvinwang changed the base branch from hash to master December 11, 2023 15:14
@kvinwang kvinwang merged commit 08b5d4f into master Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant