We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo run --quiet works fine, but when I try to run cargo test --quiet, qemu gives the error qemu-system-x86_64: --quiet: invalid option
cargo run --quiet
cargo test --quiet
qemu-system-x86_64: --quiet: invalid option
The text was updated successfully, but these errors were encountered:
I believe this occurs due to cargo run consuming the --quiet flag, whereas cargo test --quiet does not consume it, and passes it to the test binary.
cargo run
--quiet
See here with a print on the args that bootimage receives with cargo run --quiet:
bootimage
cargo run --quiet [src/main.rs:13:5] &raw_args = Args { inner: [ ".../bootimage", "runner", "target/x86_64-walnut/debug/walnut_os", ], }
and with cargo test --quiet:
cargo test --quiet [src/main.rs:13:5] &raw_args = Args { inner: [ ".../bootimage", "runner", "/home/orseti/Source/walnut/walnut_os/target/x86_64-walnut/debug/deps/walnut_os-f71ec98b45354b5e", "--quiet", ], }
If you would like to acheive quiet output on all runs and tests, you can do so in your .cargo/config.toml with:
.cargo/config.toml
[target.'cfg(target_os = "none")'] runner = "bootimage runner --quiet"
Sorry, something went wrong.
No branches or pull requests
cargo run --quiet
works fine, but when I try to runcargo test --quiet
, qemu gives the errorqemu-system-x86_64: --quiet: invalid option
The text was updated successfully, but these errors were encountered: