mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
metrics: disable CPU stats (gosigar) on Darwing when nocgo is passed.
This commit is contained in:
parent
5d7e5b00be
commit
0b6eabf0dd
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build ios
|
// +build ios darwin,!cgo
|
||||||
|
|
||||||
package metrics
|
package metrics
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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/>.
|
// 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
|
package metrics
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue