bytecodealliance / bytecodealliance/wasm-tools
Implement `Hash` on types
Open
wasmparser
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 351
- Avg merge
- 16h 57m
- Merged PRs (30d)
- 38
Description
Currently even data enums and structs (e.g. `Type`, `FuncType`, `NameEntry`, etc.), are missing `Hash` implementation, which makes it hard to use them in a `HashMap` for caching.
Would it be possible to add simple `#[derive(Hash)]` to all non-builder structs?
Contributor guide
Assessment
This issue has not been assessed yet.