# build for riscv64-qemu [global.configs] board = "qemu" root_fs = "fat32" [global.env] HEAP_SIZE = "0x0180_0000" MOUNT_IMG_PATH = "mount.img" [bin.riscv64-qemu] target = "riscv64gc-unknown-none-elf" [bin.riscv64-qemu.configs] driver = "kvirtio,kgoldfish-rtc,ns16550a" root_fs = "ext4" # build for x86_64-qemu [bin.x86_64-qemu] target = "x86_64-unknown-none" [bin.x86_64-qemu.configs] driver = "kvirtio,kgoldfish-rtc,ns16550a" # build for aarch64-qemu [bin.aarch64-qemu] target = "aarch64-unknown-none-softfloat" [bin.aarch64-qemu.configs] driver = "kvirtio,kgoldfish-rtc,ns16550a" # build for loongarch64-qemu [bin.loongarch64-qemu] target = "loongarch64-unknown-none" build_std = "core,alloc" [bin.loongarch64-qemu.configs] driver = "kramdisk" [bin.loongarch64-qemu.env] CARGO_CFG_DRIVER = "kramdisk"