Skip to content

Commit

Permalink
internal: align build flag
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Mar 29, 2024
1 parent db87b05 commit df85a7f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/sm2ec/p256_asm_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// 256-bit primes"
// http://link.springer.com/article/10.1007%2Fs13389-014-0090-x
// https://eprint.iacr.org/2013/816.pdf
//go:build arm64 && !purego
//go:build !purego

#include "textflag.h"

Expand Down
2 changes: 1 addition & 1 deletion internal/subtle/xor_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 amd64 && !purego
//go:build !purego

package subtle

Expand Down
2 changes: 1 addition & 1 deletion internal/subtle/xor_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 amd64 && !purego
//go:build !purego

#include "textflag.h"

Expand Down
2 changes: 1 addition & 1 deletion internal/subtle/xor_arm64.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 arm64 && !purego
//go:build !purego

package subtle

Expand Down
2 changes: 1 addition & 1 deletion internal/subtle/xor_arm64.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 arm64 && !purego
//go:build !purego

#include "textflag.h"

Expand Down
2 changes: 1 addition & 1 deletion internal/subtle/xor_generic.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 !amd64 && !arm64 || purego
//go:build purego || !(amd64 || arm64)

package subtle

Expand Down

0 comments on commit df85a7f

Please sign in to comment.