metrics: disable CPU stats (gosigar) on Darwing when nocgo is passed.

This commit is contained in:
Bogdan Habic 2020-03-27 21:48:54 +01:00
parent 5d7e5b00be
commit 0b6eabf0dd
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// +build ios
// +build ios darwin,!cgo
package metrics

View file

@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// +build !ios
// +build darwin,cgo dragonfly freebsd linux nacl netbsd openbsd solaris windows
package metrics