set -euo pipefail cargo xbuild --target=aarch64-unknown-none.json DEBUG= # DEBUG="-s -S -d exec" printf "Running with qemu...\n" set -x exec qemu-system-aarch64 \ -machine virt \ $DEBUG \ -m 1024M \ -cpu cortex-a53 \ -nographic \ -kernel target/aarch64-unknown-none/debug/kernel