Repository navigation
Update documentation and example for no_std - #8555
Merged
alexcrichton merged 6 commits intoMay 6, 2024
Merged
Conversation
Move some items between tiers and add a few misc items here and there.
Re-word lots of this since it was originally written, link to the tiers of support page, and rewrite the section on `no_std`.
This commit updates the preexisting `min-platform` example to no longer require Nightly Rust and instead use the `no_std` support now added to Wasmtime. This involved: * Change the build process to produce a staticlib which is then manually converted via `cc` into a shared library for the native Linux platform. * Compile the modules outside of the embedding and only `deserialize` within the embedding. * Update the `indexmap` dependency to pick up a bug fix required in `no_std` mode (apparently, it fails on indexmap@2.0.0 and passes at 2.2.6, I didn't dig much further). This commit additionally makes the `wasmtime-platform.h` header file generated by the example a release artifact for Wasmtime itself. The header itself is touched up a bit by configuring some more `cbindgen` options as well.
prtest:full
alexcrichton
force-pushed
the
embedding-example-no-std
branch
from
May 6, 2024 15:58
3b79a68 to
23310a4
Compare
pchickey
approved these changes
May 6, 2024
alexcrichton
enabled auto-merge
May 6, 2024 19:01
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this pull request
May 6, 2024
* Update Wasmtime's tier stability documentation Move some items between tiers and add a few misc items here and there. * Update platform support documentation Re-word lots of this since it was originally written, link to the tiers of support page, and rewrite the section on `no_std`. * Update the `min-platform` example with no_std This commit updates the preexisting `min-platform` example to no longer require Nightly Rust and instead use the `no_std` support now added to Wasmtime. This involved: * Change the build process to produce a staticlib which is then manually converted via `cc` into a shared library for the native Linux platform. * Compile the modules outside of the embedding and only `deserialize` within the embedding. * Update the `indexmap` dependency to pick up a bug fix required in `no_std` mode (apparently, it fails on indexmap@2.0.0 and passes at 2.2.6, I didn't dig much further). This commit additionally makes the `wasmtime-platform.h` header file generated by the example a release artifact for Wasmtime itself. The header itself is touched up a bit by configuring some more `cbindgen` options as well. * Fix clippy build prtest:full * Review comments * Pass gc-sections to linking the library
alexcrichton
added a commit
that referenced
this pull request
May 6, 2024
* Update documentation and example for no_std (#8555) * Update Wasmtime's tier stability documentation Move some items between tiers and add a few misc items here and there. * Update platform support documentation Re-word lots of this since it was originally written, link to the tiers of support page, and rewrite the section on `no_std`. * Update the `min-platform` example with no_std This commit updates the preexisting `min-platform` example to no longer require Nightly Rust and instead use the `no_std` support now added to Wasmtime. This involved: * Change the build process to produce a staticlib which is then manually converted via `cc` into a shared library for the native Linux platform. * Compile the modules outside of the embedding and only `deserialize` within the embedding. * Update the `indexmap` dependency to pick up a bug fix required in `no_std` mode (apparently, it fails on indexmap@2.0.0 and passes at 2.2.6, I didn't dig much further). This commit additionally makes the `wasmtime-platform.h` header file generated by the example a release artifact for Wasmtime itself. The header itself is touched up a bit by configuring some more `cbindgen` options as well. * Fix clippy build prtest:full * Review comments * Pass gc-sections to linking the library * Add release notes for 21.0.0 (#8559)
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this pull request
May 17, 2024
This fixes a bug from bytecodealliance#8555 where the header was uploaded to CI but didn't make its way to the release itself.
github-merge-queue Bot
pushed a commit
that referenced
this pull request
May 17, 2024
This fixes a bug from #8555 where the header was uploaded to CI but didn't make its way to the release itself.
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this pull request
May 20, 2024
This fixes a bug from bytecodealliance#8555 where the header was uploaded to CI but didn't make its way to the release itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit has a few sub-parts aimed at improving and updating the documentation/examples around Wasmtime's support for no_std now that the implementation is landed in #8533. Namely this includes:
wasmtime-platform.has a release artifact.