Explorar o código

accounts/keystore: enable fallback for darwin,!cgo (#19614)

Without this, accounts/keystore fails to build for Darwin with
CGO_ENABLED=0.
Jeremy Schlatter %!s(int64=6) %!d(string=hai) anos
pai
achega
a184ab7a61
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      accounts/keystore/watch.go
  2. 1 1
      accounts/keystore/watch_fallback.go

+ 1 - 1
accounts/keystore/watch.go

@@ -14,7 +14,7 @@
 // You should have received a copy of the GNU Lesser General Public License
 // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
 
-// +build darwin,!ios freebsd linux,!arm64 netbsd solaris
+// +build darwin,!ios,cgo freebsd linux,!arm64 netbsd solaris
 
 package keystore
 

+ 1 - 1
accounts/keystore/watch_fallback.go

@@ -14,7 +14,7 @@
 // You should have received a copy of the GNU Lesser General Public License
 // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
 
-// +build 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.