I am using Rust to code in a [no_std] environment, targeting ARM's aarch64-unknown-none. When I enable -semihosting as stipulated in the qemu-system-aarch64 command options below, I never see any display on my host computer qemu or terminal.
Is semihosting option known to work for aarch64-unknown-none known to work? If yes, can someone please share experience on the options, code snippet that works?
The qemu-system-aarch64 command to start up the built kernel binary is:
qemu-system-aarch64 -machine virt -cpu cortex-a57 -m 256M -semihosting -semihosting-config enable=on,target=native,chardev=semi0 -chardev stdio,id=semi0,signal=off -kernel kernel.bin