Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

cmd/go/internal/modload: return error when tidyRoots fail

Fixes #51589

Change-Id: Ie9c56110754f4a435b22e2d7a86ae34b0bd28909
Reviewed-on: https://go-revie...

201759f959a6182215efe6070cf94dd4610cb3e9 authored about 2 years ago by ianwoolf <[email protected]>
os/signal: rewrite TestTerminalSignal without bash

The existing version of this test contains several races it tries to
control with sleeps. Unfort...

a8ca70ff98dd088ff6afe57eafd553aa79732086 authored about 2 years ago by Michael Pratt <[email protected]>
go/build: simplify coverage rules in deps_test

Change-Id: Ic4b2b8ff5c7d7e4d9850e0b5a5b52b09b45816f5
Reviewed-on: https://go-review.googlesource...

cba63ac03833c6eeaf4184ca2022d014b84db455 authored about 2 years ago by Russ Cox <[email protected]>
go/build: use tabs consistently in deps test rules

Change-Id: I50152fa251e599e2c95f68148aee3c16b222da60
Reviewed-on: https://go-review.googlesource...

40c63ceaabc2883b0c40356424459a8397cddb9f authored about 2 years ago by Russ Cox <[email protected]>
runtime/pprof: set Function.start_line field

Now that we plumb the start line to the runtime, we can include in pprof
files. Since runtime.Fr...

a401468b0092446d537edc2000c23e8015ce6b58 authored about 2 years ago by Michael Pratt <[email protected]>
cmd/compile,cmd/link,runtime: add start line numbers to func metadata

This adds the function "start line number" to runtime._func and
runtime.inlinedCall objects. The...

f2656f20ea420ada5f15ef06ddf18d2797e18841 authored about 2 years ago by Michael Pratt <[email protected]>
cmd/dist, misc/cgo/testsanitizers: enable msan tests on freebsd/amd64

Adjust os/arch checks to enable msan tests on freebsd/amd64.

R=go1.20

For #53298

Change-Id: I...

a4b4717f23334547f40f90f1457f3dc086259fa3 authored about 2 years ago by Dmitri Goutnik <[email protected]>
cmd/go: enable -msan on freebsd/amd64

Enable -msan flag on freebsd/amd64 and amend PIE comment in
internal/work/init.go to indicate th...

e56c93f07b445d1c123b1c46483db2d214af8cc3 authored about 2 years ago by Dmitri Goutnik <[email protected]>
runtime: add msan support on freebsd/amd64

Adjust build constraints and change the runtime to call the C mmap function
when using cgo.

R=g...

5fde02e312796012b5ddacd79cbaafb91d329c72 authored about 2 years ago by Dmitri Goutnik <[email protected]>
image/png: optimise RGBA encoding

Optimised RGBA image encoding to PNG. Improved test coverage. Reworked benchmark.

Performance i...

76e4833b7a3f1ab2d8f30e497d00809b1f6cf1e6 authored about 2 years ago by Alexander Efremov <[email protected]>
os: split wait6 syscall wrapper into per-platform files

There are getting to be enough special cases in this wrapper that
the increase in clarity from h...

7feb68728dda2f9d86c0a1158307212f5a4297ce authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/link: define ELF .note section on FreeBSD

Write .note signature section when targeting FreeBSD, similar to NetBSD
and OpenBSD. This allows...

c79b2009ef0b82e9c50ced139b2fd752018da0dd authored about 2 years ago by Dmitri Goutnik <[email protected]>
cmd/go: avoid setting mod=vendor in workspace mode

Workspaces with a single module would enter mod=vendor mode even when
in workspace mode. Fix tha...

005c78d8bbf6389d482a0bbb4e6c46719d77f59f authored about 2 years ago by Michael Matloob <[email protected]>
os/exec: reduce arbitrary sleeps in TestWaitid

If we use the "pipetest" helper command instead of "sleep",
we can use its stdout pipe to determ...

498ee73a4b9f48c0916bb5a2bdd22ddf6aca79c6 authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: set traceback to "system" in TestContextCancel

This will dump more goroutines if the test happens to fail.

For #50138.

Change-Id: Ifae30b5ba8...

379a49c593ce3c2e8e57039e05e90aa466363092 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/link: don't reset variable size when handling -X flag

The linker's -X flag allows setting/changing a string variable's
content at link time. Currently...

9fe17a0340b1609355aa5ce1828a0cf39e0a8092 authored about 2 years ago by Cherry Mui <[email protected]>
encoding/gob: note pacakge not covered by security policy

