浏览代码

Merge pull request #2492 from fjl/accounts-arm64

accounts: disable file system watch on linux/arm64
Péter Szilágyi 9 年之前
父节点
当前提交
db62979514
共有 2 个文件被更改,包括 2 次插入2 次删除
  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.