]> git.lizzy.rs Git - rust.git/blobdiff - src/rustc/rustc.rs
Rollup merge of #61389 - Zoxc:arena-cleanup, r=eddyb
[rust.git] / src / rustc / rustc.rs
index fef6b830040b9e1c23269b3fb2a1dd6bfc6b229e..4a1786f89ed556b4c174209d35f2624135263ade 100644 (file)
@@ -1,15 +1,3 @@
-#![feature(link_args)]
-
-// Set the stack size at link time on Windows. See rustc_driver::in_rustc_thread
-// for the rationale.
-#[allow(unused_attributes)]
-#[cfg_attr(all(windows, target_env = "msvc"), link_args = "/STACK:16777216")]
-// We only build for msvc and gnu now, but we use a exhaustive condition here
-// so we can expect either the stack size to be set or the build fails.
-#[cfg_attr(all(windows, not(target_env = "msvc")), link_args = "-Wl,--stack,16777216")]
-// Also, don't forget to set this for rustdoc.
-extern {}
-
 fn main() {
     // Pull in jemalloc when enabled.
     //