From 6b45d59caa3495eb79625930f15a7761c4cbc3a4 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 5 Jun 2021 16:40:53 +0200 Subject: Remove get_install_prefix_lib_path completely It was broken anyway for rustup installs and nobody seems to have noticed. --- compiler/rustc_codegen_ssa/src/back/rpath/tests.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'compiler/rustc_codegen_ssa/src/back/rpath') diff --git a/compiler/rustc_codegen_ssa/src/back/rpath/tests.rs b/compiler/rustc_codegen_ssa/src/back/rpath/tests.rs index 35836ae719b..24c362db122 100644 --- a/compiler/rustc_codegen_ssa/src/back/rpath/tests.rs +++ b/compiler/rustc_codegen_ssa/src/back/rpath/tests.rs @@ -40,7 +40,6 @@ fn test_rpath_relative() { is_like_osx: true, linker_is_gnu: false, out_filename: PathBuf::from("bin/rustc"), - get_install_prefix_lib_path: &mut || panic!(), }; let res = get_rpath_relative_to_output(config, Path::new("lib/libstd.so")); assert_eq!(res, "@loader_path/../lib"); @@ -48,7 +47,6 @@ fn test_rpath_relative() { let config = &mut RPathConfig { used_crates: &[], out_filename: PathBuf::from("bin/rustc"), - get_install_prefix_lib_path: &mut || panic!(), has_rpath: true, is_like_osx: false, linker_is_gnu: true, -- cgit 1.4.1-3-g733a5