Skip to content

ci: add riscv64gc-unknown-linux-gnu to release artifacts#1568

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
gounthar:ci/add-riscv64gc-linux
Mar 13, 2026
Merged

ci: add riscv64gc-unknown-linux-gnu to release artifacts#1568
alexcrichton merged 1 commit intobytecodealliance:mainfrom
gounthar:ci/add-riscv64gc-linux

Conversation

@gounthar
Copy link
Contributor

This adds riscv64gc-unknown-linux-gnu to the release build matrix, so that official releases ship a pre-built Linux/RISC-V 64-bit binary.

Changes

  • ci/docker/riscv64gc-linux/Dockerfile: new cross-compilation container (modeled on the existing aarch64-linux one, using gcc-riscv64-linux-gnu; uses Ubuntu 18.04 as riscv64 cross-compiler is not available in 16.04)
  • .github/workflows/main.yml: new riscv64gc-linux matrix entry in the build job

Context

The wasm-tools and wkg repositories recently merged equivalent changes (bytecodealliance/wasm-tools#2464, bytecodealliance/wasm-pkg-tools#196). wit-bindgen is the remaining piece needed for a complete WASIP2 toolchain on RISC-V.

Evidence

A fork release built with this exact configuration is available at https://github.com/gounthar/wit-bindgen; the riscv64gc binary was verified on physical RISC-V hardware (BananaPi BPI-F3, SpacemiT K1).

Fixes #1567

Add cross-compilation support for riscv64gc-unknown-linux-gnu, following
the same Docker-based pattern as the existing aarch64-linux target.

Fixes bytecodealliance#1567
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Mar 13, 2026
Merged via the queue into bytecodealliance:main with commit 3704b06 Mar 13, 2026
28 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.

Add riscv64gc-unknown-linux-gnu to release artifacts

2 participants