And add a link. Resolves a comment left on http://go.dev/cl/436096
after it was submitted.

Chan...

36ca37f3a04aac4b67aa7fe3cfe480c891d0d53f authored about 2 years ago by Roland Shoemaker <[email protected]>
debug: add top level security docs for dwarf, elf, macho, pe, and plan9obj

Adds a package level doc comment to the debug/dwarf, debug/elf,
debug/macho, debug/pe, and debug...

1ef685fb7ba413c6f5943cc1aa61de911a7ef29a authored about 2 years ago by Roland Shoemaker <[email protected]>
crypto/x509: add blank line before package declaration

The package doc included the copying header by mistake.

Change-Id: I37ac2d14b1b8a389e6b603fbb1c...

f2acc607f8a6f2837ed302cedd70676d8ea1f463 authored about 2 years ago by Park Zhou <[email protected]>
go/types: remove mode argument from the pkgFiles helper

This mode is now always 0. Remove the unnecessary argument to better
align with types2.

Change-...

4a0ce46917ea51a677fffe203458af4a3224f67c authored about 2 years ago by Robert Findley <[email protected]>
go/types, types2: optimize instance lookup in LookupFieldOrMethod

LookupFieldOrMethod appears as a hotspot when benchmarking gopls'
auto-completion. In particular...

ddd8bc1b074f51aa6fc73a94053f394e4bf25525 authored about 2 years ago by Robert Findley <[email protected]>
test: update test/run.go and some tests to use importcfg

Using importcfg instead of depending on the existence of .a files for
standard library packages ...

6f445a9db55f65e55c5be29d3c506ecf3be37915 authored about 2 years ago by Michael Matloob <[email protected]>
debug/elf: validate phentsize and shentsize

No test case because the problem can only happen for invalid data. Let
the fuzzer find cases lik...

0ae042f977942a60d7955bc10bf654835e47e12a authored about 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: better error if there's a field with the name of a missing method

Fixes #51025.

Change-Id: I469a705e7da059e7ac0b12b05beb9ed5d3617396
Reviewed-on: https://go-revi...

79d0d330a9340d9e3ccb331660eb74f30e2edd01 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove need for invalidAST prefix in error calls

Since we already provide the error code, the prefix can be deduced
automatically.

Except for th...

19095e109d0ae037828c519dda0af307b8a01813 authored about 2 years ago by Robert Griesemer <[email protected]>
os/signal: document behavior of SIGPIPE on non-Go thread

Fixes #56150

Change-Id: Id990783562950ba8be7ce9526b7a811625f2190a
Reviewed-on: https://go-revie...

1a7f08cf408ff4c4f05be25839a0d7c5ec28ed05 authored about 2 years ago by Ian Lance Taylor <[email protected]>
misc/cgo/test: add asan and msan arena tests

While we're here, replace a couple uses of os.Environ with cmd.Environ.

For #51317.

Change-Id:...

6a2a11fc2836f2b4f5be1f035822ad18856f848a authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
arena: add experimental arena package

This change adds the arenas package and a function to reflect for
allocating from an arena via r...

e0d01b8467b5cb9e68758932f50c3187374011ba authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add safe arena support to the runtime

This change adds an API to the runtime for arenas. A later CL can
potentially export it as an ex...

7866538d250e1693bacb6e5a29c74b01588155d5 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: make (*mheap).sysAlloc more general

This change makes (*mheap).sysAlloc take an explicit list of hints and a
boolean as to whether o...

4c383951b9601b488486add020ad5b7f10fb3d39 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: factor out GC assist credit accounting

No-op change in preparation for arenas.

For #51317.

Change-Id: I0777f21763fcd34957b7e709580cf2...

987f94fa038d4a66fa174ddc4267d8718a029581 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: factor out mheap span initialization

This change refactors span heap initialization. This change should just
be a no-op and just prep...

69fc74f3eefc3d08b9233992e47d660bf3d449a1 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
os: use the correct constant for P_PID on NetBSD

Dragonfly and FreeBSD both used numerical values for these constants
chosen to be the same as on...

9ec69908aaacebb0796807afa55f7682db15afb4 authored about 2 years ago by Bryan C. Mills <[email protected]>
runtime: fix invalid pointer in windows/arm64 badsignal2

Initializes the R3 register with an available address in the stack. The addressed location is us...

