pchickey opened PR #6374 from pchickey:pch/merge_adapter_to_wasmtime
to bytecodealliance:main
:
First task in #6370
This introduces preview2-prototyping's
wasi-preview1-component-adapter
into wasmtime'scrates/
. The git history has been preserved.TODO: add build, test, and publish to CI
How this PR was made
I made this branch by running
$ python3 ~/Downloads/git-filter-repo.py --path crates --path src --path build.rs --force
And then merging wasmtime's
main
in with--allow-unrelated-histories
.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey edited PR #6374:
First task in #6370
This introduces preview2-prototyping's
wasi-preview1-component-adapter
into wasmtime'scrates/
. The git history has been preserved.There is a new script
./ci/build-wasi-preview1-component-adapter.sh
to build and verify the adapter, and a a new CI check which runs this script and uploads the release builds as artifacts.How this PR was made
I made this branch by running
$ python3 ~/Downloads/git-filter-repo.py --path crates --path src --path build.rs --force
And then merging wasmtime's
main
in with--allow-unrelated-histories
.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey has marked PR #6374 as ready for review.
pchickey requested fitzgen for a review on PR #6374.
pchickey requested wasmtime-core-reviewers for a review on PR #6374.
pchickey requested wasmtime-default-reviewers for a review on PR #6374.
pchickey updated PR #6374.
alexcrichton submitted PR review:
Looks good to me, but I'd ideally like to get the workspace stuff sorted out before landing if that's ok. If this is holding up too much else though and that's not easy to get working I can work on it later and you can go ahead and land this.
alexcrichton submitted PR review:
Looks good to me, but I'd ideally like to get the workspace stuff sorted out before landing if that's ok. If this is holding up too much else though and that's not easy to get working I can work on it later and you can go ahead and land this.
alexcrichton created PR review comment:
Could this file get removed?
alexcrichton created PR review comment:
Could this be left out until CI is added to verify it's right?
alexcrichton created PR review comment:
Could this get removed so this is integrated into the main wasmtime workspace? I think the above fiddly bits about profiles and such can go into the main workspace as well and apply to just this one crate.
pchickey created PR review comment:
Yes, this should be left out until we actually setup wit-deps to point at the standards repos and check things properly in CI.
pchickey created PR review comment:
Yes if we fix the workspace.
pchickey created PR review comment:
I would love to put it all in one workspace, yeah. I wasn't able to figure out how to apply these profiles to just one crate, but if we can do it then
pchickey edited PR review comment.
alexcrichton created PR review comment:
I think profile overrides show enable that?
pchickey created PR review comment:
That didn't work because
Overrides cannot specify the
panic
... settings
but I just realized, since that we have to avoid the panic machinery for vtable reasons, maybe the adapter will also build correctly without that in the profile...
pchickey edited PR review comment.
alexcrichton created PR review comment:
oh that should also be ok because wasm doesn't actually support panic=unwind vs panic=abort, it's just always panic=abort anyway. So that setting can be dropped without affecting the output.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey created PR review comment:
Thanks!
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
alexcrichton created PR review comment:
Instead of this could the manifest of the adapter say
test = false
for the[lib]
section?
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey updated PR #6374.
pchickey has enabled auto merge for PR #6374.
pchickey merged PR #6374.
Last updated: Dec 23 2024 at 13:07 UTC