mirror of
https://github.com/rclone/rclone.git
synced 2025-02-20 10:48:30 +08:00

This was necessary because go1.14 seems to have a modules related bug which means it tries to build modules even though the uses of them are all disabled with build constraints. This seems to be fixed in go1.15.
9 lines
201 B
Go
9 lines
201 B
Go
//go:build !go1.15
|
|
// +build !go1.15
|
|
|
|
package fs
|
|
|
|
// Upgrade to Go version 1.15 to compile rclone - latest stable go
|
|
// compiler recommended.
|
|
func init() { Go_version_1_15_required_for_compilation() }
|