From ef9217e7bd9c854e4f8d2d79ff8aec550130cbc4 Mon Sep 17 00:00:00 2001 From: Richard Musiol Date: Sun, 4 Mar 2018 12:18:32 +0100 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/net/timeout_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/timeout_test.go') diff --git a/src/net/timeout_test.go b/src/net/timeout_test.go index 0ecf5a6d25..7c7d0c8993 100644 --- a/src/net/timeout_test.go +++ b/src/net/timeout_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 ( -- cgit v1.3