Skip to content

Commit

Permalink
Something changed in go 1.17 to make this a failure now. (#631)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Lorenc <dlorenc@google.com>
  • Loading branch information
dlorenc committed Sep 6, 2021
1 parent a05fb65 commit 53fbe01
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions cmd/cosign/cli/pivcli/disabled.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !pivkey || !cgo
// +build !pivkey !cgo

// Copyright 2021 The Sigstore Authors
Expand Down
1 change: 1 addition & 0 deletions pkg/cosign/pivkey/disabled.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !pivkey || !cgo
// +build !pivkey !cgo

// Copyright 2021 The Sigstore Authors.
Expand Down
4 changes: 2 additions & 2 deletions pkg/cosign/pivkey/pivkey.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// +build pivkey
// +build cgo
//go:build pivkey && cgo
// +build pivkey,cgo

// Copyright 2021 The Sigstore Authors.
//
Expand Down
4 changes: 2 additions & 2 deletions pkg/cosign/pivkey/util.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// +build pivkey
// +build cgo
//go:build pivkey && cgo
// +build pivkey,cgo

// Copyright 2021 The Sigstore Authors
//
Expand Down

0 comments on commit 53fbe01

Please sign in to comment.