mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 16:53:01 -06:00
bump modernc.org/sqlite to v1.35.0-concurrency-workaround (#3797)
This commit is contained in:
parent
879ca2d2f8
commit
ebbdeee0bb
114 changed files with 891873 additions and 192475 deletions
9
vendor/modernc.org/libc/libc.go
generated
vendored
9
vendor/modernc.org/libc/libc.go
generated
vendored
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !(linux && (amd64 || arm64 || loong64))
|
||||
//go:build !linux || mips64le
|
||||
|
||||
//go.generate echo package libc > ccgo.go
|
||||
//go:generate go fmt ./...
|
||||
|
|
@ -722,7 +722,12 @@ func X__builtin_object_size(t *TLS, p uintptr, typ int32) types.Size_t {
|
|||
if __ccgo_strace {
|
||||
trc("t=%v p=%v typ=%v, (%v:)", t, p, typ, origin(2))
|
||||
}
|
||||
return ^types.Size_t(0) //TODO frontend magic
|
||||
switch typ {
|
||||
case 0, 1:
|
||||
return ^types.Size_t(0)
|
||||
default:
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
var atomicLoadStore16 sync.Mutex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue