Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5285 commits
Select commit Hold shift + click to select a range
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
04f0521
cmd/cgo: skip escape checks if call site has no argument
ariel-anieli Nov 5, 2025
a8fb949
cmd/go: fix TestScript/tool_build_as_needed
rsc Nov 5, 2025
a494a26
cmd/go: fix TestScript/vet_flags
rsc Nov 5, 2025
3ae9e95
cmd/go: fix TestCgoPkgConfig on darwin with pkg-config installed
rsc Nov 5, 2025
daa220a
cmd/go: silence TLS handshake errors during test
rsc Nov 5, 2025
28f1ad5
cmd/go: fix TestScript/govcs
rsc Nov 5, 2025
2dd7e94
cmd/go: use go.dev instead of golang.org in flag errors
rsc Nov 5, 2025
8cf7a0b
cmd/link: support weak binding on darwin
qmuntal Oct 22, 2025
f01a184
cmd/compile: fix error message on loong64
abner-chenc Nov 4, 2025
01c29d1
internal/chacha8rand: replace VORV with instruction VMOVQ on loong64
abner-chenc Oct 30, 2025
2e20725
cmd/internal/obj/loong64: add {,X}VEXTRINS.{B,H,W,V} instruction support
abner-chenc Oct 30, 2025
8111104
cmd/internal/obj/loong64: add {,X}VSHUF.{B/H/W/V} instructions support
abner-chenc Oct 31, 2025
48c7fa1
Revert "runtime: remove the pc field of _defer struct"
randall77 Nov 6, 2025
43b91e7
iter: fix a tiny doc comment bug
bobg Nov 6, 2025
ad3ccd9
cmd/link: move pclntab out of relro section
ianlancetaylor Nov 6, 2025
d36e88f
runtime: tweak wording for doc
callthingsoff Nov 6, 2025
91ca80f
runtime/cgo: improve error messages after pointer panic
ariel-anieli Nov 5, 2025
5cd1b73
runtime: correctly print panics before fatal-ing on defer
qiulaidongfeng Sep 17, 2024
de84ac5
cmd/link: clean up some comments to Go standards
ianlancetaylor Nov 6, 2025
66c7ca7
cmd/go: improve TestScript/reuse_git
rsc Nov 5, 2025
7995751
cmd/go: copy git reuse and support repos to hg
rsc Nov 5, 2025
47a63a3
cmd/go: rewrite hgrepo1 test repo to be deterministic
rsc Nov 6, 2025
b76103c
cmd/go: output missing GoDebug entries
jitsu-net Sep 25, 2025
e8ed85d
cmd/go: update goSum if necessary
jitsu-net Sep 12, 2025
95a0e5a
sync: don't call Done when f() panics in WaitGroup.Go
callthingsoff Nov 10, 2025
0fe6c8e
runtime: tweak wording for comment of mcache.flushGen
callthingsoff Nov 7, 2025
5f4b5f1
runtime/msan: use different msan routine for copying
randall77 Nov 8, 2025
3b3d6b9
cmd/internal/obj/arm64: shorten constant integer loads
randall77 Nov 4, 2025
1c1c194
cmd/go: remove redundant AVX regex in security flag checks
mohanson Nov 4, 2025
32f8d64
runtime: document that tracefpunwindoff applies to some profilers
nsrip-dd Nov 6, 2025
bc5ffe5
internal/runtime/sys,math/bits: eliminate bounds checks on len8tab
4a6f656c Nov 5, 2025
052c192
runtime: fix lock rank for work.spanSPMCs.lock
mknyszek Nov 3, 2025
bf58e78
internal/trace: add "command" to convert text traces to raw
prattmic Oct 31, 2025
a0eb454
.gitignore: ignore go test artifacts
prattmic Nov 3, 2025
cdf6410
go/types, types2: first argument to append must never be be nil
Nov 7, 2025
5241d11
spec: more precise prose for special case of append
Nov 8, 2025
426ef30
cmd/go: implement -reuse for Mercurial repos
rsc Aug 19, 2025
b709a3e
cmd/go/internal/vcweb: cache hg servers
rsc Nov 6, 2025
2750f95
cmd/go: implement accurate pseudo-versions for Mercurial
rsc Nov 6, 2025
951cf05
internal/trace/testtrace: fix flag name typos
prattmic Nov 10, 2025
5f11275
runtime: reusable intrusive doubly-linked list
prattmic Oct 21, 2025
046dce0
runtime: use new list type for spanSPMCs
prattmic Oct 22, 2025
2263d4a
runtime: doubly-linked sched.midle list
prattmic Oct 24, 2025
4bfc3a9
std,cmd: go fix -any std cmd
adonovan Nov 11, 2025
65858a1
os/exec: include Cmd.Start in the list of methods that run Cmd
seankhliao Nov 11, 2025
c761b26
mime: parse media types that contain braces
jub0bs Nov 10, 2025
b8b84b7
cmd/go: clarify the -o testflag is only for copying the binary
seankhliao Oct 5, 2025
8873e8b
runtime,runtime/pprof: clean up goroutine leak profile writing
VladSaiocUber Nov 6, 2025
d3aeba1
runtime: switch p.gcFractionalMarkTime to atomic.Int64
prattmic Oct 30, 2025
6525f46
cmd/link: change shdr and phdr from arrays to slices
ianlancetaylor Nov 6, 2025
956909f
crypto/x509: move BetterTLS suite from crypto/tls
rolandshoemaker Nov 9, 2025
4e761b9
cmd/compile: optimize liveness in stackalloc
DanielMorsing Nov 5, 2025
0c28789
net/url: disallow raw IPv6 addresses in host
seankhliao Oct 18, 2025
34aef89
cmd/compile: use FCLASSD for subnormal checks on riscv64
Aug 23, 2025
66318d2
internal/abi: correctly describe result in Name.Name doc comment
ianlancetaylor Nov 6, 2025
e0807ba
cmd/compile: don't clear ptrmask in fillptrmask
ianlancetaylor Nov 6, 2025
c3d1d42
sync/atomic: amend comments for Value.{Swap,CompareAndSwap}
callthingsoff Nov 12, 2025
48127f6
crypto/internal/fips140/sha3: remove outdated TODO
FiloSottile Nov 2, 2025
f03d06e
runtime: fix list test memory management for mayMoreStack
prattmic Nov 12, 2025
0929d21
cmd/go: keep objects alive while stopping cleanups
mknyszek Nov 12, 2025
abb241a
cmd/internal/obj/loong64: add {,X}VS{ADD,SUB}.{B/H/W/V}{,U} instructi…
abner-chenc Nov 10, 2025
a15d036
cmd/internal/obj/riscv: implement better bit pattern encoding
4a6f656c Sep 9, 2025
0f9c8fb
cmd/asm,cmd/internal/obj/riscv: add support for riscv compressed inst…
4a6f656c Sep 9, 2025
4684a26
spec: remove cycle restriction for type parameters
Oct 13, 2025
625d8e9
runtime/pprof: fix goroutine leak profile tests for noopt
mknyszek Nov 13, 2025
4ebf295
runtime: prefer to restart Ps on the same M after STW
prattmic Oct 24, 2025
0283753
cmd/go/internal/modfetch/codehost: fix flaky TestReadZip
rsc Nov 13, 2025
099e002
cmd/go/internal/modfetch: consolidate global vars
jitsu-net Nov 11, 2025
57362e9
go/types, types2: check for direct cycles as a separate phase
Nov 4, 2025
7a372af
go/types, types2: rename definedType to declaredType and clarify docs
Aug 13, 2025
7601cd3
go/types: generate cycles.go
Oct 27, 2025
77c5130
go/types: minor simplification
Oct 27, 2025
129d0cb
net/http/cgi: accept INCLUDED as protocol for server side includes
gibriil Oct 28, 2025
ff61991
cmd/go: fix flaky TestScript/mod_get_direct
rsc Nov 13, 2025
17a02b9
net/http: remove unused isLitOrSingle and isNotToken
Nov 10, 2025
704f841
cmd/trace: annotation proc start/stop with thread and proc always
mknyszek Nov 13, 2025
d50a571
test: fix tests to work with sizespecializedmalloc turned off
matloob Nov 13, 2025
9daaab3
cmd/link/internal/ld: make runtime.buildVersion with experiments valid
matloob Nov 11, 2025
ddd8558
go/types, types2: swap object.color for Checker.objPathIdx
Oct 28, 2025
1e5e666
cmd/compile: remove unnecessary casts and types from riscv64 rules
Nov 7, 2025
0a56952
cmd/compile: optimize comparisons with single bit difference
Aug 26, 2025
b57962b
bytes: fix panic in bytes.Buffer.Peek
AaronChen0 Nov 13, 2025
2cdcc41
cmd/compile: fold negation into multiplication
mengzhuo Nov 14, 2025
a0e738c
cmd/compile/internal: remove incorrect riscv64 SLTI rule
markdryan Nov 13, 2025
b24aec5
doc, cmd/internal/obj/riscv: document the riscv64 assembler
markdryan Feb 26, 2025
710abf7
internal/runtime/cgobench: add Go function call benchmark for comparison
mknyszek Oct 16, 2025
7a8d0b5
runtime: add debug mode to extend _Grunning-without-P windows
mknyszek Oct 30, 2025
80c91ee
runtime: ensure weak handles end up in their own allocation
mknyszek Nov 7, 2025
9fd2e44
runtime: add AddCleanup benchmark
mknyszek Nov 13, 2025
1bb1f2b
runtime: put AddCleanup cleanup arguments in their own allocation
mknyszek Nov 13, 2025
03ed439
cmd/compile: allow multi-field structs to be stored directly in inter…
randall77 Jun 15, 2025
cb0d998
net/http: do not discard body content when closing it within request …
nicholashusin Nov 14, 2025
1a03d0d
runtime: skip tests for GOEXPERIMENT=arenas that do not handle clobbe…
thepudds Nov 5, 2025
5a347b7
runtime: set GOEXPERIMENT=runtimefreegc to disabled by default
thepudds Nov 13, 2025
fecfcaa
runtime: add runtime.freegc to reduce GC work
thepudds Nov 4, 2025
120f187
runtime: add more precise test of assist credit handling for runtime.…
thepudds Nov 3, 2025
aea8812
std: fix printf("%q", int) mistakes
adonovan Nov 14, 2025
c370835
cmd/go: tests: rename git-min-vers->git-sha256
dfinkel Nov 14, 2025
50128a2
runtime: support runtime.freegc in size-specialized mallocs for nosca…
thepudds Nov 9, 2025
410ef44
cmd: update x/tools to 59ff18c
adonovan Nov 11, 2025
d55ecea
runtime: usleep before stealing runnext only if not in syscall
mknyszek Nov 14, 2025
c58d075
crypto/rsa: deprecate PKCS#1 v1.5 encryption
FiloSottile Sep 7, 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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ _testmain.go
/misc/cgo/testso/main
/pkg/
/src/*.*/
/src/_artifacts/
/src/cmd/cgo/zdefaultcc.go
/src/cmd/dist/dist
/src/cmd/go/internal/cfg/zdefaultcc.go
/src/cmd/internal/objabi/zbootstrap.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