about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-08-03 13:11:06 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-08-11 13:59:54 +0000
commit4c779da913ffbc0010681ea7e623e57374fbb5e2 (patch)
treea3991f03451e1ff7f395a13866494be9873536d6
parent1e8fdf492808a25d78a97e1242b835ace9924e4d (diff)
downloadrust-4c779da913ffbc0010681ea7e623e57374fbb5e2.tar.gz
rust-4c779da913ffbc0010681ea7e623e57374fbb5e2.zip
Remove some leftover cruft from compiletest-rs
-rw-r--r--tests/compile-test.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs
index e46f8bf6fab..f9f15f1640c 100644
--- a/tests/compile-test.rs
+++ b/tests/compile-test.rs
@@ -126,12 +126,6 @@ fn base_config(test_dir: &str) -> compiletest::Config {
         out_dir: PathBuf::from(std::env::var_os("CARGO_TARGET_DIR").unwrap_or("target".into())).join("ui_test"),
         ..compiletest::Config::rustc(Path::new("tests").join(test_dir))
     };
-
-    if let Some(_path) = option_env!("RUSTC_LIB_PATH") {
-        //let path = PathBuf::from(path);
-        //config.run_lib_path = path.clone();
-        //config.compile_lib_path = path;
-    }
     let current_exe_path = env::current_exe().unwrap();
     let deps_path = current_exe_path.parent().unwrap();
     let profile_path = deps_path.parent().unwrap();