I think bootimage has some problems with the custom test runner on CLion/Rust plugin.
CLion can create a Cargo run configuration for tests. This creates the following cargo command:
C:/Programming/Rust/cargo/bin/cargo.exe test --color=always --no-fail-fast -- -Z unstable-options --format=json --show-output
Unfortunately, the arguments after -- are passed to qemu as is
Running: `qemu-system-x86_64 -drive format=raw,file=C:\dev\Workspace\gerrix\target\x86_64-blog_os\debug\deps\bootimage-gerrix-d6bdb98945edd169.bin -no-reboot -device isa-debug-exit,iobase=0xf4,iosize=0x04 -Z unstable-options --format=json --show-output`
qemu-system-x86_64: -Z: invalid option
Running the test via cargo test works, though.
I think bootimage has some problems with the custom test runner on CLion/Rust plugin.
CLion can create a Cargo run configuration for tests. This creates the following cargo command:
Unfortunately, the arguments after
--are passed to qemu as isRunning the test via
cargo testworks, though.