Disable large page testing on 32-bit platforms
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c41d6c8080
commit
b0265950b6
|
@ -38,6 +38,7 @@ import (
|
|||
"runtime"
|
||||
"slices"
|
||||
"strings"
|
||||
"unsafe"
|
||||
)
|
||||
import "testing"
|
||||
|
||||
|
@ -92,6 +93,10 @@ func testFlags(name string, flags Flags) (f Flags, skip bool) {
|
|||
if largePageAllocator == nil {
|
||||
return flags, true
|
||||
}
|
||||
if unsafe.Sizeof(uint(0)) < 8 {
|
||||
//not 64-bit platforms
|
||||
return flags, true
|
||||
}
|
||||
}
|
||||
|
||||
return flags, false
|
||||
|
|
Loading…
Reference in a new issue