Skip to content

Commit 4c779da

Browse files
committed
Remove some leftover cruft from compiletest-rs
1 parent 1e8fdf4 commit 4c779da

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/compile-test.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ fn base_config(test_dir: &str) -> compiletest::Config {
126126
out_dir: PathBuf::from(std::env::var_os("CARGO_TARGET_DIR").unwrap_or("target".into())).join("ui_test"),
127127
..compiletest::Config::rustc(Path::new("tests").join(test_dir))
128128
};
129-
130-
if let Some(_path) = option_env!("RUSTC_LIB_PATH") {
131-
//let path = PathBuf::from(path);
132-
//config.run_lib_path = path.clone();
133-
//config.compile_lib_path = path;
134-
}
135129
let current_exe_path = env::current_exe().unwrap();
136130
let deps_path = current_exe_path.parent().unwrap();
137131
let profile_path = deps_path.parent().unwrap();

0 commit comments

Comments
 (0)