Explorar o código

accounts: disable file system watch on linux/arm64

Felix Lange %!s(int64=9) %!d(string=hai) anos
pai
achega
6a543607ef
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      accounts/watch.go
  2. 1 1
      accounts/watch_fallback.go

+ 1 - 1
accounts/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 netbsd solaris windows
+// +build darwin,!ios freebsd linux,!arm64 netbsd solaris windows
 
 package accounts
 

+ 1 - 1
accounts/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 !darwin,!freebsd,!linux,!netbsd,!solaris,!windows
+// +build ios linux,arm64 !darwin,!freebsd,!linux,!netbsd,!solaris,!windows
 
 // This is the fallback implementation of directory watching.
 // It is used on unsupported platforms.