diff options
author | Jakob Borg <jakob@kastelo.net> | 2022-12-21 22:01:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 22:01:00 +0100 |
commit | ad0044fec863cfabce06e0335fa303a3eefa646f (patch) | |
tree | dd71350b92c132bf715ea73b1ec0af1a2bf9dec4 | |
parent | d157d12037c3aedcdb352b148e36cb83367c92ce (diff) |
lib/fs: Watching is unsupported on android/amd64 (fixes #8709) (#8710)
-rw-r--r-- | lib/fs/basicfs_watch.go | 6 | ||||
-rw-r--r-- | lib/fs/basicfs_watch_unsupported.go | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/fs/basicfs_watch.go b/lib/fs/basicfs_watch.go index d26f83ed03..83aea94e78 100644 --- a/lib/fs/basicfs_watch.go +++ b/lib/fs/basicfs_watch.go @@ -4,8 +4,10 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at http://mozilla.org/MPL/2.0/. -//go:build (!solaris && !darwin) || (solaris && cgo) || (darwin && cgo) -// +build !solaris,!darwin solaris,cgo darwin,cgo +//go:build !(solaris && !cgo) && !(darwin && !cgo) && !(android && amd64) +// +build !solaris cgo +// +build !darwin cgo +// +build !android !amd64 package fs diff --git a/lib/fs/basicfs_watch_unsupported.go b/lib/fs/basicfs_watch_unsupported.go index 753eb68137..fa4ab80da9 100644 --- a/lib/fs/basicfs_watch_unsupported.go +++ b/lib/fs/basicfs_watch_unsupported.go @@ -4,8 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at http://mozilla.org/MPL/2.0/. -//go:build (solaris && !cgo) || (darwin && !cgo) -// +build solaris,!cgo darwin,!cgo +//go:build (solaris && !cgo) || (darwin && !cgo) || (android && amd64) +// +build solaris,!cgo darwin,!cgo android,amd64 package fs |