tklauser / go-sysconf

sysconf for Go, without using cgo
https://pkg.go.dev/github.com/tklauser/go-sysconf
BSD 3-Clause "New" or "Revised" License
141 stars 27 forks source link

Define variable values for linux/loong64 #31

Closed abner-chenc closed 2 years ago

abner-chenc commented 2 years ago

Signed-off-by: Guoqi Chen chenguoqi@loongson.cn Co-authored-by: Jiantao Shan shanjiantao@loongson.cn

abner-chenc commented 2 years ago

There is already a pull request for loong64 support, but it has been turned off. see #17. by @merore

go version && go test ./...

go version devel go1.18-9dfe8c02b8 Mon Jan 10 21:40:35 2022 +0800 linux/loong64
ok      github.com/tklauser/go-sysconf  0.004s
ok      github.com/tklauser/go-sysconf/cgotest  0.003s