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-11-29 03:48:27 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
bdfe213c47
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 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
// +build cgo
package
buildinfo
func
init
(
)
{
Tags
=
append
(
Tags
,
"cgo"
)
}
Reference in New Issue
Copy Permalink