Skip to content

Commit 1e0d4ee

Browse files
committed
go/analysis/checker: disable Example on wasm
packages.Load needs os.Pipe. Fixes golang/go#70502 Change-Id: I4fd5c0a0a4e2d76fdda24d474e9f0465462d649a Reviewed-on: https://go-review.googlesource.com/c/tools/+/630677 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]> Reviewed-by: Tim King <[email protected]>
1 parent 8b6e84b commit 1e0d4ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/analysis/checker/example_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !wasm
6+
57
// The example command demonstrates a simple go/packages-based
68
// analysis driver program.
79
package checker_test

0 commit comments

Comments
 (0)