WebAssembly / WASI

WebAssembly System Interface
Other
4.81k stars 249 forks source link

Remove `witx` workspace #438

Closed cratelyn closed 3 years ago

cratelyn commented 3 years ago

This PR fell out of this comment in bytecodealliance/wasmtime#3025.

In short, the workspace added in WebAssembly/WASI#398 causes some surprising headaches when attempting to use this in projects with a certain shape of nested cargo workspace. As I understand it, that is an instance of the bug described in rust-lang/cargo#6745, wherein excludes do not behave properly when excluding a subdirectory within a workspace member.

So, in order to make witx and witx-cli easier to incorporate in such projects, we hoist witx-cli into a sibling crate at tools/witx-cli rather than tools/witx/cli.