mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-22 04:32:13 +00: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)]
|
#[cfg(windows)]
|
||||||
fn exec(cmd: &mut Command) -> Result<(), Error> {
|
fn exec(cmd: &mut Command) -> Result<(), Error> {
|
||||||
|
use std::process;
|
||||||
let status = cmd.status()?;
|
let status = cmd.status()?;
|
||||||
process::exit(status.code().unwrap_or(3));
|
process::exit(status.code().unwrap_or(3));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user