Skip to content

Commit

Permalink
Merge #56
Browse files Browse the repository at this point in the history
56: chore(runtime) Update Wasmer to 0.5.5 r=Hywan a=Hywan

Fix #45.

This PR updates dependencies and the runtime to 0.5.5.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
  • Loading branch information
bors[bot] and Hywan committed Jul 15, 2019
2 parents f819ba8 + d13bb4f commit b450486
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ categories = ["wasm"]
crate-type = ["cdylib"]

[dependencies]
wasmer-runtime-c-api = "0.4.2"
wasmer-runtime-c-api = "0.5.5"
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Binary file modified wasmer/libwasmer_runtime_c_api.dylib
Binary file not shown.
Binary file modified wasmer/libwasmer_runtime_c_api.so
Binary file not shown.
2 changes: 1 addition & 1 deletion wasmer/test/imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b450486

Please sign in to comment.