Skip to content

Commit

Permalink
sweet/benchmarks/etcd: don't build on Plan 9
Browse files Browse the repository at this point in the history
This package has no relevance for Plan 9 and won't build because of
references to undefined symbols like syscall.UnixRights. Add a
!plan9 build tag to avoid this.

Fixes golang/go#68287

Change-Id: I4a0bb76d26f585b8e0371febb98ae0c57b84c237
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/596437
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Than McIntosh <[email protected]>
  • Loading branch information
millerresearch authored and thanm committed Jul 5, 2024
1 parent 1a6c737 commit 95aff49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sweet/benchmarks/etcd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !wasm
//go:build !wasm && !plan9

package main

Expand Down

0 comments on commit 95aff49

Please sign in to comment.