Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5183 commits
Select commit Hold shift + click to select a range
7056c71
cmd/compile: disable use of new saturating float-to-int conversions
dr2chase Oct 14, 2025
36086e8
cmd/go: create temporary cleanup script
jitsu-net Oct 2, 2025
5113496
runtime/pprof: skip flaky test TestProfilerStackDepth/heap for now
matloob Oct 15, 2025
5b29875
cmd/go: inject State parameter into `run.runRun`
jitsu-net Aug 21, 2025
61d1ff6
cmd/compile: use block starting position for phi line number
randall77 Oct 8, 2025
5c9a26c
cmd/compile: use arm64 neon in LoweredMemmove/LoweredMemmoveLoop
vleonen Jul 25, 2025
bb5eb51
runtime/pprof: fix errors in pprof_test
matloob Oct 15, 2025
b5a29cc
cmd/distpack: add fix tool to inventory
adonovan Oct 15, 2025
519ae51
cmd/compile: eliminate bound check for slices of the same length
fengyoulin Aug 26, 2025
284379c
cmd/compile: remove rematerializable values from live set across calls
amusman Sep 28, 2025
6346349
cmd/compile: replace angle brackets with square
willfaught Sep 20, 2025
31f8287
go/types, types2: fix misleading internal comment
Oct 15, 2025
0984dcd
cmd/compile: fix an error in comments
mohanson Oct 15, 2025
f1fed74
cmd: fix three printf problems reported by newest vet
adonovan Oct 15, 2025
b68cebd
net/http/httptest: record failed ResponseWriter writes
neild Oct 14, 2025
27f9a67
runtime: increase repeat count for alloc test
randall77 Oct 15, 2025
45eee55
cmd/internal/obj: move ARM64RegisterExtension from cmd/asm/internal/arch
vleonen Sep 6, 2025
6cbe092
cmd: update to x/tools@7d9453cc
adonovan Sep 26, 2025
e7351c0
runtime: use DC ZVA instead of its encoding in WORD in arm64 memclr
vleonen Aug 23, 2025
41f5659
go/types, types2: remove superfluous unalias call (minor cleanup)
Oct 16, 2025
1099436
go/types, types2: change and enforce lifecycle of Named.fromRHS and N…
Aug 20, 2025
0c14000
go/types, types2: remove under(Type) in favor of Type.Underlying()
Oct 16, 2025
36863d6
runtime: unify riscv64 library entry point
qmuntal Sep 24, 2025
0983090
encoding/pem: properly decode strange PEM data
rolandshoemaker Oct 15, 2025
dbbb1bf
all: correct name for comments
callthingsoff Oct 16, 2025
5137c47
go/types, types2: remove references to under function in comments
Oct 16, 2025
b5aefe0
all: remove unnecessary loop variable copies in tests
tklauser Oct 14, 2025
80876f4
cmd/go/internal/vet: tweak help doc
adonovan Oct 17, 2025
a5f55a4
cmd/fix: add modernize and inline analyzers
adonovan Oct 10, 2025
4ad5585
runtime: fix _rt0_ppc64x_lib on aix
qmuntal Oct 8, 2025
3e43f48
encoding/asn1: use reflect.TypeAssert to improve performance
apocelipes Oct 20, 2025
8d0bef7
runtime: add linkname documentation and guidance
prattmic Aug 29, 2024
58a8fdb
cmd/go: inject State parameter into `bug.runBug`
jitsu-net Oct 2, 2025
f7eaea0
cmd/go: inject state parameter into `clean.runClean`
jitsu-net Oct 8, 2025
29a8162
cmd/go: inject state parameter into `fmtcmd.runFmt`
jitsu-net Oct 3, 2025
35e8309
cmd/go: inject State parameter into `list.runList`
jitsu-net Oct 1, 2025
441e719
cmd/go: inject State parameter into `test.runTest`
jitsu-net Oct 2, 2025
a420aa2
cmd/go: inject State parameter into `tool.runTool`
jitsu-net Oct 8, 2025
386d811
cmd/go: make setState work with any State instance
jitsu-net Oct 16, 2025
0d3044f
cmd/go: make Reset work with any State instance
jitsu-net Oct 16, 2025
bcf7da1
cmd/go: convert functions to methods
jitsu-net Oct 16, 2025
4dc3dd9
cmd/go: add loaderstate to Switcher
jitsu-net Oct 16, 2025
e7c66a5
cmd/go: inject State parameter into `toolchain.Select`
jitsu-net Oct 3, 2025
e176dff
cmd/go: inject State parameter into `modcmd.runDownload`
jitsu-net Oct 8, 2025
92aa3e9
cmd/go: inject State parameter into `modcmd.runInit`
jitsu-net Oct 2, 2025
0f820ac
cmd/go: inject State parameter into `modcmd.runVendor`
jitsu-net Oct 2, 2025
f859799
cmd/go: inject State parameter into `modcmd.runVerify`
jitsu-net Oct 2, 2025
9769a61
cmd/go: inject State parameter into `modget.runGet`
jitsu-net Oct 1, 2025
d9e6f95
cmd/go: inject State parameter into `workcmd.runSync`
jitsu-net Oct 2, 2025
e94a500
cmd/go: inject State parameter into `work.runBuild`
jitsu-net Oct 3, 2025
d57c3fd
cmd/go: inject State parameter into `work.runInstall`
jitsu-net Oct 8, 2025
7503856
cmd/go: inject loaderstate into matcher function
jitsu-net Oct 2, 2025
df33c17
runtime: add _Gdeadextra status
mknyszek Feb 3, 2025
dc9a3e2
runtime: fix generation skew with trace reentrancy
mknyszek Sep 30, 2025
e425176
cmd/asm: fix typo in comment
4a6f656c Oct 20, 2025
7b81a1e
net/url: reduce allocs in Encode
jub0bs Oct 18, 2025
ee4d2c3
runtime/trace: dump test traces on validation failure
mknyszek Oct 9, 2025
f838faf
runtime: wrap procyield assembly and check for 0
mknyszek Oct 17, 2025
79ae97f
runtime: make procyieldAsm no longer loop infinitely if passed 0
mknyszek Oct 17, 2025
99cf4d6
runtime: save lasx and lsx registers in loong64 async preemption
abner-chenc Sep 11, 2025
8539691
crypto/internal/fips140/entropy: move to crypto/internal/entropy/v1.0.0
FiloSottile Oct 8, 2025
9a5a120
runtime: clean dead architectures from go:build constraint
Jorropo Oct 17, 2025
b0dcb95
cmd/compile: leave the horses alone
Jorropo Oct 18, 2025
694182d
cmd/internal/obj/ppc64: improve large prologue generation
pmur Oct 8, 2025
a5a249d
all: eliminate unnecessary type conversions
callthingsoff Oct 19, 2025
306eacb
cmd/go/testdata/script: disable list_empty_importpath test on Windows
matloob Oct 20, 2025
2163a58
crypto/internal/fips140/entropy: increase AllocsPerRun iterations
qmuntal Oct 17, 2025
46cc532
cmd/compile/internal/ssa: fix typo in comment
callthingsoff Oct 20, 2025
b31dc77
os: support deleting read-only files in RemoveAll on older Windows ve…
qmuntal Oct 21, 2025
4620db7
runtime: use timer_settime64 on 32-bit Linux
abdullahkiani007 Oct 18, 2025
8a6c64f
syscall: use rawSyscall6 to call ptrace in forkAndExecInChild
qmuntal Oct 2, 2025
8f74f9d
sync: re-enable race even when panicking
aktau Oct 21, 2025
c9c78c0
strconv: embed testdata in test
rsc Oct 17, 2025
261c561
all: gofmt -w
callthingsoff Oct 21, 2025
4a0115c
runtime,syscall: implement and use syscalln on darwin
qmuntal Aug 26, 2025
39fd61d
go/types, types2: guard Named.underlying with Named.mu
Oct 17, 2025
6c3d0d2
path/filepath: reword documentation for Rel
matttproud Oct 16, 2025
06e57e6
go/types, types2: only report version errors if new(expr) is ok other…
Oct 20, 2025
4e695dd
go/ast: add ParseDirective for parsing directive comments
aclements Aug 29, 2025
29d43df
go/build, cmd/go: use ast.ParseDirective for go:embed
aclements Sep 11, 2025
4bdb55b
go/types, types2: rename Named.under to Named.resolveUnderlying
Oct 16, 2025
5a42af7
go/types, types2: in resolveUnderlying, only compute path when needed
Oct 20, 2025
d09a8c8
go/types, types2: simplify locking in Named.resolveUnderlying
Oct 21, 2025
557b4d6
comment: change slice to string in function comment/help
redteampanda-ng Oct 22, 2025
7c9fa4d
cmd/go: check if build output should overwrite files with renames
seankhliao Oct 19, 2025
1ff59f3
strconv: clean up powers-of-10 table, tests
rsc Oct 15, 2025
5058618
runtime: use backoff and ISB instruction to reduce contention in (*lf…
zhangfannie Jan 14, 2025
f92e01c
runtime/cgo: fix cgoCheckArg description
ariel-anieli Oct 22, 2025
02728a2
crypto/internal/fips140test: add entropy SHA2-384 testing
cpu Oct 3, 2025
d94a8c5
runtime: cleanup pagetrace
florianl Oct 20, 2025
77fc279
doc/next: improve new(expr) release note
adonovan Oct 22, 2025
e5688d0
cmd/internal/obj/riscv: simplify validation and encoding of raw instr…
4a6f656c Sep 9, 2025
8378276
strconv: optimize int-to-decimal and use consistently
rsc Oct 17, 2025
107fcb7
internal/goroot: replace HasPrefix+TrimPrefix with CutPrefix
cuishuang Apr 28, 2025
ca44819
all: replace Split in loops with more efficient SplitSeq
cuishuang Apr 28, 2025
39ed968
cmd: update golang.org/x/arch for riscv64 disassembler
4a6f656c Oct 23, 2025
839da71
encoding/pem: properly calculate end indexes
rolandshoemaker Oct 23, 2025
3f6ac3a
go/build: use slices.Equal
qiulaidongfeng Jul 26, 2025
c4e9108
net/url: speed up escape and unescape
jub0bs Oct 23, 2025
cf826bf
go/types, types2: set t.underlying exactly once in resolveUnderlying
Oct 23, 2025
8401512
go/types, types2: rename complete namedState to hasMethods
Oct 20, 2025
9fcdc81
go/types, types2: rename loaded namedState to lazyLoaded
Oct 20, 2025
03bd43e
go/types, types2: rename Named.resolve to unpack
Oct 20, 2025
47bf8f0
unique: fix inconsistent panic prefix in canonmap cleanup path
mohanson Oct 22, 2025
dfac972
crypto/pbkdf2: add missing error return value in example
bystones Oct 23, 2025
6a5a452
cmd/go: inject vendor dir into builder struct
jitsu-net Oct 10, 2025
6ac4005
cmd/go: remove module loader state from ccompile
jitsu-net Oct 10, 2025
c445a61
cmd/go: add loaderstate as field on `QueryMatchesMainModulesError`
jitsu-net Oct 2, 2025
296ecc9
cmd/go: add modload.State parameter to AllowedFunc
jitsu-net Oct 3, 2025
c18fa69
cmd/go: make ErrNoModRoot work with local state
jitsu-net Oct 3, 2025
2904639
cmd/go: refactor injection of modload.LoaderState
jitsu-net Oct 7, 2025
0d3dab9
crypto/x509: simplify candidate chain filtering
rolandshoemaker Oct 1, 2025
a6a59f0
encoding/json/v2: use slices.Sort directly
dsnet Oct 21, 2025
f5f69a3
encoding/json/jsontext: avoid pinning application data in pools
dsnet Oct 21, 2025
e6cff69
crypto/x509: move constraint checking after chain building
rolandshoemaker Oct 20, 2025
94f47fc
cmd/link: remove pointless assignment in SetSymAlign
ianlancetaylor Oct 24, 2025
747fe2e
encoding/json/v2: fix typo in documentation about errors.AsType
dsnet Oct 24, 2025
a26f860
runtime: use 32-bit hash for maps on Wasm
cherrymui Oct 24, 2025
f5403f1
debug/pe: check for zdebug_gdb_scripts section in testDWARF
cherrymui Oct 24, 2025
ccf4192
cmd/go: make ImportMissingError work with local state
jitsu-net Oct 3, 2025
ade9f33
cmd/go: add loaderstate as field on `mvsReqs`
jitsu-net Oct 2, 2025
2c4fd7b
cmd/go: use local state object in `run.runRun`
jitsu-net Oct 2, 2025
9926e11
cmd/go: use local state object in `bug.runBug`
jitsu-net Oct 8, 2025
ea9cf26
cmd/go: use local state object in `list.runList`
jitsu-net Oct 9, 2025
d312e27
cmd/go: use local state object in pkg `modcmd`
jitsu-net Oct 9, 2025
fe345ff
cmd/go: use local state object in `modget.runGet`
jitsu-net Oct 9, 2025
2e12c5d
cmd/go: use local state object in `test.runTest`
jitsu-net Oct 9, 2025
69673e9
cmd/go: use local state object in `tool.runTool`
jitsu-net Oct 9, 2025
7847004
cmd/go: use local state object in pkg `workcmd`
jitsu-net Oct 9, 2025
f2dd3d7
cmd/go: use local state object in `vet.runVet`
jitsu-net Oct 10, 2025
26a8a21
cmd/go: use local state object in `env.runEnv`
jitsu-net Oct 10, 2025
7b506d1
cmd/go: use local state object in `generate.runGenerate`
jitsu-net Oct 10, 2025
0afbeb5
runtime: add ppc and s390 to linux 32 bits syscall build constraints …
Jorropo Oct 23, 2025
643f80a
runtime: add ppc and s390 to 32 build constraints for gccgo
Jorropo Oct 23, 2025
12ec09f
cmd/go: use local state object in work.runBuild and work.runInstall
jitsu-net Oct 10, 2025
53ad68d
cmd/compile: allow unaligned load/store on Wasm
cherrymui Oct 24, 2025
7e7cd9d
cmd/go: remove temporary rf cleanup script
jitsu-net Oct 8, 2025
83a44bd
cmd/go: remove unused loader state
jitsu-net Oct 10, 2025
ca379b1
cmd/go: remove loaderstate dependency
jitsu-net Oct 24, 2025
54e3adc
cmd/go: use local loader state in test
jitsu-net Oct 10, 2025
6f04a92
internal/chacha8rand: provide vector implementation for riscv64
mengzhuo Oct 3, 2025
d7a52f9
cmd/compile: use MOV(D|F) with const for Const(64|32)F on riscv64
mengzhuo Sep 12, 2025
5dcaf9a
runtime: add GOEXPERIMENT=runtimefree
thepudds Oct 25, 2025
f527994
sync: update comments for Once.done
callthingsoff Oct 25, 2025
f619b4a
cmd/go: reorder parameters so that context is first
jitsu-net Oct 24, 2025
189f2c0
time: rewrite IsZero method to use wall and ext fields
dxasu Oct 27, 2025
5f4ec35
runtime: remove unused cgoCheckUsingType function
ianlancetaylor Oct 24, 2025
92decdc
net/url: further speed up escape and unescape
jub0bs Oct 27, 2025
b2af922
go/types, types2: verify stateMask transitions in debug mode
Oct 22, 2025
d8a32f3
go/types, types2: wrap Named.fromRHS into Named.rhs
Oct 23, 2025
180c07e
go/types, types2: clarify docs for resolveUnderlying
Oct 23, 2025
a6929cf
cmd/go: removed unused code in toolchain.Exec
jitsu-net Oct 1, 2025
d741483
cmd/go: increase stmt threshold on amd64
jitsu-net Oct 27, 2025
8239156
cmd/go: use tagged switch
jitsu-net Oct 27, 2025
139f892
cmd/go: use local state for telemetry
jitsu-net Oct 10, 2025
2835b99
cmd/go: remove global loader state variable
jitsu-net Oct 10, 2025
916e682
cmd/internal/obj, cmd/asm: reclassify the offset of memory access ope…
sophie-zhao Sep 24, 2025
dec2b4c
runtime: avoid bound check in freebsd binuptime
cuonglm Oct 27, 2025
53be786
cmd/compile: use topo-sort in prove to correctly learn facts while wa…
Jorropo Oct 25, 2025
a50de4b
cmd/compile: remove 68857 min & max flowLimit workaround in prove
Jorropo Oct 25, 2025
2ce5aab
cmd/compile: remove 68857 ModU flowLimit workaround in prove
Jorropo Oct 25, 2025
5453b78
cmd/compile: optimize Add64carry with unused carries into plain Add64
Jorropo Mar 10, 2025
a0f33b2
cmd/compile: change !l.nonzero() into l.maybezero()
Jorropo Oct 25, 2025
77dc138
cmd/compile: teach prove about unsigned rounding-up divide
Jorropo Oct 25, 2025
9a77aa4
cmd/compile: add position info to sccp debug messages
Jorropo Oct 25, 2025
ff2ebf6
internal/runtime/gc/scan: correct size class size check
prattmic Oct 27, 2025
9e25c2f
cmd/link: internal linking support for windows/arm64
qmuntal Sep 16, 2025
b8468d8
cmd/compile: introduce bytesizeToConst to cleanup switches in prove
Jorropo Oct 26, 2025
1662d55
cmd/compile: do not Zext bools to 64bits in amd64 CMOV generation rules
Jorropo Oct 27, 2025
73d7635
cmd/compile: add generic rules to remove bool → int → bool roundtrips
Jorropo Oct 27, 2025
2c91c33
crypto/subtle,cmd/compile: add intrinsics for ConstantTimeSelect and *Eq
Jorropo Oct 26, 2025
2d33a45
cmd/compile: move branchelim supported arches to Config
Jorropo Oct 26, 2025
24af441
cmd/compile: rewrite proved multiplies by 0 or 1 into CondSelect
Jorropo Oct 26, 2025
b8aa1ee
go/types, types2: reduce locks held at once in resolveUnderlying
Oct 23, 2025
1f4d14e
go/types, types2: pull up package-level object sort to a separate phase
Oct 27, 2025
12c8d14
errors: document that the target of Is must be comparable
neild Oct 27, 2025
d595318
runtime: amend comments a bit
callthingsoff Oct 28, 2025
3da0356
crypto/internal/fips140test: collect 300M entropy samples for ESV
FiloSottile Oct 28, 2025
46e5e2b
runtime: define PanicBounds in funcdata.h
ianlancetaylor Oct 27, 2025
30c047d
cmd/compile: extend loong MOV*idx rules to match ADDshiftLLV
Jorropo Oct 28, 2025
bd4dc41
cmd/compile: don't optimize away a panicing interface comparison
randall77 Oct 22, 2025
ea50d61
cmd/compile: name change isDirect -> isDirectAndComparable
randall77 Oct 28, 2025
81afd3a
cmd/compile: extend ppc64 MADDLD to match const ADDconst & MULLDconst
Jorropo Oct 28, 2025
041f564
internal/runtime/gc/scan: avoid memory destination on VPCOMPRESSQ
prattmic Oct 27, 2025
b2a346b
strconv: move all but Quote to internal/strconv
rsc Oct 29, 2025
49c1da4
internal/itoa, internal/runtime/strconv: delete
rsc Oct 29, 2025
9035f7a
runtime: use internal/strconv
rsc Oct 29, 2025
da3fb90
crypto/internal/fips140/bigmod: fix extendedGCD comment
FiloSottile Oct 8, 2025
32ee3f3
runtime: tweak example code for gorecover
callthingsoff Oct 29, 2025
915c183
test/codegen: simplify asmcheck pattern matching
rsc Oct 27, 2025
9bbda7c
cmd/compile: make prove understand div, mod better
rsc Oct 23, 2025
d2c5fa0
strconv: remove &0xFF trick in formatBase10
rsc Oct 23, 2025
3be9a0e
go/types, types: proceed with correct (invalid) type in case of a sel…
Oct 29, 2025
38317c4
crypto/internal/fips140/aes: fix CTR generator
starius Oct 22, 2025
1e5bb41
cmd/compile: implement bits.Mul64 on 32-bit systems
rsc Oct 27, 2025
cdc6b55
strconv: remove hand-written divide on 32-bit systems
rsc Oct 28, 2025
d44db29
go/token: fix a typo in a comment
xyproto Oct 30, 2025
235b4e7
cmd/compile/internal/ssa: model right shift more precisely
rsc Oct 29, 2025
6aca04a
reflect: correct internal docs for uncommonType
ianlancetaylor Oct 25, 2025
cbbd385
strconv: remove arch-specific decision in formatBase10
rsc Oct 29, 2025
d32b1f0
runtime: delete timediv
rsc Oct 29, 2025
5ef19c0
strconv: delete divmod1e9
rsc Oct 29, 2025
7244e92
runtime: eliminate _Psyscall
mknyszek Feb 2, 2025
251814e
runtime: document tracer invariants explicitly
mknyszek Oct 1, 2025
5b8e850
runtime: don't track scheduling latency for _Grunning <-> _Gsyscall
mknyszek Feb 3, 2025
8683bb8
runtime: optimistically CAS atomicstatus directly in enter/exitsyscall
mknyszek Oct 2, 2025
89dee70
runtime: prioritize panic output over racefini
mknyszek Jul 30, 2025
2793728
runtime: avoid zeroing scavenged memory
ioworker0 Oct 28, 2025
99b724f
cmd/go: document purego convention
seankhliao Mar 21, 2025
385dc33
runtime: prevent time.Timer.Reset(0) from deadlocking testing/synctes…
nicholashusin Nov 1, 2025
388c41c
cmd/go: skip git sha256 tests if git < 2.29
dfinkel Aug 24, 2025
00ee186
crypto/internal/constanttime: expose intrinsics to the FIPS 140-3 pac…
FiloSottile Oct 29, 2025
361d51a
runtime: remove the pc field of _defer struct
fengyoulin Oct 31, 2025
5132158
bytes: add Buffer.Peek
icholy Oct 31, 2025
c555934
internal/profile: optimize Parse allocs
pymq Nov 2, 2025
e12d8a9
all: remove extra space in the comments
cuishuang Oct 31, 2025
eaf28a2
runtime: update outdated comments for deferprocStack
fengyoulin Oct 25, 2025
f93186f
cmd/go/internal/telemetrystats: count cgo usage
qmuntal Sep 26, 2025
0a95856
cmd/go: eliminate additional global variable
jitsu-net Oct 27, 2025
5f8fdb7
cmd/go: move functions to methods
jitsu-net Oct 29, 2025
17b5707
internal/runtime/cgobench: add cgo callback benchmark
mknyszek Oct 15, 2025
85bec79
cmd/go/testdata/script: loosen list_empty_importpath for freebsd
matloob Oct 28, 2025
0c4444e
cmd/internal/obj: support arm64 FMOVQ large offset encoding
amusman Nov 1, 2025
4d2b03d
crypto/tls: add BetterTLS test coverage
cpu Nov 3, 2025
aa94fdf
cmd/go: link to go.dev/doc/godebug for removed GODEBUG settings
mateusz834 Sep 8, 2025
43491f8
cmd/cgo: use the export'ed file/line in error messages
ariel-anieli Nov 1, 2025
b5353fd
runtime: don't panic in castogscanstatus
mknyszek Nov 3, 2025
c93cc60
runtime: allow Stack to traceback goroutines in syscall _Grunning window
mknyszek Oct 30, 2025
e2c6a20
runtime: avoid append in printint, printuint
rsc Nov 3, 2025
dadbac0
cmd/internal/obj/loong64: add VPERMI.W, XVPERMI.{W,V,Q} instruction s…
abner-chenc Oct 29, 2025
ad5e941
cmd/internal/obj/loong64: using {xv,v}slli.d to perform copying betwe…
abner-chenc Oct 30, 2025
9795c7b
internal/strconv: fix pow10 off-by-one in exponent result
rsc Nov 2, 2025
162ba6c
internal/strconv: add tests and benchmarks for ftoaFixed
rsc Nov 2, 2025
34fec51
internal/strconv: extract fixed-precision ftoa from ftoaryu.go
rsc Nov 1, 2025
9f6590f
encoding/pem: don't reslice in failure modes
rolandshoemaker Oct 27, 2025
6e165b4
cmd/compile: implement Avg64u, Hmul64, Hmul64u for wasm
rsc Nov 4, 2025
dd839f1
internal/strconv: handle %f with fixedFtoa when possible
rsc Nov 2, 2025
75b2bb1
cmd/cgo: drop pre-1.18 support
ianlancetaylor Nov 2, 2025
c7ccbdd
cmd/compile/internal/ssa: more aggressive on dead auto elim
fengyoulin Sep 11, 2025
8562386
runtime: amend doc for setPinned
callthingsoff Nov 3, 2025
a7d174c
cmd/compile/internal/ssa: simplify riscv64 FCLASSD rewrite rules
Nov 3, 2025
a5fe679
internal/syscall/windows: fix ReOpenFile sentinel error value
qmuntal Nov 3, 2025
16705b9
cmd/compile: faster liveness analysis in regalloc
DanielMorsing Aug 9, 2025
8e2bd26
cmd/link: add comments for SymKind values
ianlancetaylor Oct 28, 2025
61de3a9
cmd/link: remove unused SFILEPATH symbol kind
ianlancetaylor Oct 28, 2025
f5f1426
cmd/link: remove misleading comment
ianlancetaylor Oct 28, 2025
6914dd1
cmd/link: add and use new SymKind SFirstUnallocated
ianlancetaylor Oct 28, 2025
7347b54
cmd/link: don't generate .gosymtab section
ianlancetaylor Nov 2, 2025
0e1bd8b
cmd/link, runtime: don't store text start in pcHeader
ianlancetaylor Nov 3, 2025
9f3a108
os: ignore O_TRUNC errors on named pipes and terminal devices on Windows
qmuntal Oct 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/03-gopls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: "Please answer these questions before submitting your issue. Thanks!"
- type: input
- type: textarea
id: gopls-version
attributes:
label: "gopls version"
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/11-language-change.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Language Change Proposals
description: Changes to the language
labels: ["Proposal", "v2", "LanguageChange"]
title: "proposal: Go 2: proposal title"
labels: ["Proposal", "LanguageChange", "LanguageChangeReview"]
title: "proposal: spec: proposal title"


body:
Expand Down
74 changes: 18 additions & 56 deletions .github/ISSUE_TEMPLATE/12-telemetry.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,30 @@
name: Go Telemetry Proposals
description: New telemetry counter or update on an existing one
description: Changes to the telemetry upload configuration
title: "x/telemetry/config: proposal title"
labels: ["Telemetry-Proposal"]
projects: ["golang/29"]
body:
- type: textarea
attributes:
label: Counter names
description: Names of counters to add or update.
label: Summary
description: >
What change are you proposing to the upload configuration, and why?
For new upload configuration, which new counters will be collected, what
do they measure, and why is it important to collect them?
Note that uploaded data must not carry sensitive user information.
See [go.dev/doc/telemetry#proposals](https://go.dev/doc/telemetry#proposals)
for more details on telemetry proposals.
validations:
required: true
- type: textarea
attributes:
label: Description
description: What do these counters measure?
validations:
required: true
- type: textarea
attributes:
label: Rationale
description: |
Why is the counter important?
For example, what new insights will it provide, and how will that information be used?
If this is about updating existing counters, why is the change necessary?
validations:
required: true
- type: textarea
- type: input
attributes:
label: Do the counters carry sensitive user information?
label: Proposed Config Change
description: >
A CL containing proposed changes to the
[config.txt](https://go.googlesource.com/telemetry/+/master/internal/chartconfig/config.txt)
chart configuration.
See the [chartconfig](https://pkg.go.dev/golang.org/x/telemetry/internal/chartconfig)
package for an explanation of the chart config format.
For an example change, see [CL 564619](https://go.dev/cl/564619).
validations:
required: true
- type: textarea
attributes:
label: How?
description: |
How do we plan to compute the info?
If available, include the code location or cl that uses the golang.org/x/telemetry/counter API.
validations:
required: true
- type: textarea
attributes:
label: Proposed Graph Config
description: |
Approved telemetry counters are maintained as [Go Telemetry Graph Config](https://golang.org/x/telemetry/internal/graphconfig) records.
Please draft the record entry for your proposal here.
If multiple records need to be included, separate them with `---` lines.
You can check the list of the approved counters and their current configuration in [config.txt](https://go.googlesource.com/telemetry/+/master/internal/configgen/config.txt).
render: Text
value: |
counter: gopls/bug
title: Gopls bug reports
description: Stacks of bugs encountered on the gopls server.
type: partition, histogram, stack # choose only one.
program: golang.org/x/tools/gopls
counter: gopls/bug
depth: 16 # only if type is stack.
version: v0.13.0 # the first binary version containing this counter.
validations:
required: true
- type: dropdown
attributes:
label: New or Update
description: Is this a new counter? See [config.txt](https://go.googlesource.com/telemetry/+/master/internal/configgen/config.txt) for the list of approved counters.
options:
- New
- Update
default: 0
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ _testmain.go
/src/go/build/zcgo.go
/src/go/doc/headscan
/src/internal/buildcfg/zbootstrap.go
/src/runtime/internal/sys/zversion.go
/src/internal/runtime/sys/zversion.go
/src/unicode/maketables
/src/time/tzdata/zzipdata.go
/test.out
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Copyright 2009 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Go is an open source programming language that makes it easy to build simple,
reliable, and efficient software.

![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg)
*Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attributions license][cc4-by].*
*Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attribution license][cc4-by].*

Our canonical Git repository is located at https://go.googlesource.com/go.
There is a mirror of the repository at https://github.com/golang/go.
Expand Down
4 changes: 4 additions & 0 deletions api/except.txt
Original file line number Diff line number Diff line change
Expand Up @@ -598,3 +598,7 @@ pkg syscall (freebsd-arm64-cgo), const SYS_MKNODAT = 498
pkg syscall (freebsd-arm64-cgo), const SYS_STAT = 188
pkg syscall (freebsd-arm64-cgo), const SYS_STAT ideal-int
pkg syscall (freebsd-arm64-cgo), const SYS_STATFS = 396
pkg syscall (openbsd-386), const ELAST = 91
pkg syscall (openbsd-386-cgo), const ELAST = 91
pkg syscall (openbsd-amd64), const ELAST = 91
pkg syscall (openbsd-amd64-cgo), const ELAST = 91
158 changes: 158 additions & 0 deletions api/go1.23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
pkg archive/tar, type FileInfoNames interface, Name() string #50102
pkg archive/tar, type FileInfoNames interface, Size() int64 #50102
pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
pkg archive/tar, type FileInfoNames interface, Uname() (string, error) #50102
pkg crypto/tls, const QUICResumeSession = 8 #63691
pkg crypto/tls, const QUICResumeSession QUICEventKind #63691
pkg crypto/tls, const QUICStoreSession = 9 #63691
pkg crypto/tls, const QUICStoreSession QUICEventKind #63691
pkg crypto/tls, method (*ECHRejectionError) Error() string #63369
pkg crypto/tls, method (*QUICConn) StoreSession(*SessionState) error #63691
pkg crypto/tls, type Config struct, EncryptedClientHelloConfigList []uint8 #63369
pkg crypto/tls, type Config struct, EncryptedClientHelloRejectionVerify func(ConnectionState) error #63369
pkg crypto/tls, type ConnectionState struct, ECHAccepted bool #63369
pkg crypto/tls, type ECHRejectionError struct #63369
pkg crypto/tls, type ECHRejectionError struct, RetryConfigList []uint8 #63369
pkg crypto/tls, type QUICConfig struct, EnableSessionEvents bool #63691
pkg crypto/tls, type QUICEvent struct, SessionState *SessionState #63691
pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691
pkg crypto/x509, func ParseOID(string) (OID, error) #66249
pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249
pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
pkg debug/elf, const PT_OPENBSD_NOBTCFI ProgType #66054
pkg debug/elf, const STT_GNU_IFUNC = 10 #66836
pkg debug/elf, const STT_GNU_IFUNC SymType #66836
pkg debug/elf, const STT_RELC = 8 #66836
pkg debug/elf, const STT_RELC SymType #66836
pkg debug/elf, const STT_SRELC = 9 #66836
pkg debug/elf, const STT_SRELC SymType #66836
pkg encoding/binary, func Append([]uint8, ByteOrder, interface{}) ([]uint8, error) #60023
pkg encoding/binary, func Decode([]uint8, ByteOrder, interface{}) (int, error) #60023
pkg encoding/binary, func Encode([]uint8, ByteOrder, interface{}) (int, error) #60023
pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339
pkg go/types, method (*Alias) Origin() *Alias #67143
pkg go/types, method (*Alias) Rhs() Type #66559
pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143
pkg go/types, method (*Func) Signature() *Signature #65772
pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
pkg iter, type Seq[$0 interface{}] func(func($0) bool) #61897
pkg maps, func All[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq2[$1, $2] #61900
pkg maps, func Collect[$0 comparable, $1 interface{}](iter.Seq2[$0, $1]) map[$0]$1 #61900
pkg maps, func Insert[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, iter.Seq2[$1, $2]) #61900
pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$1] #61900
pkg maps, func Values[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$2] #61900
pkg math/rand/v2, func Uint() uint #61716
pkg math/rand/v2, method (*ChaCha8) Read([]uint8) (int, error) #67059
pkg math/rand/v2, method (*Rand) Uint() uint #61716
pkg net, method (*DNSError) Unwrap() error #63116
pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
pkg net, type DNSError struct, UnwrapErr error #63116
pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
pkg net, type KeepAliveConfig struct #62254
pkg net, type KeepAliveConfig struct, Count int #62254
pkg net, type KeepAliveConfig struct, Enable bool #62254
pkg net, type KeepAliveConfig struct, Idle time.Duration #62254
pkg net, type KeepAliveConfig struct, Interval time.Duration #62254
pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
pkg net/http, func ParseCookie(string) ([]*Cookie, error) #66008
pkg net/http, func ParseSetCookie(string) (*Cookie, error) #66008
pkg net/http, method (*Request) CookiesNamed(string) []*Cookie #61472
pkg net/http, type Cookie struct, Partitioned bool #62490
pkg net/http, type Cookie struct, Quoted bool #46443
pkg net/http, type Request struct, Pattern string #66405
pkg net/http/httptest, func NewRequestWithContext(context.Context, string, string, io.Reader) *http.Request #59473
pkg os, func CopyFS(string, fs.FS) error #62484
pkg path/filepath, func Localize(string) (string, error) #57151
pkg reflect, func SliceAt(Type, unsafe.Pointer, int) Value #61308
pkg reflect, method (Value) Seq() iter.Seq[Value] #66056
pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056
pkg reflect, type Type interface, CanSeq() bool #66056
pkg reflect, type Type interface, CanSeq2() bool #66056
pkg reflect, type Type interface, OverflowComplex(complex128) bool #60427
pkg reflect, type Type interface, OverflowFloat(float64) bool #60427
pkg reflect, type Type interface, OverflowInt(int64) bool #60427
pkg reflect, type Type interface, OverflowUint(uint64) bool #60427
pkg runtime/debug, func SetCrashOutput(*os.File, CrashOptions) error #42888
pkg runtime/debug, type CrashOptions struct #67182
pkg slices, func All[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq2[int, $1] #61899
pkg slices, func AppendSeq[$0 interface{ ~[]$1 }, $1 interface{}]($0, iter.Seq[$1]) $0 #61899
pkg slices, func Backward[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq2[int, $1] #61899
pkg slices, func Chunk[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) iter.Seq[$0] #53987
pkg slices, func Collect[$0 interface{}](iter.Seq[$0]) []$0 #61899
pkg slices, func Repeat[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) $0 #65238
pkg slices, func SortedFunc[$0 interface{}](iter.Seq[$0], func($0, $0) int) []$0 #61899
pkg slices, func SortedStableFunc[$0 interface{}](iter.Seq[$0], func($0, $0) int) []$0 #61899
pkg slices, func Sorted[$0 cmp.Ordered](iter.Seq[$0]) []$0 #61899
pkg slices, func Values[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq[$1] #61899
pkg structs, type HostLayout struct #66408
pkg sync, method (*Map) Clear() #61696
pkg sync/atomic, func AndInt32(*int32, int32) int32 #61395
pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395
pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395
pkg sync/atomic, func AndUint64(*uint64, uint64) uint64 #61395
pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395
pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395
pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395
pkg sync/atomic, func OrUint32(*uint32, uint32) uint32 #61395
pkg sync/atomic, func OrUint64(*uint64, uint64) uint64 #61395
pkg sync/atomic, func OrUintptr(*uintptr, uintptr) uintptr #61395
pkg sync/atomic, method (*Int32) And(int32) int32 #61395
pkg sync/atomic, method (*Int32) Or(int32) int32 #61395
pkg sync/atomic, method (*Int64) And(int64) int64 #61395
pkg sync/atomic, method (*Int64) Or(int64) int64 #61395
pkg sync/atomic, method (*Uint32) And(uint32) uint32 #61395
pkg sync/atomic, method (*Uint32) Or(uint32) uint32 #61395
pkg sync/atomic, method (*Uint64) And(uint64) uint64 #61395
pkg sync/atomic, method (*Uint64) Or(uint64) uint64 #61395
pkg sync/atomic, method (*Uintptr) And(uintptr) uintptr #61395
pkg sync/atomic, method (*Uintptr) Or(uintptr) uintptr #61395
pkg syscall (openbsd-386), const EBADMSG = 92 #67998
pkg syscall (openbsd-386), const ELAST = 95 #67998
pkg syscall (openbsd-386), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-386), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-386), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-386), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-386), const EPROTO = 95 #67998
pkg syscall (openbsd-386-cgo), const EBADMSG = 92 #67998
pkg syscall (openbsd-386-cgo), const ELAST = 95 #67998
pkg syscall (openbsd-386-cgo), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-386-cgo), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-386-cgo), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-386-cgo), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-386-cgo), const EPROTO = 95 #67998
pkg syscall (openbsd-amd64), const EBADMSG = 92 #67998
pkg syscall (openbsd-amd64), const ELAST = 95 #67998
pkg syscall (openbsd-amd64), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-amd64), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-amd64), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-amd64), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-amd64), const EPROTO = 95 #67998
pkg syscall (openbsd-amd64-cgo), const EBADMSG = 92 #67998
pkg syscall (openbsd-amd64-cgo), const ELAST = 95 #67998
pkg syscall (openbsd-amd64-cgo), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-amd64-cgo), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-amd64-cgo), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-amd64-cgo), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-amd64-cgo), const EPROTO = 95 #67998
pkg syscall (windows-386), const WSAENOPROTOOPT = 10042 #62254
pkg syscall (windows-386), const WSAENOPROTOOPT Errno #62254
pkg syscall (windows-amd64), const WSAENOPROTOOPT = 10042 #62254
pkg syscall (windows-amd64), const WSAENOPROTOOPT Errno #62254
pkg syscall, const EBADMSG Errno #67998
pkg syscall, const EPROTO Errno #67998
pkg unicode/utf16, func RuneLen(int32) int #44940
pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483
pkg unique, method (Handle[$0]) Value() $0 #62483
pkg unique, type Handle[$0 comparable] struct #62483
Loading