4a4de1416654ec0c3cd6100fddb90a228657216a authored about 2 years ago by Bill Zissimopoulos <[email protected]>
net/http: fix some test flakes caused by test refactoring

Skip TestTransportPersistConnLeakShortBody in HTTP/2 mode;
it's flaky and was previously HTTP/1-...

5bef938125d8604593ccacc59474db0b1403f6aa authored about 2 years ago by Damien Neil <[email protected]>
cmd/go: add Context parameter to download function

Updates #38714

Change-Id: Ie5c7761ec003f84e649fa4c90be184a5ff6a0879
Reviewed-on: https://go-rev...

28a6f9cf2bccaabc69e7beb3d86161fa77f21daf authored about 2 years ago by Abirdcfly <[email protected]>
cmd/{cover,covdata}: minor code cleanups

Delete some unused code, and fix a few warnings from staticcheck.

Change-Id: I3d3a6f13dccffda06...

0394cbed2e169ab71975109bd6a2309cc8c91b7e authored about 2 years ago by Than McIntosh <[email protected]>
all: prevent fakePC overflow on 386 in libfuzzer mode

fakePC uses hash.Sum32, which returns an uint32. However, libfuzzer
trace/hook functions declare...

4bcf94b0232db65ed5df47e0127cdbc8866aec64 authored about 2 years ago by Cuong Manh Le <[email protected]>
go/types: add errorcalls_test, apply it, and fix errorf call sites

The errorcalls_test makes sure that we use error instead of errorf
where possible. Copied from t...

e9fd40a866e9e47ba65976d4cfeaeef7eaf76266 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: adjust errorcalls_test and apply it

Checker.errorf calls now have an error code and thus require at
least 4 arguments.

Change-Id: I...

140bc24445f3c86b61bfb4d924e1e26f477574a2 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: replace invalid(AST|Arg|Op) with errorf and message prefix

This brings go/types error reporting closer to types2.

Except for removing the error functions ...

2dbc5736b269cba7c0fcd10a6f60fb49fe927d38 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/go: set dependency go versions for go install --mod=readonly mod@vers

When running go install --mod=readonly module@version. modfetch.GoSumFile
was not set, so the ch...

2e0b97dde69cb66416844dba45c084bc13bd58fa authored about 2 years ago by Michael Matloob <[email protected]>
math/big: error on buffer length overflow in Rat.GobDecode

Fixes #56156

Change-Id: Ib85ff45f0b0d0eac83c39606ee20b3a312e6e919
Reviewed-on: https://go-revie...

b6e7e16208be683dbf8039acc7d7dfd97888aba1 authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: do not exit with non-zero code from go list -e -export

go list -e -export puts errors running build actions on the load.Package
corresponding to the fa...

01604129aee8bfc9dd3e2fffd2ad8f772a3089ec authored about 2 years ago by Michael Matloob <[email protected]>
go/parser: simplify code (cleanup)

Change-Id: I0c8823b9c3c12f0f581b24db6a7aa5a0cd913224
Reviewed-on: https://go-review.googlesource...

f1e50a169708db11ad03516070740ca1392f2531 authored about 2 years ago by Park Zhou <[email protected]>
os/exec: remove protection against a duplicate Close on StdinPipe

As of CL 438347, multiple concurrents calls to Close should be safe.

This removes some indirect...

0f64a49460974fa65292d8d5bf6c8a9ceca4b780 authored about 2 years ago by Bryan C. Mills <[email protected]>
internal/coverage: minor code cleanups

Delete some unused code, various cleanups to fix staticcheck warnings.

Change-Id: Ie475d57735a8...

1b316e3571190964d960c6a7af3e17e887c70d45 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/compile: fold negation into subtraction on riscv64

Fold negation into subtraction and avoid double negation.

This removes around 500 instructions ...

4274ffd4b8bcef4e07cfdef9405a2e33f935d079 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: convert SLT/SLTU with constant into immediate form on riscv64

Convert SLT/SLTU with a suitably valued constant into a SLTI/SLTIU instruction.
This can reduce ...

ba8c94b5f255bf84d05cf90d3d66621ffd2e0fab authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: combine masking and zero extension on riscv64

Combine masking with a negative value and zero extension into a single
AND operation.

Change-Id...

0ca355318f6c407edb4a82a0bb0c249ffd31840b authored about 2 years ago by Joel Sing <[email protected]>
test: add test case that caused a bogus error from gofrontend

For #56109

