Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion accounts/keystore/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build (darwin && !ios && cgo) || freebsd || (linux && !arm64) || netbsd || solaris
// +build darwin,!ios,cgo freebsd linux,!arm64 netbsd solaris

package keystore

Expand Down
1 change: 0 additions & 1 deletion accounts/keystore/watch_fallback.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build (darwin && !cgo) || ios || (linux && arm64) || windows || (!darwin && !freebsd && !linux && !netbsd && !solaris)
// +build darwin,!cgo ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris

// This is the fallback implementation of directory watching.
// It is used on unsupported platforms.
Expand Down
1 change: 0 additions & 1 deletion common/bitutil/compress_fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.

//go:build gofuzz
// +build gofuzz

package bitutil

Expand Down
1 change: 0 additions & 1 deletion common/fdlimit/fdlimit_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build freebsd || dragonfly
// +build freebsd dragonfly

package fdlimit

Expand Down
1 change: 0 additions & 1 deletion common/fdlimit/fdlimit_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build linux || netbsd || openbsd || solaris
// +build linux netbsd openbsd solaris

package fdlimit

Expand Down
1 change: 0 additions & 1 deletion core/mkalloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.

//go:build none
// +build none

/*
The mkalloc tool creates the genesis allocation constants in genesis_alloc.go
Expand Down
1 change: 0 additions & 1 deletion core/vm/runtime/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.

//go:build gofuzz
// +build gofuzz

package runtime

Expand Down
1 change: 0 additions & 1 deletion crypto/blake2b/blake2bAVX2_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build go1.7 && amd64 && !gccgo && !appengine
// +build go1.7,amd64,!gccgo,!appengine

package blake2b

Expand Down
1 change: 0 additions & 1 deletion crypto/blake2b/blake2b_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !go1.7 && amd64 && !gccgo && !appengine
// +build !go1.7,amd64,!gccgo,!appengine

package blake2b

Expand Down
1 change: 0 additions & 1 deletion crypto/blake2b/blake2b_f_fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package blake2b

Expand Down
1 change: 0 additions & 1 deletion crypto/blake2b/blake2b_f_fuzz_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Only enable fuzzer on platforms with AVX enabled
//go:build go1.7 && amd64 && !gccgo && !appengine
// +build go1.7,amd64,!gccgo,!appengine

package blake2b

Expand Down
1 change: 0 additions & 1 deletion crypto/blake2b/blake2b_ref.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !amd64 || appengine || gccgo
// +build !amd64 appengine gccgo

package blake2b

Expand Down
1 change: 0 additions & 1 deletion crypto/blake2b/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build go1.9
// +build go1.9

package blake2b

Expand Down
1 change: 0 additions & 1 deletion crypto/bls12381/arithmetic_decl.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build (amd64 && blsasm) || (amd64 && blsadx)
// +build amd64,blsasm amd64,blsadx

package bls12381

Expand Down
1 change: 0 additions & 1 deletion crypto/bls12381/arithmetic_fallback.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crypto/bls12381/arithmetic_x86_adx.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build amd64 && blsadx
// +build amd64,blsadx

package bls12381

Expand Down
1 change: 0 additions & 1 deletion crypto/bls12381/arithmetic_x86_noadx.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build amd64 && blsasm
// +build amd64,blsasm

package bls12381

Expand Down
1 change: 0 additions & 1 deletion crypto/bn256/bn256_fast.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// in the LICENSE file.

//go:build amd64 || arm64
// +build amd64 arm64

// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
package bn256
Expand Down
1 change: 0 additions & 1 deletion crypto/bn256/bn256_fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// in the LICENSE file.

//go:build gofuzz
// +build gofuzz

package bn256

Expand Down
1 change: 0 additions & 1 deletion crypto/bn256/bn256_slow.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// in the LICENSE file.

//go:build !amd64 && !arm64
// +build !amd64,!arm64

// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
package bn256
Expand Down
1 change: 0 additions & 1 deletion crypto/bn256/cloudflare/gfp_decl.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build (amd64 && !generic) || (arm64 && !generic)
// +build amd64,!generic arm64,!generic

package bn256

Expand Down
1 change: 0 additions & 1 deletion crypto/bn256/cloudflare/gfp_generic.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build (!amd64 && !arm64) || generic
// +build !amd64,!arm64 generic

package bn256

Expand Down
1 change: 0 additions & 1 deletion crypto/secp256k1/dummy.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build dummy
// +build dummy

// This file is part of a workaround for `go mod vendor` which won't vendor
// C files if there's no Go file in the same directory.
Expand Down
1 change: 0 additions & 1 deletion crypto/secp256k1/scalar_mult_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// the LICENSE file.

//go:build gofuzz || !cgo
// +build gofuzz !cgo

package secp256k1

Expand Down
1 change: 0 additions & 1 deletion crypto/secp256k1/secp256_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// the LICENSE file.

//go:build !gofuzz && cgo
// +build !gofuzz,cgo

package secp256k1

Expand Down
1 change: 0 additions & 1 deletion crypto/signature_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.

//go:build !nacl && !js && !wasip1 && cgo && !gofuzz && !tinygo
// +build !nacl,!js,!wasip1,cgo,!gofuzz,!tinygo

package crypto

Expand Down
1 change: 0 additions & 1 deletion crypto/signature_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.

//go:build nacl || js || wasip1 || !cgo || gofuzz || tinygo
// +build nacl js wasip1 !cgo gofuzz tinygo

package crypto

Expand Down
1 change: 0 additions & 1 deletion crypto/signify/signify_fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build gofuzz
// +build gofuzz

package signify

Expand Down
1 change: 0 additions & 1 deletion ctxcdb/leveldb/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build !js && !wasip1
// +build !js,!wasip1

// Package leveldb implements the key-value database layer based on LevelDB.
package leveldb
Expand Down
1 change: 0 additions & 1 deletion event/feedof.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build go1.18
// +build go1.18

package event

Expand Down
1 change: 0 additions & 1 deletion event/feedof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build go1.18
// +build go1.18

package event

Expand Down
1 change: 0 additions & 1 deletion metrics/cpu_disabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build ios || js || wasip1 || tinygo
// +build ios js wasip1 tinygo

package metrics

Expand Down
1 change: 0 additions & 1 deletion metrics/cpu_enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build !ios && !js && !wasip1 && !tinygo
// +build !ios,!js,!wasip1,!tinygo

package metrics

Expand Down
1 change: 0 additions & 1 deletion metrics/cputime_nop.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build windows || js || tinygo
// +build windows js tinygo

package metrics

Expand Down
1 change: 0 additions & 1 deletion metrics/cputime_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build !windows && !js && !wasip1 && !tinygo
// +build !windows,!js,!wasip1,!tinygo

package metrics

Expand Down
1 change: 0 additions & 1 deletion metrics/disk_nop.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build !linux
// +build !linux

package metrics

Expand Down
1 change: 0 additions & 1 deletion metrics/syslog.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package metrics

Expand Down
1 change: 0 additions & 1 deletion p2p/netutil/toobig_notwindows.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build !windows
// +build !windows

package netutil

Expand Down
1 change: 0 additions & 1 deletion p2p/netutil/toobig_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build windows
// +build windows

package netutil

Expand Down
1 change: 0 additions & 1 deletion rlp/safe.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build nacl || js || !cgo
// +build nacl js !cgo

package rlp

Expand Down
1 change: 0 additions & 1 deletion rlp/unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build !nacl && !js && cgo
// +build !nacl,!js,cgo

package rlp

Expand Down
1 change: 0 additions & 1 deletion rpc/ipc_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build js
// +build js

package rpc

Expand Down
1 change: 0 additions & 1 deletion rpc/ipc_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build darwin || dragonfly || freebsd || linux || nacl || netbsd || openbsd || solaris
// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris

package rpc

Expand Down
1 change: 0 additions & 1 deletion rpc/ipc_wasip1.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build wasip1
// +build wasip1

package rpc

Expand Down
1 change: 0 additions & 1 deletion rpc/ipc_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build windows
// +build windows

package rpc

Expand Down
Loading