Files
sing-box/common/srs/mmap_stub.go
T

14 lines
240 B
Go

//go:build !unix
package srs
import (
"os"
E "github.com/sagernet/sing/common/exceptions"
)
func mmapFile(file *os.File, size int) ([]byte, func(), error) {
return nil, nil, E.New("rule-set mmap is not supported on this platform")
}