diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-07 12:18:28 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-05 10:49:07 +0200 |
| commit | 8748e37d35e380f390ef8673b38a63f8111686dc (patch) | |
| tree | 60a06871a7c60205aca5c326eff8049f4cf959c4 /compiler/rustc_codegen_ssa/src/back/rpath | |
| parent | 09d9b608d647fdc19a933c661f943a010c8d84a5 (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.rs | 4 |
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, |
