Don't pass RUSTFLAGS to rustc in tests

This commit is contained in:
Afonso Bordado 2022-07-30 23:07:03 +01:00
parent f588bfa095
commit d489fb9a59

View File

@ -425,7 +425,6 @@ impl TestRunner {
cmd.arg(format!("{}", self.out_dir.display())); cmd.arg(format!("{}", self.out_dir.display()));
cmd.arg("-Cdebuginfo=2"); cmd.arg("-Cdebuginfo=2");
cmd.args(args); cmd.args(args);
cmd.env("RUSTFLAGS", &self.rust_flags);
cmd cmd
} }