ef5c212f9b
This patch modifies the output of `rclone version`. The `os/arch` line is split into `os/type` and `os/arch`. The `go version` line is now tagged as `go/version` for consistency. Additionally the `go/linking` line tells whether the rclone was linked as a static or dynamic executable. The new `go/tags` line shows a space separated list of build tags. The info about linking and build tags is also added to the output of the `core/version` RC endpoint.
7 lines
78 B
Go
7 lines
78 B
Go
// +build cgo
|
|
|
|
package buildinfo
|
|
|
|
func init() {
|
|
Tags = append(Tags, "cgo")
|
|
}
|