mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
mount: constrain to go1.13 or above otherwise bazil.org/fuse fails to compile
This commit is contained in:
parent
9663f9b2ab
commit
17b4058ee9
6
backend/cache/cache_mount_other_test.go
vendored
6
backend/cache/cache_mount_other_test.go
vendored
|
@ -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
|
||||
|
|
2
backend/cache/cache_mount_unix_test.go
vendored
2
backend/cache/cache_mount_unix_test.go
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user