mirror of
https://github.com/luxfi/metric.git
synced 2026-07-27 04:12:44 +00:00
Fix Windows build: correct build tags for platform-specific files
- process_metrics_unix.go: //go:build unix (for Linux, Darwin, BSD) - process_metrics_windows.go: //go:build windows (unchanged) - process_metrics_other.go: //go:build !unix && !windows (for plan9, js/wasm)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2020-2026, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
//go:build windows
|
||||
//go:build !unix && !windows
|
||||
|
||||
package metric
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2020-2026, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
//go:build !windows
|
||||
//go:build unix
|
||||
|
||||
package metric
|
||||
|
||||
|
||||
Reference in New Issue
Block a user