[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:
tobi 2023-03-06 11:00:53 +01:00 committed by GitHub
commit b344c2c8f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 127892 additions and 111380 deletions

View file

@ -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
}