Update dependencies (#1929)
This commit is contained in:
3
vendor/modernc.org/libc/libc_linux.go
generated
vendored
3
vendor/modernc.org/libc/libc_linux.go
generated
vendored
@@ -10,6 +10,7 @@ import (
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"runtime/debug"
|
||||
"syscall"
|
||||
"time"
|
||||
@@ -259,6 +260,8 @@ func Xsysconf(t *TLS, name int32) long {
|
||||
return -1
|
||||
case unistd.X_SC_GETGR_R_SIZE_MAX:
|
||||
return -1
|
||||
case unistd.X_SC_NPROCESSORS_ONLN:
|
||||
return long(runtime.NumCPU())
|
||||
}
|
||||
|
||||
panic(todo("", name))
|
||||
|
||||
Reference in New Issue
Block a user