mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 14:42:35 +03:00
Fix compile on Windows
This commit is contained in:
parent
74cb40189c
commit
851debbec1
@ -92,6 +92,7 @@ fn exec(cmd: &mut Command) -> Result<(), Error> {
|
||||
|
||||
#[cfg(windows)]
|
||||
fn exec(cmd: &mut Command) -> Result<(), Error> {
|
||||
use std::process;
|
||||
let status = cmd.status()?;
|
||||
process::exit(status.code().unwrap_or(3));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user