libgo: update to Go 1.11
[official-gcc.git] / libgo / go / net / main_noconf_test.go
blob55e37708354eec2886d4ae6becd3baf3bd973436
1 // Copyright 2015 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.
5 // +build js,wasm nacl plan9 windows
7 package net
9 import "runtime"
11 // See main_conf_test.go for what these (don't) do.
12 func forceGoDNS() func() {
13 switch runtime.GOOS {
14 case "plan9", "windows":
15 return func() {}
16 default:
17 return nil
21 // See main_conf_test.go for what these (don't) do.
22 func forceCgoDNS() func() { return nil }