mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 01:33:02 -06:00
[chore] Update uptrace/bun and modernc/sqlite dependencies (#1598)
* [chore] Update bun from 1.1.10 -> 1.1.12 * [chore] bump modernc/sqlite 1.20.4 -> 1.21.0
This commit is contained in:
parent
d8d5818b47
commit
b344c2c8f4
84 changed files with 127892 additions and 111380 deletions
7
vendor/modernc.org/libc/libc_linux.go
generated
vendored
7
vendor/modernc.org/libc/libc_linux.go
generated
vendored
|
|
@ -1592,3 +1592,10 @@ func Xreadlinkat(t *TLS, dirfd int32, pathname, buf uintptr, bufsiz types.Size_t
|
|||
|
||||
return types.Ssize_t(n)
|
||||
}
|
||||
|
||||
// int nanosleep(const struct timespec *req, struct timespec *rem);
|
||||
func Xnanosleep(t *TLS, req, rem uintptr) int32 {
|
||||
v := *(*ctime.Timespec)(unsafe.Pointer(req))
|
||||
time.Sleep(time.Second*time.Duration(v.Ftv_sec) + time.Duration(v.Ftv_nsec))
|
||||
return 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue