Skip to content

Commit c8594cb

Browse files
authored
wasm: Upgrade to wasmtime v8.0.0 (#2222)
1 parent cab34f5 commit c8594cb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.20
44

55
require (
66
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1
7-
github.com/bytecodealliance/wasmtime-go/v5 v5.0.0
7+
github.com/bytecodealliance/wasmtime-go/v8 v8.0.0
88
github.com/cubicdaiya/gonp v1.0.4
99
github.com/davecgh/go-spew v1.1.1
1010
github.com/go-sql-driver/mysql v1.7.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1 h
55
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1/go.mod h1:pSwJ0fSY5KhvocuWSx4fz3BA8OrA1bQn+K1Eli3BRwM=
66
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
77
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
8-
github.com/bytecodealliance/wasmtime-go/v5 v5.0.0 h1:Ue3eBDElMrdzWoUtr7uPr7NeDZriuR5oIivp5EHknQU=
9-
github.com/bytecodealliance/wasmtime-go/v5 v5.0.0/go.mod h1:KcecyOqumZrvLnlaEIMFRbBaQeUYNvsbPjAEVho1Fcs=
8+
github.com/bytecodealliance/wasmtime-go/v8 v8.0.0 h1:jP4sqm2PHgm3+eQ50zCoCdIyQFkIL/Rtkw6TT8OYPFI=
9+
github.com/bytecodealliance/wasmtime-go/v8 v8.0.0/go.mod h1:tgazNLU7xSC2gfRAM8L4WyE+dgs5yp9FF5/tGebEQyM=
1010
github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=
1111
github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
1212
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=

internal/ext/wasm/wasm.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ import (
1818
"runtime/trace"
1919
"strings"
2020

21-
wasmtime "github.com/bytecodealliance/wasmtime-go/v5"
21+
wasmtime "github.com/bytecodealliance/wasmtime-go/v8"
2222
"golang.org/x/sync/singleflight"
2323

2424
"github.com/kyleconroy/sqlc/internal/info"
2525
"github.com/kyleconroy/sqlc/internal/plugin"
2626
)
2727

2828
// This version must be updated whenever the wasmtime-go dependency is updated
29-
const wasmtimeVersion = `v5.0.0`
29+
const wasmtimeVersion = `v8.0.0`
3030

3131
func cacheDir() (string, error) {
3232
cache := os.Getenv("SQLCCACHE")

0 commit comments

Comments
 (0)