about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/back/rpath
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-06-05 16:40:53 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-06-05 16:42:03 +0200
commit6b45d59caa3495eb79625930f15a7761c4cbc3a4 (patch)
treec1cb6db8b6ee20c93baa9ba33d853144345ac2f9 /compiler/rustc_codegen_ssa/src/back/rpath
parenta3205a66981f05b6df99f5748fe174ee69f556f0 (diff)
downloadrust-6b45d59caa3495eb79625930f15a7761c4cbc3a4.tar.gz
rust-6b45d59caa3495eb79625930f15a7761c4cbc3a4.zip
Remove get_install_prefix_lib_path completely
It was broken anyway for rustup installs and nobody seems to have noticed.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back/rpath')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/rpath/tests.rs2
1 files changed, 0 insertions, 2 deletions
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,