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.
2 parents 78ec390 + d3c71a5 commit 22b7e4dCopy full SHA for 22b7e4d
src/librustc/back/link.rs
@@ -1472,6 +1472,9 @@ fn link_args(cmd: &mut Command,
1472
// [1] - https://sourceware.org/bugzilla/show_bug.cgi?id=13130
1473
// [2] - https://code.google.com/p/go/issues/detail?id=2139
1474
cmd.arg("-Wl,--enable-long-section-names");
1475
+
1476
+ // Always enable DEP (NX bit) when it is available
1477
+ cmd.arg("-Wl,--nxcompat");
1478
}
1479
1480
if sess.targ_cfg.os == abi::OsAndroid {
0 commit comments