We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e984c9 commit a72cfe2Copy full SHA for a72cfe2
src/librustc_target/spec/linux_musl_base.rs
@@ -40,5 +40,13 @@ pub fn opts() -> TargetOptions {
40
// These targets allow the user to choose between static and dynamic linking.
41
base.crt_static_respected = true;
42
43
+ // Defaults for dynamic linking
44
+ base.dynamic_linking = true;
45
+ base.executables = true;
46
+ base.has_elf_tls = true;
47
+ base.has_rpath = true;
48
+ base.position_independent_executables = true;
49
+ base.relro_level = true;
50
+
51
base
52
}
0 commit comments