This website requires JavaScript.
Explore
Help
Sign In
extern
/
rclone
Watch
1
Star
0
Fork
0
You've already forked rclone
mirror of
https://github.com/rclone/rclone.git
synced
2024-12-26 00:49:22 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
6d620b6d88
rclone
/
lib
/
buildinfo
/
cgo.go
9 lines
93 B
Go
Raw
Normal View
History
Unescape
Escape
build: apply gofmt from golang 1.17
2021-09-09 14:25:25 +02:00
//go:build cgo
version: show build tags and type of executable 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.
2021-03-21 13:13:09 +01:00
// +build cgo
package
buildinfo
func
init
(
)
{
Tags
=
append
(
Tags
,
"cgo"
)
}
Reference in New Issue
Copy Permalink