8000
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 a72cfe2 commit 609afa6Copy full SHA for 609afa6
src/librustc_target/spec/linux_musl_base.rs
@@ -8,7 +8,7 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-use spec::{LinkerFlavor, TargetOptions};
+use spec::{LinkerFlavor, TargetOptions, RelroLevel};
12
13
pub fn opts() -> TargetOptions {
14
let mut base = super::linux_base::opts();
@@ -46,7 +46,7 @@ pub fn opts() -> TargetOptions {
46
base.has_elf_tls = true;
47
base.has_rpath = true;
48
base.position_independent_executables = true;
49
- base.relro_level = true;
+ base.relro_level = RelroLevel::Full;
50
51
base
52
}
0 commit comments