-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from tailscale/update-go1.22.5
Update go1.22.5
- Loading branch information
Showing
41 changed files
with
673 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
go1.22.4 | ||
time 2024-05-30T19:26:07Z | ||
go1.22.5 | ||
time 2024-06-27T20:11:12Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/cmd/cgo/internal/testplugin/testdata/issue67976/plugin.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2024 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package main | ||
|
||
import ( | ||
"io" | ||
"runtime/pprof" | ||
) | ||
|
||
func main() {} | ||
|
||
func Start() { | ||
pprof.StartCPUProfile(io.Discard) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/cmd/go/testdata/mod/example.com_retract_newergoversion_v1.0.0.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- .mod -- | ||
module example.com/retract/newergoversion | ||
|
||
go 1.21 | ||
|
||
-- .info -- | ||
{"Version":"v1.0.0"} | ||
|
||
-- retract.go -- | ||
package newergoversion |
12 changes: 12 additions & 0 deletions
12
src/cmd/go/testdata/mod/example.com_retract_newergoversion_v1.2.0.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- .mod -- | ||
module example.com/retract/newergoversion | ||
|
||
go 1.23 | ||
|
||
retract v1.2.0 | ||
|
||
-- .info -- | ||
{"Version":"v1.2.0"} | ||
|
||
-- retract.go -- | ||
package newergoversion |
20 changes: 20 additions & 0 deletions
20
src/cmd/go/testdata/script/list_retractions_issue66403.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# For issue #66403, go list -u -m all should not fail if a module | ||
# with retractions has a newer version. | ||
|
||
env TESTGO_VERSION=go1.21 | ||
env TESTGO_VERSION_SWITCH=switch | ||
go list -u -m example.com/retract/newergoversion | ||
stdout 'example.com/retract/newergoversion v1.0.0' | ||
! stdout 'v1.2.0' | ||
|
||
-- go.mod -- | ||
module example.com/m | ||
|
||
go 1.22 | ||
|
||
require example.com/retract/newergoversion v1.0.0 | ||
|
||
-- main.go -- | ||
package main | ||
|
||
import _ "example.com/retract/newergoversion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[!fuzz] skip | ||
[!cgo] skip | ||
[short] skip | ||
env GOCACHE=$WORK/cache | ||
|
||
# Test that fuzzing works with cgo (issue 65169) | ||
|
||
go test -fuzz=. -fuzztime=1x | ||
stdout ok | ||
! stdout FAIL | ||
|
||
-- go.mod -- | ||
module example.com/p | ||
|
||
go 1.20 | ||
-- c.go -- | ||
package p | ||
|
||
import "C" | ||
-- c_test.go -- | ||
package p | ||
|
||
import "testing" | ||
|
||
func Fuzz(f *testing.F) { | ||
f.Add(0) | ||
f.Fuzz(func(t *testing.T, x int) {}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.