mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-11-10 21:21:02 +08:00
14 lines
240 B
Go
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")
|
|
}
|