mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 07:33:01 -06:00
pull in ncruces/go-sqlite3 v0.20.3 with tetratelabs/wazero v1.8.2 (#3574)
This commit is contained in:
parent
6a8af42647
commit
61f8f1e0e3
41 changed files with 374 additions and 226 deletions
9
vendor/github.com/tetratelabs/wazero/config_supported.go
generated
vendored
9
vendor/github.com/tetratelabs/wazero/config_supported.go
generated
vendored
|
|
@ -5,10 +5,15 @@
|
|||
//
|
||||
// Meanwhile, users who know their runtime.GOOS can operate with the compiler
|
||||
// may choose to use NewRuntimeConfigCompiler explicitly.
|
||||
//go:build (amd64 || arm64) && (darwin || linux || freebsd || windows)
|
||||
//go:build (amd64 || arm64) && (linux || darwin || freebsd || netbsd || dragonfly || solaris || windows)
|
||||
|
||||
package wazero
|
||||
|
||||
import "github.com/tetratelabs/wazero/internal/platform"
|
||||
|
||||
func newRuntimeConfig() RuntimeConfig {
|
||||
return NewRuntimeConfigCompiler()
|
||||
if platform.CompilerSupported() {
|
||||
return NewRuntimeConfigCompiler()
|
||||
}
|
||||
return NewRuntimeConfigInterpreter()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue