b178bfabd9
I'm not entirely sure why this didn't work, but explicitly list the unsupported platforms as identified by `go tool dist list`
14 lines
257 B
Go
14 lines
257 B
Go
// +build android nacl plan9 windows
|
|
|
|
package mlock
|
|
|
|
func init() {
|
|
supported = false
|
|
}
|
|
|
|
func lockMemory() error {
|
|
// XXX: No good way to do this on Windows. There is the VirtualLock
|
|
// method, but it requires a specific address and offset.
|
|
return nil
|
|
}
|