kernel/.cargo/config.toml

28 lines
479 B
TOML

# .cargo/config.toml
[build]
target = "riscv64imac-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.riscv64imac-unknown-none-elf]
runner = """ qemu-system-riscv64
-cpu rv64
-smp 4
-machine virt
-m 150M
-s
-nographic
-serial mon:stdio
-bios none
-kernel """