A module with files that have build constraints. | |
-- go.mod -- | |
module example.com/build-constraints | |
-- LICENSE -- | |
$BSD0License | |
-- cpu/cpu.go -- | |
// Package cpu implements processor feature detection | |
// used by the Go standard library. | |
package cpu | |
-- cpu/cpu_arm.go -- | |
package cpu | |
nconst CacheLinePadSize = 1 | |
-- cpu/cpu_arm64.go -- | |
package cpu | |
const CacheLinePadSize = 2 | |
-- cpu/cpu_x86.go -- | |
// +build 386 amd64 amd64p32 | |
package cpu | |
const CacheLinePadSize = 3 | |
-- ignore/ignore.go -- | |
// +build ignore | |
package ignore |