Change-Id: I999763e463fac57732a92f5e396f8fa8c35bd2e1
Reviewed-on: https://go-review....

bb2a96b79df71c4b021c8611b916a2f402166d3b authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: fix missing walk pass for static initialization slice

CL 403995 fixed static init of literal contains dynamic exprs, by
ensuring their init are ordere...

fce449680a241a283f7661edb94eef5427bf595c authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: mark arenaIdx.l1 and arenaIdx.l2 methods as nosplit

Mark the "l1" and "l2" methods on "arenaIdx" with //go:nosplit, since
these methods are called f...

506e690a26390d137b8bfc01d90121581c3d6f7a authored about 2 years ago by Than McIntosh <[email protected]>
cmd/compile: tweak inliners handling of coverage counter updates

This patch fixes up a bug in the inliner's special case code for
coverage counter updates, which...

4a459cbbad7b9528e5f569157b157800866a4fb8 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/go: support shared libraries in 'go version' on Windows

This change modifies 'go version' to support shared windows libraries.

Updates #48187

Change-I...

742e0a9720c04b6be694ad8ea8f7831ffa606e40 authored about 2 years ago by qmuntal <[email protected]>
go/types, types2: use zero error code to indicate unset error code

Use InvalidSyntaxError where the zero error code was used before.
Fix a couple of places that di...

388fbf287c29c73fb8cd12f8c24e101d9e790dd2 authored about 2 years ago by Robert Griesemer <[email protected]>
internal/types/errors: add InvalidSyntaxTree error

Type checkers should use InvalidSyntaxTree as error code
for invalid syntax tree errors instead ...

578523e4a0f68e9b35984f017bb3471b0bd313b4 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: use internal/types/errors instead of local error codes

Change-Id: If9b5c2c5d1b89146250bcd19965797baab315876
Reviewed-on: https://go-review.googlesource...

6688efd5df1ef82dbe5d1f47b4c9bf4321a44126 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: use internal/types/errors instead of local error codes

This change adds a new dependency to go/types.

Change-Id: I7e40b95c8c1e1356b638fc1aa2ef16ce91e9...

9770b8be687278eaf80730a6bb2ddef991c3d87a authored about 2 years ago by Robert Griesemer <[email protected]>
internal/types/errors: rename UntypedNil to UntypedNilUse

This avoids a conflict when dot-importing this package in
go/types and types2.

Change-Id: Ia6fc...

470d1462765a88ce90802eaf2898924ab0e6f123 authored about 2 years ago by Robert Griesemer <[email protected]>
internal/types/errors: export error codes

Adjust self-test accordingly.

Change-Id: I69987a306760da9eaf832275af0e9a8b6131a349
Reviewed-on:...

49372957abb89df9616be4c5134febfa2aafd24c authored about 2 years ago by Robert Griesemer <[email protected]>
internal/types/errors: add package

The internal/types/errors package defines all error codes used by
the type checkers. This is the...

b440c15db71ba0ac0b995428a52b380814882627 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error for generic type decl. with missing constraint

If a generic type declaration is missing a constraint, syntactically
it is an array type declara...

665992b5158c1c851f6e6a1ecb15a166f5ff611e authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/cgo: use -O2 when testing compiler features

Add "-O2" to all compiler/linker tests. This makes compiler/linker
feature probing better resemb...

213504e5431891e8421a92ab72ac08981ce07516 authored about 2 years ago by Motiejus Jakštys <[email protected]>
cmd/go/internal/modload: improve error message for failing to read module listed in go.work

Run "go build ./x" in this workspace:

-- go.work --
use ./y
-- x/go.mod --
module x

...

28a05f541dd218c40cc221db4e97898cc5a3b902 authored about 2 years ago by Zeke Lu <[email protected]>
os: use poll.fdMutex for Plan 9 files

This permits us to safely support concurrent access to files on Plan 9.
Concurrent access was al...

4fe1971b2dff1fa14cb8f5be47aed7fda76c0f7c authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: enable carry chain scheduling for arm64

This is a follow up of CL 393656 on arm64.

This CL puts ScoreCarryChainTail before ScoreMemory ...

669ec549b554ef7fe957bf284271ed3b7db82da1 authored about 2 years ago by eric fang <[email protected]>
modload: provide a clearer error for standard library packages from newer releases

An older version of go compiling a main module that references a
standard library package from a...

40c7e94cc5740496a0a47d6ef9863b2bbca44b0e authored about 2 years ago by Jeremy Brewer <[email protected]>
cmd/go/internal/modload: remove the needSum argument from the fetch function

