fn main() { #[cfg(target_os = "windows")] { #[cfg(target_env = "msvc")] { println!("cargo:rustc-link-arg=/stack:{}", 8 * 1024 * 1024); } } }