rvolosatovs opened PR #13620 from rvolosatovs:feat/custom-fiber to bytecodealliance:main:
Add support for custom embedder-supplied fiber implementations, similar to e.g.
custom-virtual-memoryfeature and others that already exist.I'm not sure whether
custom-fiberorcustom-stack-switchis more appropriate, went for the one matching the crate name.For my concrete use case, this is sufficient to allow running Wasmtime with cranelift in interpreter mode using Pulley with
async/component-model-asyncfeatures enabled, compiled to wasm32-unknown-unknown with a bit of JS glue based on JSPI.
rvolosatovs requested pchickey for a review on PR #13620.
rvolosatovs requested wasmtime-core-reviewers for a review on PR #13620.
rvolosatovs converted PR #13620 feat: allow custom fiber APIs to a draft.
rvolosatovs edited PR #13620:
Add support for custom embedder-supplied fiber implementations, similar to e.g.
custom-virtual-memoryfeature and others that already exist.I'm not sure whether
custom-fiberorcustom-stack-switchis more appropriate, went for the one matching the crate name.For my concrete use case, this is sufficient to allow running Wasmtime with cranelift in interpreter mode using Pulley with
async/component-model-asyncfeatures enabled, compiled to wasm32-unknown-unknown with a bit of JS glue based on JSPI in the browser or node.js
rvolosatovs updated PR #13620.
rvolosatovs updated PR #13620.
rvolosatovs updated PR #13620.
rvolosatovs updated PR #13620.
rvolosatovs has marked PR #13620 as ready for review.
Last updated: Jul 29 2026 at 05:03 UTC