"'IOMasterPort' is deprecated" warning when making project1
Moonm3n opened this issue · 0 comments
Moonm3n commented
Environment:
OS: macOS 12.4 (21F79)
Go: go1.16.9 darwin/amd64
Description:
There is a deprecation messages while making project1.
# github.com/shirou/gopsutil/disk
iostat_darwin.c:28:2: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here