ci: add riscv64gc-unknown-linux-gnu to release binaries#196
Merged
lann merged 1 commit intobytecodealliance:mainfrom Mar 12, 2026
Merged
ci: add riscv64gc-unknown-linux-gnu to release binaries#196lann merged 1 commit intobytecodealliance:mainfrom
lann merged 1 commit intobytecodealliance:mainfrom
Conversation
Add riscv64gc-unknown-linux-gnu to both publish_dev_release and publish_tagged_release build matrices, using cross for cross-compilation. Add corresponding Cross.toml entry with OpenSSL configuration.
lann
approved these changes
Mar 12, 2026
Contributor
Author
|
Thanks @lann for the quick review and merge! Looking forward to riscv64 binaries shipping with the next release. |
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.
Summary
riscv64gc-unknown-linux-gnuto bothpublish_dev_releaseandpublish_tagged_releasebuild matrices, usingcrossfor cross-compilation (same approach as the existingaarch64-unknown-linux-gnutarget)Cross.tomlentry with OpenSSL cross-compilation configuration for riscv64Motivation
Fixes #195
RISC-V adoption is growing and
wkgbuilds successfully forriscv64gc-unknown-linux-gnu. Adding this target to the release workflow means users on RISC-V Linux can download pre-built binaries instead of building from source.Evidence
Successfully built and published
wkgfor riscv64 on a fork release: https://github.com/gounthar/wasm-pkg-tools/releases/tag/v0.15.0Changes
.github/workflows/publish-binaries.yml: Addedriscv64gc-unknown-linux-gnumatrix entry (withcross: true) to both dev and tagged release jobsCross.toml: Added[target.riscv64gc-unknown-linux-gnu]section with OpenSSL dependencies and theedgecross-rs imageTest plan
cross build --release --target riscv64gc-unknown-linux-gnusucceedswkg-riscv64gc-unknown-linux-gnu