With moduleHasRootPackage eliminated in the previous CL, needSum is
now invariantly true at all ...

9be09916d9209a02308d553cfbbb7ff1dc6593dd authored about 2 years ago by Bryan C. Mills <[email protected]>
runtime: move epoll syscalls to runtime/internal/syscall

This change moves Linux epoll's syscalls implementation to the
"runtime/internal/syscall" packag...

c7cc2b94c63af610a29b1b48cfbfb87cb8abf05b authored about 2 years ago by Andrew Pogrebnoy <[email protected]>
cmd/go/internal/modload: remove unused moduleHasRootPackage function

Change-Id: Iaf118150b8cf48aa42db3477bffdb92bd39f632a
Reviewed-on: https://go-review.googlesource...

67cd77b88f2fdf620556cd698752aa2ed53fee1b authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: intrinsify Sub64 on loong64

This is a follow up of CL 420095 on loong64.

file before ...

90a352742754cd8731302f23bfa4a47f0b3f5f40 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: intrinsify Add64 on loong64

This is a follow up of CL 420094 on loong64.

Reduce go toolchain size slightly on linux/loong6...

97760ed651f88341bcf15aa4980863c199b6f3dc authored about 2 years ago by Wayne Zuo <[email protected]>
net/netip: add test for AddrFromSlice

AddrFromSlice is not covered by any other test so far.

Change-Id: I91034c6cac95a023fc419c855873...

c4674e01343c0db9fad726401de114dac749382d authored about 2 years ago by Tobias Klauser <[email protected]>
net/netip: use IPv4Unspecified in TestIPProperties

Also inline the single-use unspecified{4,6} variables.

Change-Id: I5992273031e0b8db1bc6f5de8fce...

77c0e99c192331d44ddab664c4b6442925410cdc authored about 2 years ago by Tobias Klauser <[email protected]>
testing: add an example showcasing B.RunParallel with B.ReportMetric

This commit was dedicated to adding an example of using B.ReportMetrics
with B.RunParallel calle...

cecaa25bd31622f5ae0df7fd5c8c7f02afde8715 authored about 2 years ago by Eddie Lopez <[email protected]>
net/http: refactor tests to run most in HTTP/1 and HTTP/2 modes

Replace the ad-hoc approach to running tests in HTTP/1 and HTTP/2
modes with a 'run' function th...

747e1961e95c2eb3df62e045b90b111c2ceea337 authored about 2 years ago by Damien Neil <[email protected]>
internal/poll, internal/syscall/unix, syscall: move writev definition for solaris

Move the writev definition for solaris from package
internal/syscall/unix to package syscall. Th...

5ca0cd3f1824f189b6c5edf59b669f22a393e2e1 authored about 2 years ago by Tobias Klauser <[email protected]>
internal/poll, net, syscall: enable writev on aix

aix supports iovec read/write, see
https://www.ibm.com/docs/en/aix/7.2?topic=w-write-writex-writ...

cabf9fe4f2d7e5adfa7007e11f508b111d07a2f6 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: leverage cc ops in more cases on ppc64x

This updates some rules to use ops with CC variations to
set the condition code when the result ...

d0b0b10b5cbb28d53403c2bd6af343581327e946 authored about 2 years ago by Lynn Boger <[email protected]>
os/exec: document ProcessState available after a call to Wait or Run

Wait or Run will populate its ProcessState when the command completes.

Fixes #56002.

Change-Id...

fdea8e21708e9ed04498a7f7b68cbee43005d58d authored about 2 years ago by hopehook <[email protected]>
all: use grep -E/-F instead of fgrep/egrep

egrep and fgrep are obsolescent now.

This PR updates all egrep and fgrep commands to grep -E an...

2837ffe8d8a48cb321842721a8531ed870ace1d3 authored about 2 years ago by kxxt <[email protected]>
os/exec: parallelize more tests

This cuts the wall duration for 'go test os/exec' and
'go test -race os/exec' roughly in half on...

515e3de2999b23da28e6d15ac485bfdd299ec83a authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: delete TestExtraFilesFDShuffle

This test has been disabled for over nine years (since CL 12869049).
Although it still compiles,...

274d3a06f7331740b849e20cff1d1c1ab84dd0e0 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix incorrect determination of import path is DirImportPath

In practice this only shows up when a vendored package, imported on the
command line, imports an...

