Fix typos

This commit is contained in:
Jakub Konka
2019-06-24 22:55:15 +02:00
committed by Dan Gohman
parent b9c04d431f
commit 81b673f908
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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.