mount: constrain to go1.13 or above otherwise bazil.org/fuse fails to compile

This commit is contained in:
Nick Craig-Wood 2020-02-26 16:28:55 +00:00
parent 9663f9b2ab
commit 17b4058ee9
9 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
// +build !linux !go1.11
// +build !darwin !go1.11
// +build !freebsd !go1.11
// +build !linux !go1.13
// +build !darwin !go1.13
// +build !freebsd !go1.13
// +build !windows
package cache_test

View File

@ -1,4 +1,4 @@
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package cache_test

View File

@ -1,4 +1,4 @@
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package mount

View File

@ -1,4 +1,4 @@
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package mount

View File

@ -1,6 +1,6 @@
// FUSE main Fs
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package mount

View File

@ -1,4 +1,4 @@
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package mount

View File

@ -1,6 +1,6 @@
// Package mount implents a FUSE mounting system for rclone remotes.
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package mount

View File

@ -1,4 +1,4 @@
// +build linux,go1.11 darwin,go1.11 freebsd,go1.11
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
package mount

View File

@ -1,14 +1,14 @@
// Build for mount for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// Invert the build constraint: linux,go1.11 darwin,go1.11 freebsd,go1.11
// Invert the build constraint: linux,go1.13 darwin,go1.13 freebsd,go1.13
//
// !((linux&&go1.11) || (darwin&&go1.11) || (freebsd&&go1.11))
// == !(linux&&go1.11) && !(darwin&&go1.11) && !(freebsd&&go1.11))
// == (!linux || !go1.11) && (!darwin || go1.11) && (!freebsd || !go1.11))
// !((linux&&go1.13) || (darwin&&go1.13) || (freebsd&&go1.13))
// == !(linux&&go1.13) && !(darwin&&go1.13) && !(freebsd&&go1.13))
// == (!linux || !go1.13) && (!darwin || go1.13) && (!freebsd || !go1.13))
// +build !linux !go1.11
// +build !darwin !go1.11
// +build !freebsd !go1.11
// +build !linux !go1.13
// +build !darwin !go1.13
// +build !freebsd !go1.13
package mount