heiher opened PR #13675 from heiher:fiber-loong64 to bytecodealliance:main:
Add LoongArch64 fiber support for Wasmtime.
This fixes the runtime error:
fibers not supported on this host architectureby implementing the required stack switching and unwind support for LoongArch64.
Procedure Call Standard for the LoongArch™ Architecture: https://github.com/loongson/la-abi-specs/blob/release/lapcs.adoc#processor-architecture
heiher requested dicej for a review on PR #13675.
heiher requested wasmtime-core-reviewers for a review on PR #13675.
:memo: alexcrichton submitted PR review:
Thanks! Could you add a check to this matrix that this crate builds on loongarch64?
Additionally, to confirm, have you run the fiber tests locally and double-checked they're passing?
alexcrichton unassigned dicej from PR #13675 Add fiber implementation for LoongArch64.
alexcrichton requested alexcrichton for a review on PR #13675.
heiher updated PR #13675.
heiher requested wasmtime-default-reviewers for a review on PR #13675.
heiher commented on PR #13675:
Thanks! Could you add a check to this matrix that this crate builds on loongarch64?
Thanks! Done.
Additionally, to confirm, have you run the fiber tests locally and double-checked they're passing?
Yes, I've run the fiber tests locally and they all passed.
:memo: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
Does the published release of
crossnot support loongarch64? If so could this runcargo checkinsetad ofcross build?(switching to
cargo installmakes CI more flaky and take longer)
heiher updated PR #13675.
heiher updated PR #13675.
:memo: heiher submitted PR review.
:speech_balloon: heiher created PR review comment:
cargo checkalso requiresloongarch64-gcc, which can be installed through theaptpackage manager. Thanks!
heiher updated PR #13675.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton added PR #13675 Add fiber implementation for LoongArch64 to the merge queue.
:check: alexcrichton merged PR #13675.
alexcrichton removed PR #13675 Add fiber implementation for LoongArch64 from the merge queue.
Last updated: Jul 29 2026 at 05:03 UTC