Skip to content

Commit

Permalink
cmd/viewcore: skip build on aix
Browse files Browse the repository at this point in the history
./cmd/viewcore depends on github.com/chzyer/readline,
which doesn't build on aix yet.

Updates golang/go#32839

Change-Id: I918667fcbc48a2ed5e8bb550be962932ccc8131d
Reviewed-on: https://go-review.googlesource.com/c/debug/+/192322
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
  • Loading branch information
Bryan C. Mills committed Aug 29, 2019
1 parent 621e2d3 commit 17ca847
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/viewcore/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !aix
// (https://golang.org/issue/32839)

package main

import (
Expand Down
5 changes: 5 additions & 0 deletions cmd/viewcore/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Skip aix for now: github.com/chzyer/readline doesn't support it.
// (https://golang.org/issue/32839)
//
// +build !aix

// The viewcore tool is a command-line tool for exploring the state of a Go process
// that has dumped core.
// Run "viewcore help" for a list of commands.
Expand Down

0 comments on commit 17ca847

Please sign in to comment.