Skip to content

Commit 51df969

Browse files
committed
chacha20: drop Go 1.10 compatibility for arm64
Other packages already dropped compatibility with go < 1.12, so it should be safe to remove it for this package as well.
1 parent 334521b commit 51df969

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

chacha20/chacha_arm64.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +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 go1.11 && gc && !purego
6-
// +build go1.11,gc,!purego
5+
//go:build gc && !purego
6+
// +build gc,!purego
77

88
package chacha20
99

chacha20/chacha_arm64.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +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 go1.11 && gc && !purego
6-
// +build go1.11,gc,!purego
5+
//go:build gc && !purego
6+
// +build gc,!purego
77

88
#include "textflag.h"
99

chacha20/chacha_noasm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +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 (!arm64 && !s390x && !ppc64le) || (arm64 && !go1.11) || !gc || purego
6-
// +build !arm64,!s390x,!ppc64le arm64,!go1.11 !gc purego
5+
//go:build (!arm64 && !s390x && !ppc64le) || !gc || purego
6+
// +build !arm64,!s390x,!ppc64le !gc purego
77

88
package chacha20
99

0 commit comments

Comments
 (0)