Skip to content

Commit

Permalink
go/analysis/checker: disable Example on wasm
Browse files Browse the repository at this point in the history
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Tim King <taking@google.com>
  • Loading branch information
adonovan committed Nov 21, 2024
1 parent 8b6e84b commit 1e0d4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/analysis/checker/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !wasm

// The example command demonstrates a simple go/packages-based
// analysis driver program.
package checker_test
Expand Down

0 comments on commit 1e0d4ee

Please sign in to comment.