Skip to content

wasmtime-fiber: support custom fiber stacks in no-std builds.#13743

Merged
pchickey merged 2 commits into
bytecodealliance:mainfrom
cfallin:custom-fiber-stacks-nostd
Jun 26, 2026
Merged

wasmtime-fiber: support custom fiber stacks in no-std builds.#13743
pchickey merged 2 commits into
bytecodealliance:mainfrom
cfallin:custom-fiber-stacks-nostd

Conversation

@cfallin

@cfallin cfallin commented Jun 26, 2026

Copy link
Copy Markdown
Member

The ability to use the StackCreator API is useful, even (maybe especially?) for no-std targets where custom allocation schemes may be used. This allocation path was not wired all the way through in our no-std backend in the fiber library. This PR finishes that (mirroring the Unixlike implementation's storage-enum scheme to hold the boxed dyn trait alive) and adds a direct fiber-crate test to exercise it.

The ability to use the `StackCreator` API is useful, even (maybe
especially?) for no-std targets where custom allocation schemes may be
used. This allocation path was not wired all the way through in our
no-std backend in the fiber library. This PR finishes that (mirroring
the Unixlike implementation's storage-enum scheme to hold the boxed dyn
trait alive) and adds a direct fiber-crate test to exercise it.
@cfallin cfallin requested a review from a team as a code owner June 26, 2026 21:59
@cfallin cfallin requested review from pchickey and removed request for a team June 26, 2026 21:59
@pchickey pchickey added this pull request to the merge queue Jun 26, 2026
Merged via the queue into bytecodealliance:main with commit 619b52a Jun 26, 2026
52 checks passed
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