WasmEdge
WasmEdge copied to clipboard
feat: Implement component-model proposal in WasmEdge
Summary
Component model is a wasm proposal that introduces a new binary format called component, the WASI Preview2 (#2939) is highly dependent on the format. Therefore, this issue tracks the implementation status of component model in WasmEdge.
Details
- [x] parser
- #3036
- #3149
- #3152
- #3202
- #3341
- #3349
- [x] #3741
- [ ] validator
- #3179 (2024/01)
- #3619 (2024/08-10)
- #3150 (2024/12)
- LFX #3966 (2025/03-05)
- [ ] executor #3151
- #3218 (2024/06)
- #3380 (2024/07-10)
- #3784 (2024/10)
- [ ] #3753 (2024/09-?)
Appendix
- versions:
- cargo 1.84.0-nightly (031049782 2024-11-01)
- rustc 1.84.0-nightly (b8c8287a2 2024-11-03)
- cargo component 0.19.0
- wasm-tools 1.216.0
- The book of component model: https://component-model.bytecodealliance.org/
- Test suites: https://github.com/second-state/component-model-tests
- refers to https://github.com/WasmEdge/WasmEdge/issues/1892
- The issue replace #1433
| command | explain |
|---|---|
wasm-tools dump xxx.wasm |
dump content of binary with explaintion |
wasm-tools component new core.wasm -o component.wasm |
wrap a wasm into component |
wasm-tools component wit component.wasm |
extract wasm types interface from a component binary |