Skip to content

Commit 25145b2

Browse files
author
Jorge Aparicio
committed
copy_third_party_objects -> copy_musl_third_party_objects
1 parent 8f8d882 commit 25145b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/compile.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ pub fn std_link(build: &Build,
9393
add_to_sysroot(&out_dir, &libdir);
9494

9595
if target.contains("musl") && !target.contains("mips") {
96-
copy_third_party_objects(build, &libdir);
96+
copy_musl_third_party_objects(build, &libdir);
9797
}
9898
}
9999

100100
/// Copies the crt(1,i,n).o startup objects
101101
///
102102
/// Only required for musl targets that statically link to libc
103-
fn copy_third_party_objects(build: &Build, into: &Path) {
103+
fn copy_musl_third_party_objects(build: &Build, into: &Path) {
104104
for &obj in &["crt1.o", "crti.o", "crtn.o"] {
105105
copy(&build.config.musl_root.as_ref().unwrap().join("lib").join(obj), &into.join(obj));
106106
}

0 commit comments

Comments
 (0)