Skip to content

Commit 27a6444

Browse files
authored
Merge pull request rust-lang#270 from seanyoung/wasm
Fix wasm build
2 parents d018ee2 + f252b2a commit 27a6444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ impl<'ctx> Module<'ctx> {
610610
LLVMWriteBitcodeToFD(self.module.get(), file.as_raw_fd(), should_close as i32, unbuffered as i32) == 0
611611
}
612612
}
613-
#[cfg(windows)]
613+
#[cfg(not(unix))]
614614
return false;
615615
}
616616

0 commit comments

Comments
 (0)