Fix typos
This commit is contained in:
@@ -26,7 +26,7 @@ cmd /c cargo build --release || goto error
|
|||||||
call :banner Debug build
|
call :banner Debug build
|
||||||
cmd /c cargo build || goto error
|
cmd /c cargo build || goto error
|
||||||
|
|
||||||
call :banner Rust unit tests
|
call :banner Rust unit and integration tests
|
||||||
set RUST_BACKTRACE=1
|
set RUST_BACKTRACE=1
|
||||||
cmd /c cargo test --all || goto error
|
cmd /c cargo test --all || goto error
|
||||||
|
|
||||||
@@ -43,4 +43,4 @@ echo ===== %* =====
|
|||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:error
|
:error
|
||||||
exit /b 1
|
exit /b 1
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pub fn instantiate<S: AsRef<str>>(
|
|||||||
&[bin_name.as_ref().to_owned(), ".".to_owned()],
|
&[bin_name.as_ref().to_owned(), ".".to_owned()],
|
||||||
&[],
|
&[],
|
||||||
)
|
)
|
||||||
.expect("instantiating wasi"),
|
.map_err(|e| format!("error instantiating WASI: {}", e))?,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Compile and instantiating a wasm module.
|
// Compile and instantiating a wasm module.
|
||||||
|
|||||||
Reference in New Issue
Block a user