Skip to content

Downgrade github.com/ncruces/go-sqlite3 to v0.32.0#4400

Merged
kyleconroy merged 1 commit intomainfrom
claude/downgrade-ncurses-sqlite-h5NcQ
Apr 21, 2026
Merged

Downgrade github.com/ncruces/go-sqlite3 to v0.32.0#4400
kyleconroy merged 1 commit intomainfrom
claude/downgrade-ncurses-sqlite-h5NcQ

Conversation

@kyleconroy
Copy link
Copy Markdown
Collaborator

v0.33 of ncruces/go-sqlite3 replaced its embedded wasm runtime with a
pure-Go translation provided by the new github.com/ncruces/go-sqlite3-wasm
module. That module exposes an Xenv interface that v0.33.3's wrap.go
fails to satisfy (missing Xstrtol), so any downstream build pulling
these versions together fails to compile.

Pin back to v0.32.0, which ships its wasm runtime via the
github.com/ncruces/go-sqlite3/embed subpackage, and restore the blank
imports that wire the embedded binary into sqlite3.Binary at init time.

Fixes #4399

v0.33 of ncruces/go-sqlite3 replaced its embedded wasm runtime with a
pure-Go translation provided by the new github.com/ncruces/go-sqlite3-wasm
module. That module exposes an Xenv interface that v0.33.3's wrap.go
fails to satisfy (missing Xstrtol), so any downstream build pulling
these versions together fails to compile.

Pin back to v0.32.0, which ships its wasm runtime via the
github.com/ncruces/go-sqlite3/embed subpackage, and restore the blank
imports that wire the embedded binary into sqlite3.Binary at init time.

Fixes #4399
@kyleconroy kyleconroy merged commit dadc7ed into main Apr 21, 2026
13 checks passed
@kyleconroy kyleconroy deleted the claude/downgrade-ncurses-sqlite-h5NcQ branch April 21, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cannot use &env{} (value of type *env) as sqlite3_wasm.Xenv value in variable declaratio

2 participants