Commit Graph

7 Commits (826037fe4be5cef3c1e693e1f909b7330c8b57cd)

Author SHA1 Message Date
mmorel-35 1e6b445a8a gofumpt
Ivan Babrou 19ac85b504 Add missing TargetConditionals.h include, closes #976
Shirou WAKAYAMA ae251eb6a2 cpu[darwin]: fix Go arrays panic in cgo #279
Lukas Fittl 74541ba4a5 CPU: Fix linter warning on OSX.
Aaron Zinman 4041e7d31e Fix compile errors for iOS/arm64
- Added conditional preprocessor guard on cpu_darwin_cgo.go

- Duplicated disk_darwin_amd64 for arm64 (after confirming
that sys/mount.h are the same between the two platforms, hence the
constants should be valid).
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters
Shirou WAKAYAMA a95dde9672 cpu[darwin]: separetes cpu_darwin to cgo and nocgo to get CPUTimes.