pchickey opened Issue #1427:
As of 6c0c8a46 (#1416), there are two WASI submodules, one at
crates/wasi-common/WASI
and 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/WASI
and 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/WASI
and 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/WASI
and 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 publish
doesn't includewig/WASI
in thewasi-common
package, causing it to break when built out of tree. Aninclude =
directive in Cargo.toml didn't fix it. Adding aWASI
symlink fixed it for Mac and Linux but didn't work on Windows.Since both
wasi-common
andwig
need aWASI
directory, for now, the simplest way to fix it was to give them each their own.
pchickey commented on Issue #1427:
Dang. Well,
wig
is 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 thewitx
path underneathwig
. If the one underwasi-common
is 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/WASI
and 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 23 2024 at 12:05 UTC