Skip to content

Commit

Permalink
update wasmtime-go
Browse files Browse the repository at this point in the history
  • Loading branch information
guregu committed May 22, 2024
1 parent eb6da0e commit abf8fe5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/trealla-prolog/go

go 1.19

require github.com/bytecodealliance/wasmtime-go/v20 v20.0.0
require github.com/bytecodealliance/wasmtime-go/v21 v21.0.0

require github.com/stretchr/testify v1.8.1 // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/bytecodealliance/wasmtime-go/v20 v20.0.0 h1:xO8EMdztxRALMRoru7WCIlr10co225tFFUoJ/Ygzdv4=
github.com/bytecodealliance/wasmtime-go/v20 v20.0.0/go.mod h1:Va362hmt7aqwyb2Vu73yHbmx6NkSvGmvHOzJa2xMECQ=
github.com/bytecodealliance/wasmtime-go/v21 v21.0.0 h1:d2m3R7TpNpOGuIi2PTC9w2nUY/A2IJinHOZTL76jyhg=
github.com/bytecodealliance/wasmtime-go/v21 v21.0.0/go.mod h1:o/HNPe7TdXkqbrkmU9YgHBFXU9OIF1FVPlqhZwC1tyk=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion trealla/interop.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/binary"
"fmt"

"github.com/bytecodealliance/wasmtime-go/v20"
"github.com/bytecodealliance/wasmtime-go/v21"
)

// Predicate is a Prolog predicate implemented in Go.
Expand Down
2 changes: 1 addition & 1 deletion trealla/prolog.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"runtime"
"sync"

"github.com/bytecodealliance/wasmtime-go/v20"
"github.com/bytecodealliance/wasmtime-go/v21"
)

const defaultConcurrency = 256
Expand Down
2 changes: 1 addition & 1 deletion trealla/wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package trealla
import (
_ "embed"

"github.com/bytecodealliance/wasmtime-go/v20"
"github.com/bytecodealliance/wasmtime-go/v21"
)

//go:embed libtpl.wasm
Expand Down

0 comments on commit abf8fe5

Please sign in to comment.