wazero v1.9.0.

This commit is contained in:
Nuno Cruces
2025-02-18 16:36:22 +00:00
parent ec3226e16e
commit 7870ce0690
8 changed files with 13 additions and 48 deletions

View File

@@ -47,11 +47,7 @@ func compileSQLite() {
ctx := context.Background()
cfg := RuntimeConfig
if cfg == nil {
if util.CompilerSupported() {
cfg = wazero.NewRuntimeConfigCompiler()
} else {
cfg = wazero.NewRuntimeConfigInterpreter()
}
cfg = wazero.NewRuntimeConfig()
if bits.UintSize < 64 {
cfg = cfg.WithMemoryLimitPages(512) // 32MB
} else {