| 1 | //go:build !tinygo.wasm && !re2_cgo && wasm |
| 2 | |
| 3 | package internal |
| 4 | |
| 5 | // While we normally use pointer size to determine a 32-bit system, Go |
| 6 | // uses 64-bit pointers even with a 32-bit address space. So we go ahead |
| 7 | // and recognize this special case and lower our max pages. |
| 8 | const defaultMaxPages = uint32(65536 / 4) |