mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #6776 from milantracy:arm64
PiperOrigin-RevId: 405451989
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
@@ -491,4 +491,5 @@ func init() {
|
||||
initCPUInfo()
|
||||
initHwCap()
|
||||
initFeaturesFromString()
|
||||
hostFeatureSet = getHostFeatureSet()
|
||||
}
|
||||
|
||||
@@ -1109,4 +1109,5 @@ func initFeaturesFromString() {
|
||||
func init() {
|
||||
initCPUFreq()
|
||||
initFeaturesFromString()
|
||||
hostFeatureSet = getHostFeatureSet()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user