Skip to content

Commit

Permalink
blake2b: drop Go 1.6, Go 1.8 compatibility
Browse files Browse the repository at this point in the history
Other packages already dropped compatibility with go < 1.12, so it
should be safe to remove it for this package as well.
  • Loading branch information
thaJeztah committed Nov 9, 2023
1 parent a2edfb5 commit 2b4f576
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion blake2b/blake2bAVX2_amd64.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 go1.7 && amd64 && gc && !purego
//go:build amd64 && gc && !purego

package blake2b

Expand Down
2 changes: 1 addition & 1 deletion blake2b/blake2bAVX2_amd64.s
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 go1.7 && amd64 && gc && !purego
//go:build amd64 && gc && !purego

#include "textflag.h"

Expand Down
24 changes: 0 additions & 24 deletions blake2b/blake2b_amd64.go

This file was deleted.

2 changes: 0 additions & 2 deletions blake2b/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.9

package blake2b

import (
Expand Down

0 comments on commit 2b4f576

Please sign in to comment.