diff options
| author | Ryan Levick <ryan.levick@gmail.com> | 2021-01-05 16:46:50 +0100 |
|---|---|---|
| committer | Ryan Levick <me@ryanlevick.com> | 2021-03-03 11:22:44 +0100 |
| commit | a6d926d80db4a52398dea0cf29e6c501eab50170 (patch) | |
| tree | 78b945cf6fc47e5dd60f9891380dd45927505f2f /compiler/rustc_codegen_ssa/src | |
| parent | f49ed7a6b7aa3a44dd0444b508a1d0ddc09b0f15 (diff) | |
| download | rust-a6d926d80db4a52398dea0cf29e6c501eab50170.tar.gz rust-a6d926d80db4a52398dea0cf29e6c501eab50170.zip | |
Fix tests
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/rpath.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/rpath.rs b/compiler/rustc_codegen_ssa/src/back/rpath.rs index 005d2efdd3b..5f21046b05e 100644 --- a/compiler/rustc_codegen_ssa/src/back/rpath.rs +++ b/compiler/rustc_codegen_ssa/src/back/rpath.rs @@ -24,7 +24,7 @@ pub fn get_rpath_flags(config: &mut RPathConfig<'_>) -> Vec<String> { debug!("preparing the RPATH!"); - let libs = config.used_crates.clone(); + let libs = config.used_crates; let libs = libs.iter().filter_map(|&(_, ref l)| l.option()).collect::<Vec<_>>(); let rpaths = get_rpaths(config, &libs); let mut flags = rpaths_to_flags(&rpaths); |
