mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 17:37:46 +08:00

full diff: https://github.com/golang/sys/compare/v0.18.0...v0.20.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
343 B
Go
14 lines
343 B
Go
// Copyright 2023 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos
|
|
|
|
package unix
|
|
|
|
var mapper = &mmapper{
|
|
active: make(map[*byte][]byte),
|
|
mmap: mmap,
|
|
munmap: munmap,
|
|
}
|