alexcrichton opened PR #1434 from one-wasi
to master
:
This commit fixes the issue where we have two WASI submodules for build
reasons in this repository. The fix was to place the submodule in the
wasi-common
crate, and then anyone using thewig
crate has to be
sure to define aWASI_ROOT
env var in a build script to be able to
parse witx files.With all that in place
wasi-common
becomes the source of truth for the
witx files we're parsing, and crates likewasmtime-wasi
use
build-scripts shenanigans to read the same witx files. This should
hopefully get us so we're compatible with publishing and still only have
one submodule!Closes https://github.com/bytecodealliance/wasmtime/issues/1427
alexcrichton updated PR #1434 from one-wasi
to master
:
This commit fixes the issue where we have two WASI submodules for build
reasons in this repository. The fix was to place the submodule in the
wasi-common
crate, and then anyone using thewig
crate has to be
sure to define aWASI_ROOT
env var in a build script to be able to
parse witx files.With all that in place
wasi-common
becomes the source of truth for the
witx files we're parsing, and crates likewasmtime-wasi
use
build-scripts shenanigans to read the same witx files. This should
hopefully get us so we're compatible with publishing and still only have
one submodule!Closes https://github.com/bytecodealliance/wasmtime/issues/1427
pchickey submitted PR Review.
pchickey created PR Review Comment:
This is really useful, I had no idea it existed.
pchickey submitted PR Review.
alexcrichton merged PR #1434.
Last updated: Dec 23 2024 at 12:05 UTC