Skip to content

[21.0.0] Backport release notes and no_std docs - #8561

Merged
alexcrichton merged 2 commits into
bytecodealliance:release-21.0.0from
alexcrichton:backports
May 6, 2024
Merged

alexcrichton merged 2 commits into
bytecodealliance:release-21.0.0from
alexcrichton:backports

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This backports #8555 and #8559 to the 21.0.0 release branch

* 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
alexcrichton requested review from a team as code owners May 6, 2024 21:00
@alexcrichton
alexcrichton requested review from fitzgen and removed request for a team May 6, 2024 21:00
@alexcrichton
alexcrichton enabled auto-merge (squash) May 6, 2024 21:04
@alexcrichton
alexcrichton merged commit 2891f64 into bytecodealliance:release-21.0.0 May 6, 2024
@alexcrichton
alexcrichton deleted the backports branch May 6, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants