pchickey opened Issue #1427:
As of 6c0c8a46 (#1416), there are two WASI submodules, one at
crates/wasi-common/WASIand one atcrates/wasi-common/wig/WASI. The commit message doesn't make it clear which of these is intended. I suspect this is something that got messed up in the squash merge?
pchickey assigned Issue #1427:
As of 6c0c8a46 (#1416), there are two WASI submodules, one at
crates/wasi-common/WASIand one atcrates/wasi-common/wig/WASI. The commit message doesn't make it clear which of these is intended. I suspect this is something that got messed up in the squash merge?
pchickey edited Issue #1427 (assigned to sunfishcode):
As of 6c0c9a46 (#1416), there are two WASI submodules, one at
crates/wasi-common/WASIand one atcrates/wasi-common/wig/WASI. The commit message doesn't make it clear which of these is intended. I suspect this is something that got messed up in the squash merge?
pchickey edited Issue #1427 (assigned to sunfishcode):
As of 6c0c9a46 (#1416), there are two WASI submodules, one at
crates/wasi-common/WASIand one atcrates/wasi-common/wig/WASI. The commit message doesn't make it clear which of these is intended. I suspect this is something that got messed up in the squash merge?
sunfishcode commented on Issue #1427:
Sorry for the confusion here. The problem is that
cargo publishdoesn't includewig/WASIin thewasi-commonpackage, causing it to break when built out of tree. Aninclude =directive in Cargo.toml didn't fix it. Adding aWASIsymlink fixed it for Mac and Linux but didn't work on Windows.Since both
wasi-commonandwigneed aWASIdirectory, for now, the simplest way to fix it was to give them each their own.
pchickey commented on Issue #1427:
Dang. Well,
wigis hopefully on its last legs, I expect we'll be able to get rid of it within a month or so. In the meantime, we point to thewitxpath underneathwig. If the one underwasi-commonis expected to eventually be the only remaining, should we point there instead?And, can we add some sort of CI check that both submodules have the same rev checked out, so that they dont accidentally get out-of-sync?
I'll take both of these tasks.
alexcrichton commented on Issue #1427:
I managed to cook up https://github.com/bytecodealliance/wasmtime/pull/1434 which I think removes the need for two submodules through "weird cargo hacks"
alexcrichton closed Issue #1427 (assigned to sunfishcode):
As of 6c0c9a46 (#1416), there are two WASI submodules, one at
crates/wasi-common/WASIand one atcrates/wasi-common/wig/WASI. The commit message doesn't make it clear which of these is intended. I suspect this is something that got messed up in the squash merge?
pchickey commented on Issue #1427:
Thank you!
Last updated: Dec 13 2025 at 19:03 UTC