Skip to content

Commit b891a04

Browse files
authored
build(deps): Upgrade wasmtime-go from 13.0.0 to 14.0.0 (#2900)
* build(deps): Upgrade wasmtime-go from 13.0.0 to 14.0.0 This upgrade should fix the broken Windows build. * Actually upgrade * Update ci.yml
1 parent df4c05b commit b891a04

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
runs-on: windows-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
# wasmtime can't be built with 12.2
14-
- run: choco install mingw --version 11.2.0.07112021 --allow-downgrade
1513
- uses: actions/setup-go@v4
1614
with:
1715
go-version: '1.21.3'

go.mod

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

55
require (
66
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1
7-
github.com/bytecodealliance/wasmtime-go/v13 v13.0.0
7+
github.com/bytecodealliance/wasmtime-go/v14 v14.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.1

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/g
55
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
66
github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o=
77
github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
8-
github.com/bytecodealliance/wasmtime-go/v13 v13.0.0 h1:o2PsUgSu6vMKr5S0+mz8EL3mZGQ0M8gHwS8/R0wY/wY=
9-
github.com/bytecodealliance/wasmtime-go/v13 v13.0.0/go.mod h1:KmsZLdjjzNH/E5wbfoRehqP70tHzKlfNOi730VCAR4E=
8+
github.com/bytecodealliance/wasmtime-go/v14 v14.0.0 h1:ur7S3P+PAeJmgllhSrKnGQOAmmtUbLQxb/nw2NZiaEM=
9+
github.com/bytecodealliance/wasmtime-go/v14 v14.0.0/go.mod h1:tqOVEUjnXY6aGpSfM9qdVRR6G//Yc513fFYUdzZb/DY=
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
@@ -17,7 +17,7 @@ import (
1717
"runtime/trace"
1818
"strings"
1919

20-
wasmtime "github.com/bytecodealliance/wasmtime-go/v13"
20+
wasmtime "github.com/bytecodealliance/wasmtime-go/v14"
2121
"golang.org/x/sync/singleflight"
2222

2323
"github.com/sqlc-dev/sqlc/internal/cache"
@@ -26,7 +26,7 @@ import (
2626
)
2727

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

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

0 commit comments

Comments
 (0)