src/internal/runtime/gc/scan/mem_nounix_test.go
raw| 1 | // Copyright 2025 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build !unix |
| 6 | |
| 7 | package scan_test |
| 8 | |
| 9 | import ( |
| 10 | "testing" |
| 11 | ) |
| 12 | |
| 13 | func makeMem(t testing.TB, nPages int) ([]uintptr, func()) { |
| 14 | t.Skip("mmap unsupported") |
| 15 | return nil, nil |
| 16 | } |