fda5dcd9bba38bcdbe9ac473985e108e125c34a5 authored about 2 years ago by Michael Matloob <[email protected]>
debug/buildinfo: correct a typo in calculating next align index

When it calculates the smallest n such that:
n >= i && n % buildInfoAlign == 0
the expression ...

9dfadf911d2dcb093c3a37c79869bead0f9f6349 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/compile: fold constant shift with extension on riscv64

For example:

movb a0, a0
srai $1, a0, a0

the assembler will expand to:

slli $56, a0, a0...

af668c689c66588f8adb9f5cd6db812706536338 authored about 2 years ago by Wayne Zuo <[email protected]>
all: remove redundant type conversion

Change-Id: I375233dc700adbc58a6d4af995d07b352bf85b11
GitHub-Last-Rev: ef129205231b892f61b0135c87...

b314eea4cdba0755caedc9a3e683d3f7e1e2be6f authored about 2 years ago by cui fliter <[email protected]>
os: if dirFS.Open fails, undo use of backslashes in error message

This fixes a bug introduced by CL 426094 that caused the
golang.org/x/website/internal/web tests...

755a2927d8f5bb79952db8fd17bbdec1aed91518 authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: fix some typos

Change-Id: I6be77e7b7c919f26bed7b6690cce6741888ba78a
GitHub-Last-Rev: 4ef4a7b425d0b89adf398a1bee...

c433cf189354f0b3a5e50716df57a94af5f22718 authored about 2 years ago by kijimaD <[email protected]>
cmd/go/internal: use strings.Cut

Change-Id: Icbe2af4f2abf22b6a8c9cec33f0f88018f3bd1c7
GitHub-Last-Rev: 81392a6e88d5297f9581160319...

2e054128bf72c328ed565cfde1ceb7c9a470dc51 authored about 2 years ago by cui fliter <[email protected]>
archive/tar: limit size of headers

Set a 1MiB limit on special file blocks (PAX headers, GNU long names,
GNU link names), to avoid ...

0bf7ee9977c0218562c50a0b0f0d9cbdf33f65e6 authored about 2 years ago by Damien Neil <[email protected]>
regexp: limit size of parsed regexps

Set a 128 MB limit on the amount of space used by []syntax.Inst
in the compiled form correspondi...

c3c4aea55b404c2e6ef109ec6a345f4ccb877381 authored about 2 years ago by Russ Cox <[email protected]>
cmd/go/internal/modindex: ignore non-source files for index

We were saving non-go file information in the module index files,
leading in an unnecessary incr...

881a16542e357fd85ac492424021ff380175675a authored about 2 years ago by Michael Matloob <[email protected]>
cmd/go: add @latest suffix for go install

Fixes #56014.

Change-Id: I75a3960e092459531de43868750f1684ed2ccb70
Reviewed-on: https://go-revi...

3a37b112816d0002ed29804401560e0419b11a92 authored about 2 years ago by hopehook <[email protected]>
runtime: avoid initializing MemProfileRate in init function

Fixes #55100

Change-Id: Ibbff921e74c3a416fd8bb019d20410273961c015
Reviewed-on: https://go-revie...

f63b268b9a1dd6457405ed24dd4831b6ebfb8df8 authored about 2 years ago by Wang Deyu <[email protected]>
go/types, types2: use consistent error messages for invalid struct literals

Fixes #51879.

Change-Id: Ic7ac892b82a0fe4ad6f95ff8ae84e6d30c52c111
Reviewed-on: https://go-revi...

97d38f300273a3eb7af100d3943decaa433fd28f authored about 2 years ago by Robert Griesemer <[email protected]>
runtime/coverage: revise/shorten function names

Use shorter more Go-like names for the new APIs being added in the
runtime/coverage package for ...

47a538842bf05c7ea4b376447789d0906ba49bd8 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/internal/obj/arm64: add missing operand register in GNU assembly

Fixes #55832

Change-Id: Ib20279d47c1ca9a383a3c85bb41ca4f550bb0a33
GitHub-Last-Rev: 10af77a2f213...

9f78c3cb0400c2df143bd0ae124a911f911eaf36 authored about 2 years ago by shaoliming <[email protected]>
runtime: don't jump stack if at entry of systemstack

The traceback code has special "jump stack" logic, to trace back
stack switches through systemst...

500bc6b8056ee2eaf7640610a48ffa00bdd896a5 authored about 2 years ago by Cherry Mui <[email protected]>