This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
rclone
Watch
2
Star
0
Fork
0
You've already forked rclone
mirror of
https://github.com/rclone/rclone.git
synced
2024-12-20 18:35:58 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
94997d25d2
rclone
/
lib
/
buildinfo
/
cgo.go
8 lines
79 B
Go
Raw
Normal View
History
Unescape
Escape
build: apply gofmt from golang 1.17
2021-09-09 20:25:25 +08: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 20:13:09 +08:00
package
buildinfo
func
init
(
)
{
Tags
=
append
(
Tags
,
"cgo"
)
}
Reference in New Issue
Copy Permalink