WebAssembly / WebAssembly/wabt
In the case of wasmGC, the encoding of the ref is incorrect. such as test/dump/typed_func_refds_params
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.1k
- Forks
- 827
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 18
Description
In the test/dump/typed_func_refds_params ,
ref----0x6b,but in the wasmGC standard,ref----0x64.
if translate ref to 0x6b, the chrome will report an error.
This problem appears in the following two files.
Hope to solve this problem, otherwise pr can not go through.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with test/dump/typed_func_refds_params and inspect the two files shown in the issue attachments. Compare the emitted ref encoding with the WebAssembly GC standard and verify the corrected output is accepted by Chrome; add or update coverage for this test case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, wasm
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100