mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 12:52:27 -05:00
update ncruces/go-sqlite3 v0.21.3 -> v0.22.0, gruf/go-ffmpreg v0.6.4 -> v0.6.5 (#3646)
This commit is contained in:
parent
b8ef9fc4bc
commit
81b66ad7e3
28 changed files with 165 additions and 57 deletions
27
vendor/github.com/ncruces/go-sqlite3/internal/util/compiler.go
generated
vendored
Normal file
27
vendor/github.com/ncruces/go-sqlite3/internal/util/compiler.go
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
package util
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
|
||||
"golang.org/x/sys/cpu"
|
||||
)
|
||||
|
||||
func CompilerSupported() bool {
|
||||
switch runtime.GOOS {
|
||||
case "linux", "android",
|
||||
"windows", "darwin",
|
||||
"freebsd", "netbsd", "dragonfly",
|
||||
"solaris", "illumos":
|
||||
break
|
||||
default:
|
||||
return false
|
||||
}
|
||||
switch runtime.GOARCH {
|
||||
case "amd64":
|
||||
return cpu.X86.HasSSE41
|
||||
case "arm64":
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
2
vendor/github.com/ncruces/go-sqlite3/internal/util/module.go
generated
vendored
2
vendor/github.com/ncruces/go-sqlite3/internal/util/module.go
generated
vendored
|
|
@ -8,6 +8,8 @@ import (
|
|||
"github.com/ncruces/go-sqlite3/internal/alloc"
|
||||
)
|
||||
|
||||
type ConnKey struct{}
|
||||
|
||||
type moduleKey struct{}
|
||||
type moduleState struct {
|
||||
mmapState
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue