diff options
author | Richard Musiol <mail@richard-musiol.de> | 2018-03-04 12:18:32 +0100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-06-04 16:01:50 +0000 |
commit | ef9217e7bd9c854e4f8d2d79ff8aec550130cbc4 (patch) | |
tree | ee9dc3f06e8eef45d99a55e1ee78c4abad594e2e /src/net/dial_test.go | |
parent | 0680c03ea49ae1ae0a797255f98f48ccf41a084f (diff) | |
download | go-ef9217e7bd9c854e4f8d2d79ff8aec550130cbc4.tar.gz go-ef9217e7bd9c854e4f8d2d79ff8aec550130cbc4.zip |
net: add js/wasm architecture
This commit adds the js/wasm architecture to the net package.
The net package is not supported by js/wasm, but a simple fake
networking is available so tests of other packages that require
basic TCP sockets can pass. The tests of the net package itself
are mostly disabled.
Updates #18892
Change-Id: Id287200c39f0a3e23d20ef17260ca15ccdcca032
Reviewed-on: https://go-review.googlesource.com/109995
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/dial_test.go')
-rw-r--r-- | src/net/dial_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/dial_test.go b/src/net/dial_test.go index 3934ad8648..00a84d17d6 100644 --- a/src/net/dial_test.go +++ b/src/net/dial_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !js + package net import ( |