Skip to content

Discover RISC-V Linux sysroots automatically - #345

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:feat/riscv64-linux-sysroot
Aug 24, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:feat/riscv64-linux-sysroot

Conversation

@LunaStev

Copy link
Copy Markdown
Member

Summary

  • discover complete RV64 Linux sysroots from riscv64-linux-gnu-gcc reports and standard cross-toolchain prefixes
  • accept only candidates with libc, libm, and an RV64 dynamic loader matching the effective LP64/LP64F/LP64D ELF ABI
  • preserve explicit --sysroot precedence and expose the effective path and selection source through target-spec and dry-run output
  • remove the hard-coded sysroot argument from CI and release QEMU smoke tests so they exercise automatic discovery
  • document the hosted RISC-V cross-linking behavior

Validation

  • cargo fmt --all --check
  • cargo check --locked --jobs 2
  • cargo test --locked --all-targets --jobs 2 (42 tests passed)
  • cargo clippy --locked --all-targets --jobs 2 -- -D warnings
  • RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps --jobs 2
  • RISC-V-only and core64 no-default-feature builds
  • std policy and Python tooling tests
  • workflow YAML parse
  • Wave E2E: 100 passed, 8 platform skips, 0 failed

The RV64 Linux CI job now builds and runs Hello World under qemu-riscv64 without passing --sysroot to wavec, making automatic discovery part of the required remote contract.

@LunaStev
LunaStev merged commit 7361e05 into wavefnd:master Aug 24, 2026
6 checks passed
@LunaStev LunaStev mentioned this pull request Sep 30, 2026
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.

1 participant