We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c964567 commit 565a863Copy full SHA for 565a863
src/librustc_back/target/linux_musl_base.rs
@@ -60,13 +60,6 @@ pub fn opts() -> TargetOptions {
60
base.pre_link_objects_exe.push("crti.o".to_string());
61
base.post_link_objects.push("crtn.o".to_string());
62
63
- // MUSL support doesn't currently include dynamic linking, so there's no
64
- // need for dylibs or rpath business. Additionally `-pie` is incompatible
65
- // with `-static`, so we can't pass `-pie`.
66
- base.dynamic_linking = false;
67
- base.has_rpath = false;
68
- base.position_independent_executables = false;
69
-
70
// These targets statically link libc by default
71
base.crt_static_default = true;
72
// These targets allow the user to choose between static and dynamic linking.
0 commit comments