rustc: Turn off split stacks on Windows

This commit is contained in:
Brian Anderson 2014-09-26 10:11:22 -07:00
parent 2550243b41
commit 91e30ecf67

View File

@ -546,7 +546,7 @@ impl<'b, 'tcx> CrateContext<'b, 'tcx> {
// but it could be enabled (with patched LLVM)
pub fn is_split_stack_supported(&self) -> bool {
let ref cfg = self.sess().targ_cfg;
cfg.os != abi::OsiOS || cfg.arch != abi::Arm
(cfg.os != abi::OsiOS || cfg.arch != abi::Arm) && cfg.os != abi::OsWindows
}