Skip to content

Commit 91e30ec

Browse files
committed
rustc: Turn off split stacks on Windows
1 parent 2550243 commit 91e30ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/trans/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ impl<'b, 'tcx> CrateContext<'b, 'tcx> {
546546
// but it could be enabled (with patched LLVM)
547547
pub fn is_split_stack_supported(&self) -> bool {
548548
let ref cfg = self.sess().targ_cfg;
549-
cfg.os != abi::OsiOS || cfg.arch != abi::Arm
549+
(cfg.os != abi::OsiOS || cfg.arch != abi::Arm) && cfg.os != abi::OsWindows
550550
}
551551

552552

0 commit comments

Comments
 (0)