diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-05 16:40:53 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-05 16:42:03 +0200 |
| commit | 6b45d59caa3495eb79625930f15a7761c4cbc3a4 (patch) | |
| tree | c1cb6db8b6ee20c93baa9ba33d853144345ac2f9 /compiler/rustc_codegen_ssa/src/back/rpath | |
| parent | a3205a66981f05b6df99f5748fe174ee69f556f0 (diff) | |
| download | rust-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.rs | 2 |
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, |
