diff options
author | Jing Chen <milantracy@gmail.com> | 2021-10-23 15:38:28 -0700 |
---|---|---|
committer | Jing Chen <milantracy@gmail.com> | 2021-10-23 15:39:57 -0700 |
commit | c0dfa0e845b3571550e84bdebb411b119086b4aa (patch) | |
tree | ab0e66c2ba0d822963a774ef2e138530ca0e8d7a /pkg/cpuid/cpuid.go | |
parent | de9090dde9d9dd3f9c5bd8c7bda831132828bc04 (diff) |
initialize hostFeatureSet from init function
Diffstat (limited to 'pkg/cpuid/cpuid.go')
-rw-r--r-- | pkg/cpuid/cpuid.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cpuid/cpuid.go b/pkg/cpuid/cpuid.go index 4d5e062a8..e1ea9b32c 100644 --- a/pkg/cpuid/cpuid.go +++ b/pkg/cpuid/cpuid.go @@ -43,7 +43,7 @@ func HostFeatureSet() *FeatureSet { return hostFeatureSet } -var hostFeatureSet = getHostFeatureSet() +var hostFeatureSet *FeatureSet // ErrIncompatible is returned by FeatureSet.HostCompatible if fs is not a // subset of the host feature set. |