mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:23:48 +08:00
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.
8 lines
78 B
Go
8 lines
78 B
Go
// +build cgo
|
|
|
|
package buildinfo
|
|
|
|
func init() {
|
|
Tags = append(Tags, "cgo")
|
|
}
|