diff --git a/Cargo.toml b/Cargo.toml index c43175eb..50591671 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,4 +14,4 @@ categories = ["wasm"] crate-type = ["cdylib"] [dependencies] -wasmer-runtime-c-api = "0.4.2" \ No newline at end of file +wasmer-runtime-c-api = "0.5.5" \ No newline at end of file diff --git a/justfile b/justfile index dcb44d42..ce57b862 100644 --- a/justfile +++ b/justfile @@ -46,7 +46,7 @@ test: go test -test.v $(find . -type f \( -name "example_*_test.go" \! -name "_example_import_test.go" \) ) # Run benchmarks. Subjects can be `wasmer`, `wagon` or `life`. Filter is a regex to select the benchmarks. -bench subject='wagon' filter='.*': +bench subject='wasmer' filter='.*': cd benchmarks/{{subject}} && go test -bench '{{filter}}' benchmarks_test.go # Local Variables: diff --git a/wasmer/libwasmer_runtime_c_api.dylib b/wasmer/libwasmer_runtime_c_api.dylib index dfcfe5a0..2a010821 100644 Binary files a/wasmer/libwasmer_runtime_c_api.dylib and b/wasmer/libwasmer_runtime_c_api.dylib differ diff --git a/wasmer/libwasmer_runtime_c_api.so b/wasmer/libwasmer_runtime_c_api.so index 7d807dd4..a46b3545 100644 Binary files a/wasmer/libwasmer_runtime_c_api.so and b/wasmer/libwasmer_runtime_c_api.so differ diff --git a/wasmer/test/imports.go b/wasmer/test/imports.go index 469f5275..66aa20c0 100644 --- a/wasmer/test/imports.go +++ b/wasmer/test/imports.go @@ -149,7 +149,7 @@ func testModuleImportMissingImports(t *testing.T) { _, err := module.Instantiate() - assert.EqualError(t, err, "Failed to instantiate the module:\n error instantiating from module") + assert.EqualError(t, err, "Failed to instantiate the module:\n link error: Import not found, namespace: env, name: sum") } //export missingContext