Bazel + Rust cross-compilation demo: one no_std source tree builds both a bare-metal riscv64gc-unknown-none-elf firmware (runs in QEMU virt) and a wasm32-unknown-unknown browser module, sharing a tiny bump allocator. AI-generated worked example.
rust embedded webassembly wasm bazel qemu bare-metal no-std risc-v cross-compilation riscv64 rules-rust
-
Updated
May 15, 2026 - Rust