Skip to content

Commit 2802230

Browse files
millerresearchgopherbot
authored andcommitted
sweet: disable get subcommand on plan9
Repo x/benchmarks tests have been failing on plan9 because the sweet tool uses linux-dependent modules which don't build on plan9. CL 689187 fixes the analogous problem for wasm, by making a wasm-specific stub for the get subcommand. Here we extend the change to apply to plan9 as well. Fixes golang/go#74149 Change-Id: I25e232a5fbce001b74c63114577ac17d6bbf3bbe Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/693896 Auto-Submit: Michael Pratt <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent a707a58 commit 2802230

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sweet/cmd/sweet/get_nowasm.go renamed to sweet/cmd/sweet/get_cipd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
5+
//go:build !wasm && !plan9
66

77
package main
88

sweet/cmd/sweet/get_wasm.go renamed to sweet/cmd/sweet/get_nocipd.go

Lines changed: 3 additions & 1 deletion
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 || plan9
6+
57
package main
68

79
import (
@@ -12,5 +14,5 @@ import (
1214

1315
func (c *getCmd) Run(_ []string) error {
1416
log.SetActivityLog(true)
15-
return errors.New("get unsupported on wasm: CIPD not supported on wasm")
17+
return errors.New("get unsupported on this platform: CIPD not supported on this platform")
1618
}

0 commit comments

Comments
 (0)