Files
tools/internal/cap/cinit_other.go
Timmy Welch b8fc58bd9f
Some checks failed
gokrazy CI / CI (macos-latest) (push) Has been cancelled
gokrazy CI / CI (ubuntu-latest) (push) Has been cancelled
gokrazy CI / CI (windows-latest) (push) Has been cancelled
Add support for defining package capabilities
2025-12-28 14:51:38 -08:00

13 lines
257 B
Go

//go:build !linux
package cap
// cInit performs the lazy identification of the capability vintage of
// the running system.
func cInit() {
if maxValues == 0 {
// Fall back to using the largest value defined at build time.
maxValues = NamedCount
}
}