This website requires JavaScript.
Explore
Help
Sign in
TrueCloudLab
/
rclone
Watch
16
Star
0
Fork
You've already forked rclone
2
Code
Issues
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
1
0df7466d2b
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 12:25:25 +00: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 12:13:09 +00:00
// +build cgo
package
buildinfo
func
init
(
)
{
Tags
=
append
(
Tags
,
"cgo"
)
}
Reference in a new issue
Copy permalink