diff --git a/src/cargo.rs b/src/cargo.rs index 1a38655..fffe221 100644 --- a/src/cargo.rs +++ b/src/cargo.rs @@ -51,6 +51,7 @@ fn cargo_with_rustflags(project: &Project, extra_rustflags: &[&'static str]) -> let rustflags = rustflags::toml(extra_rustflags); cmd.arg(format!("--config=build.rustflags={rustflags}")); cmd.arg(format!("--config=target.{TARGET}.rustflags={rustflags}")); + cmd.arg(format!("--config=term.verbose=true")); cmd } diff --git a/src/rustflags.rs b/src/rustflags.rs index 0913b94..47acb8b 100644 --- a/src/rustflags.rs +++ b/src/rustflags.rs @@ -3,7 +3,7 @@ use std::env; const IGNORED_LINTS: &[&str] = &["dead_code"]; pub(crate) fn toml(extra_rustflags: &[&'static str]) -> toml::Value { - let mut rustflags = vec!["--cfg", "trybuild", "--verbose"]; + let mut rustflags = vec!["--cfg", "trybuild"]; for &lint in IGNORED_LINTS { rustflags.push("-A");