diff --git a/scripts/run_debug.sh b/scripts/run_debug.sh index cf58cdb..72f4a73 100755 --- a/scripts/run_debug.sh +++ b/scripts/run_debug.sh @@ -94,6 +94,15 @@ check_test_res() { trap 'check_test_res "tests completed"' ERR + +# NOTE(ali): For some reason the values in `boot_flags` were causing issues +# on WSL, so they've been eradicated. +systemInfo=$(uname -r) +if [[ $systemInfo == *"WSL"* ]]; then + echo "Running on WSL2" + boot_flags="" +fi + cd "$project_root" qemu-system-x86_64 -M q35 \ -cdrom "$build_dir/image.iso" \