We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RUSTFLAGS="-A warnings"
1 parent 2ce9edd commit 6dfd5beCopy full SHA for 6dfd5be
dynamic_instrumentation/src/main.rs
@@ -525,10 +525,14 @@ fn cargo_wrapper(rustc_wrapper: &Path) -> anyhow::Result<()> {
525
Cow::Borrowed(metadata_path)
526
};
527
528
- let rustflags = [env::var_os("RUSTFLAGS"), rustflags]
529
- .into_iter()
530
- .flatten()
531
- .join(OsStr::new(" "));
+ let rustflags = [
+ env::var_os("RUSTFLAGS"),
+ Some("-A warnings".into()),
+ rustflags,
532
+ ]
533
+ .into_iter()
534
+ .flatten()
535
+ .join(OsStr::new(" "));
536
537
// Enable the runtime dependency.
538
add_feature(&mut cargo_args, &["c2rust-analysis-rt"]);
0 commit comments