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