]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_back/target/freebsd_base.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / librustc_back / target / freebsd_base.rs
index e2c4003a8b6e9896f4f744c46e91052f3c61f39b..7555181a15cf20d5a5d3856401b10df91a5bfe10 100644 (file)
@@ -17,7 +17,7 @@ pub fn opts() -> TargetOptions {
         executables: true,
         linker_is_gnu: true,
         has_rpath: true,
-        pre_link_args: vec!(
+        pre_link_args: vec![
             // GNU-style linkers will use this to omit linking to libraries
             // which don't actually fulfill any relocations, but only for
             // libraries which follow this flag.  Thus, use it before
@@ -26,7 +26,7 @@ pub fn opts() -> TargetOptions {
 
             // Always enable NX protection when it is available
             "-Wl,-z,noexecstack".to_string(),
-        ),
+        ],
         position_independent_executables: true,
         exe_allocation_crate: super::maybe_jemalloc(),
         .. Default::default()