# .cargo/config.toml [build] target = "riscv64gc-unknown-none-elf" # Options for riscv32 (not currently in use) # # [target.riscv32imac-unknown-none-elf] # runner = """ qemu-system-riscv32 # -cpu rv32 # -machine virt # -m 150M # -s # -nographic # -serial mon:stdio # -bios """ [target.riscv64gc-unknown-none-elf] runner = """ qemu-system-riscv64 -cpu rv64 -smp 4 -machine virt -m 150M -s -nographic -serial mon:stdio -bios none -kernel """