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-07 12:18:28 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-07-05 10:49:07 +0200
commit8748e37d35e380f390ef8673b38a63f8111686dc (patch)
tree60a06871a7c60205aca5c326eff8049f4cf959c4 /compiler/rustc_codegen_ssa/src/back/rpath
parent09d9b608d647fdc19a933c661f943a010c8d84a5 (diff)
Remove LibSource
The information is stored in used_crate_source too anyway
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back/rpath')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/rpath/tests.rs4
1 files changed, 2 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 24c362db122..604f19144a6 100644
--- a/compiler/rustc_codegen_ssa/src/back/rpath/tests.rs
+++ b/compiler/rustc_codegen_ssa/src/back/rpath/tests.rs
@@ -35,7 +35,7 @@ fn test_minimize2() {
 fn test_rpath_relative() {
     if cfg!(target_os = "macos") {
         let config = &mut RPathConfig {
-            used_crates: &[],
+            libs: &[],
             has_rpath: true,
             is_like_osx: true,
             linker_is_gnu: false,
@@ -45,7 +45,7 @@ fn test_rpath_relative() {
         assert_eq!(res, "@loader_path/../lib");
     } else {
         let config = &mut RPathConfig {
-            used_crates: &[],
+            libs: &[],
             out_filename: PathBuf::from("bin/rustc"),
             has_rpath: true,
             is_like_osx: false,