jrandolf opened issue #14844:
This tracks what's left before the component model
map<K, V>type can be enabled by default, following the discussion on #14801.Runtime
- [ ] #14810: map lifting allocates before validating the length (#14835)
- [ ] #14812: duplicate keys leak handles
- [ ] #14832: typed support is limited to
HashMapwith the default hasher
bindgen!
- [ ] #14813: no codegen tests (#14834)
- [ ] #14830: generated code doesn't compile without
std(#14837)- [ ] #14831: anonymous map parameters are taken by value (#14838)
- [ ] map contents are logged in non-verbose tracing (#14836)
CLI / WAVE
- [ ] #14811:
--invokedoesn't support maps (stopgap #14843; full support needs bytecodealliance/wasm-tools#2777, see also bytecodealliance/wasm-tools#2778)Testing
- [ ] #14833: fuzzing gaps
- [ ] validation tests for map key types (#14841)
- [ ] C API value tests (#14840)
Docs
- [ ]
Val::Mapdocs andType::unwrap_map(#14839)- [ ] update
docs/stability-wasm-proposals.mdonce the above are resolved
alexcrichton added the wasm-proposal:component-model-map label to Issue #14844.
jrandolf edited issue #14844:
This tracks what's left before the component model
map<K, V>type can be enabled by default, following the discussion on #14801.Runtime
- [x] #14810: map lifting allocates before validating the length (#14835)
- [ ] #14812: duplicate keys leak handles. Handles are to be forbidden in map values instead (WebAssembly/component-model#751), which needs a wasm-tools release with that validation.
- [x] #14832: typed support is limited to
HashMapwith the default hasher (#14870, #14927)
bindgen!
- [x] #14813: no codegen tests (#14834)
- [x] #14830: generated code doesn't compile without
std(#14927)- [x] #14831: anonymous map parameters are taken by value (#14838)
- [x] map contents are logged in non-verbose tracing (#14836)
CLI / WAVE
- [ ] #14811:
--invokedoesn't support maps (#14843, needs a wasm-tools release with bytecodealliance/wasm-tools#2782)Testing
- [x] #14833: fuzzing gaps (existing fuzzing is enough)
- [x] validation tests for map key types (#14841)
- [x] C API value tests (#14840)
- [ ] map values in
*.wasttests, for duplicate keys (#14843)Docs
- [x]
Val::Mapdocs andType::unwrap_map(#14839)- [ ] update
docs/stability-wasm-proposals.md(#14801)
Last updated: Oct 31 2026 at 23:03 UTC