#!/usr/bin/env sh # Builds the static riscv64 libbui (riscv64gc-unknown-linux-musl) and, when # qemu-riscv64 is available, runs it once to prove it starts. CI runs this; # so can you. Needs rustup, zig and cargo-zigbuild. # # scripts/riscv64.sh # build and smoke-test # QEMU=qemu-riscv64-static scripts/riscv64.sh # REQUIRE_QEMU=1 scripts/riscv64.sh # fail instead of skipping the run set -eu exec "$(dirname "$0")/static-linux.sh" riscv64gc-unknown-linux-musl