From 0c41b5aa26c3e438450d6ea04cdb01e5e23e6c07 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Tue, 19 Jul 2022 12:59:42 +0000 Subject: [PATCH] This hack actually does the opposite now that we stopped using the `miri` script, so remove it --- ui_test/src/dependencies.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui_test/src/dependencies.rs b/ui_test/src/dependencies.rs index 252f23f4aa..34064fb3fc 100644 --- a/ui_test/src/dependencies.rs +++ b/ui_test/src/dependencies.rs @@ -38,9 +38,6 @@ pub fn build_dependencies(config: &Config) -> Result { // Reusable closure for setting up the environment both for artifact generation and `cargo_metadata` let setup_command = |cmd: &mut Command| { - // Avoid poisoning the target directory and causing unnecessary rebuilds. - cmd.env_remove("RUSTFLAGS"); - cmd.envs(envs.iter().map(|(k, v)| (k, v))); cmd.arg("--manifest-path").arg(manifest_path); };