Skip to content

Commit

Permalink
update wasmtime-go and trealla
Browse files Browse the repository at this point in the history
  • Loading branch information
guregu committed Jul 1, 2024
1 parent 93a7fa3 commit f4653bc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 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/v21 v21.0.0
require github.com/bytecodealliance/wasmtime-go/v22 v22.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/v21 v21.0.0 h1:d2m3R7TpNpOGuIi2PTC9w2nUY/A2IJinHOZTL76jyhg=
github.com/bytecodealliance/wasmtime-go/v21 v21.0.0/go.mod h1:o/HNPe7TdXkqbrkmU9YgHBFXU9OIF1FVPlqhZwC1tyk=
github.com/bytecodealliance/wasmtime-go/v22 v22.0.0 h1:QHVD/Ppl3gsaBmrP3tytsiaw/Bs/gGB16kEsO3+0N7o=
github.com/bytecodealliance/wasmtime-go/v22 v22.0.0/go.mod h1:knqkvjTLavLtAXnA5NJUM0qbRiPJCVWPLXfYu75kZSo=
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 src/trealla
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/v21"
"github.com/bytecodealliance/wasmtime-go/v22"
)

// Predicate is a Prolog predicate implemented in Go.
Expand Down
Binary file modified trealla/libtpl.wasm
Binary file not shown.
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/v21"
"github.com/bytecodealliance/wasmtime-go/v22"
)

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/v21"
"github.com/bytecodealliance/wasmtime-go/v22"
)

//go:embed libtpl.wasm
Expand Down

0 comments on commit f4653bc

Please sign in to comment.