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