Make `wit-parser` support `no_std` by wilfreddenton · Pull Request #2415 · bytecodealliance/wasm-tools

@wilfreddenton

temporarily use forked id-arena

use alloc BTreeMap and BinaryHeap

use alloc BTreeMap and BTreeSet instead of std HashMap and HashSet

import misc items from core/alloc instead of std

use core Error, FromStr, and Debug

add std feature and gate things behind it

use different IndexMap/IndexSet for std vs no_std

misc alloc imports

add cargo check

update workspace anyhow

fixes

@wilfreddenton

use new instead of default

make HashMap newtype

remove collections mod

@wilfreddenton

alexcrichton

…builder instead of ahash's and remove ashash as a dep

@wilfreddenton

…es which uses String instead of PathBuf
…s to resolve/mod.rs

cleanup

move logic from PackageSourceMap to PackageSources

make methods public to avoid no_std flag

@wilfreddenton

@wilfreddenton

alexcrichton

Merged via the queue into bytecodealliance:main with commit 5032b71

Jan 15, 2026

35 checks passed