You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Port the Linux standard-library syscall layer to RV64 #370
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.os supportA request to add support for a new operating system.
Wave can now discover an RV64 Linux sysroot, link a hosted program, and execute it under qemu-user. The raw Linux standard-library syscall layer is still tied to x86-64 register assignments and syscall numbers.
Scope
Split architecture-specific Linux syscall implementations from the common std API.
Preserve common modules under std/sys/linux/ without leaking x86-64 registers or numbers.
Implement RV64 syscall0 through syscall6 according to the Linux RISC-V ABI.
Dispatch by the compiler's target architecture contract.
Validate process, memory, file, time, socket, tty, and environment paths.
Keep libc bindings isolated under std/libc/.
Completion criteria
Core std behavior has equivalent x86-64 and RV64 tests.
RV64 file, memory, process, time, and socket smoke tests execute under qemu-user.
Syscall numbers and register mappings are source-auditable.
Unsupported Linux architectures fail clearly.
No x86-64 syscall detail remains in the common Linux layer.
This is a tracking implementation issue, not a newcomer-sized task. Small syscall-table and test-fixture pieces may be split out.
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.os supportA request to add support for a new operating system.
Activity
LunaStev commentedon Aug 29, 2026
Completed by #422.
The merged standard-library foundation now includes:
std::sysprovider split from the common Linux layer;Remaining freestanding startup work stays tracked separately in #371, and the broader target/runtime documentation remains in #372.