The unified WASI archive at
"https://github.com/WebAssembly/WASI/archive/refs/tags/v0.2.9.tar.gz"
places each proposal under the "proposals" folder. For example, the wasi:filesystem proposal is located at:
proposals/filesystem/wit
However, when running wit-deps update with this archive, the tarball is downloaded, but the WIT files are never unpacked.
A minimal deps.toml to reproduce the problem:
filesystem = { url = "https://github.com/WebAssembly/WASI/archive/refs/tags/v0.2.9.tar.gz", subdir = "proposals/filesystem/wit" }
Looking at the source code (crates/wit-deps/src/lib.rs, untar function),
it seems that certain cases are not handled correctly in the unpacking logic.
The subdir path "proposals/filesystem/wit" is deeper than what the current code supports,
so the WIT files are silently skipped.
https://github.com/bytecodealliance/wit-deps/blob/main/crates/wit-deps/src/lib.rs#L218
Is this the intended behavior?