mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
This should fix compiling from the source tarball with Go 1.18.
This commit is contained in:
2
build.go
2
build.go
@@ -883,7 +883,7 @@ func shouldRebuildAssets(target, srcdir string) bool {
|
||||
|
||||
func updateDependencies() {
|
||||
runPrint(goCmd, "get", "-u", "./cmd/...")
|
||||
runPrint(goCmd, "mod", "tidy", "-go=1.16", "-compat=1.16")
|
||||
runPrint(goCmd, "mod", "tidy", "-go=1.17", "-compat=1.17")
|
||||
|
||||
// We might have updated the protobuf package and should regenerate to match.
|
||||
proto()
|
||||
|
||||
Reference in New Issue
Block a user