[tasks.clean] command = "cargo" args = ["clean"] [tasks.build] command = "cargo" args = ["build", "--target", "x86_64-unknown-uefi"] [tasks.esp] command = "cp" args = ["target/x86_64-unknown-uefi/debug/bootloader.efi", "esp/efi/boot/bootx64.efi"] dependencies = ["build"] [tasks.run] command = "qemu-system-x86_64" args = ["-enable-kvm", "-drive", "if=pflash,format=raw,readonly=on,file=OVMF_CODE.4m.fd", "-drive", "if=pflash,format=raw,readonly=on,file=OVMF_VARS.4m.fd", "-drive", "format=raw,file=fat:rw:esp"] dependencies = ["esp"]