Async func exports unimplemented in bindgen
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start in spidermonkey-embedding-splicer/src/bindgen.rs at the FunctionKind match around lines 485-487, then trace the surrounding export path and its handling of synchronous functions. Done means async freestanding, method, and static exports no longer hit todo!() and an async-exporting WIT world can be processed without the reported panic.
Written by the indexing model from the issue text.
Description
componentize-js 0.20.0 panics with not yet implemented when a WIT world exports an async function, because the export path in spidermonkey-embedding-splicer/src/bindgen.rs hits todo!() for all three async function kinds:
FunctionKind::AsyncFreestanding => todo!(),
FunctionKind::AsyncMethod(_id) => todo!(),
FunctionKind::AsyncStatic(_id) => todo!(),
This blocks targeting any WIT world whose exports use async func, including the component-model-async style used by wasmtime 43's component-model-async feature and WASI preview 3 worlds that declare async exports.
- Dominant language
- Rust
- Stars
- 392
- Forks
- 54
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
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.
More from bytecodealliance/ComponentizeJS
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 56/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in bytecodealliance/ComponentizeJS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100