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

go/internal/srcimporter: use the 'go' command from the Importer's GOROOT

We have no guarantee in general that there is any 'go' command in
$PATH at all, let alone the co...

c0158b6a00eaecbd28ded0f66e65b9985f6db078 authored over 2 years ago by Bryan C. Mills <[email protected]>
fmt, strconv: document use of Unicode replacement character in %q

Fixes #51526.

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

3efc7215cbf6c7842cba0f5ebe90f72f0b6de9e1 authored over 2 years ago by Russ Cox <[email protected]>
syscall: ensure that Getwd returns absolute path

Since Linux kernel 2.6.36, the pathname returned by the getcwd() system
call can be prefixed wit...

33e752edd3f5fa5b738730513a7c1283d8e98fa2 authored over 2 years ago by Kir Kolyshkin <[email protected]>
internal/txtar: bring back to main repo, for tests in std

This used to be cmd/go/internal/txtar,
and then it was moved to golang.org/x/tools/txtar
and rev...

a3fcc755db54b89855519a5b3e3fb66ed9912497 authored over 2 years ago by Russ Cox <[email protected]>
syscall: call ABIInternal entersyscall on register ABI platforms

Currently, when register ABI is used, syscall.Syscall calls
entersyscall via a wrapper, so the a...

95395fdbe3e76778a9035d9478f52513fc34a97b authored over 2 years ago by Cherry Mui <[email protected]>
runtime/pprof: do not require a GOROOT/src prefix in tests

When paths are trimmed, the reported file locations begin with the
package import path (not GORO...

1a2f72619510f944289587d41fcb86cad9026f7d authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled

When ASan is enabled, treat conversions to unsafe.Pointer as
an escaping operation. In this way,...

5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b authored over 2 years ago by fanzha02 <[email protected]>
cmd/link: default generic ABI compression for ELF

This CL change all debug dwarf headers to generic ABI
"Compression header" for ELF
(http://www.s...

d34287a4f68de5b8a796ec50b8c6b0582a4afc40 authored over 2 years ago by Meng Zhuo <[email protected]>
go/types: return Universe for (*Package)(nil).Scope()

Port of go.dev/cl/325469.

Fixes #46594.

Change-Id: I4bcdafecaa86885360599c204678871646bb221b
R...

6e49c592de91fd7ea7d47aa50360a1c4f49172f8 authored over 2 years ago by Matthew Dempsky <[email protected]>
go/types, cmd/compile: remove unused Interface.obj field

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

1cb34fbb26a406faa64f696242841ddff64517c9 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

0af0e193680d4688e1f09c5ca315740571b03eea authored over 2 years ago by Heschi Kreinick <[email protected]>
reflect: avoid panic in reflect.Kind.String for negative Kind

Kind(-1).String() used to panic; let's not.

Change-Id: I1dfc0e3298beb37d77713d8327579bbde90dd15...

0d71234ee4cfcac4a6664d8fef4be575cca1d7c7 authored over 2 years ago by Russ Cox <[email protected]>
cmd/asm: support -d=pctab flag

To debug PC data generation.

Change-Id: Id7ac8d607cc27ad52db490bd758c3a768c3e1df2
Reviewed-on: ...

db3045b4be5b91cd42c3387dc550c89bbc2f7fb4 authored over 2 years ago by Cherry Mui <[email protected]>
Revert "os: raise open file rlimit at startup"

This reverts CL 392415.

Reason for revert: new test is failing on at least darwin-amd64-10_14, ...

b4428325e266d8ffdd1131d71862f0767c616e27 authored over 2 years ago by Bryan Mills <[email protected]>
compress/gzip: add example of compressing reader

For #51092

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

201a2e9c2f82dd2c57c8e79bbe2c028d7c13b8ea authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: document that 'go run' strips debug info

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

4e26ab0ed891530cd07174813b89cea04b0fa559 authored over 2 years ago by Ian Lance Taylor <[email protected]>
all: untab /* */ doc comments

A long time ago, gofmt insisted on inserting tabs in /* */ comments
at the top level of the file...

1178255f8596ea503daf30c84c7c1039f755e7f0 authored over 2 years ago by Russ Cox <[email protected]>
internal/cpu: don't run SSE3 disable test if GOAMD64>1

That feature can't be disabled if the microarchitectural version
requires it.

Change-Id: Iad8aa...

9b112cec8363c0c574750d92cffe8682e80aacbe authored over 2 years ago by Keith Randall <[email protected]>
os: raise open file rlimit at startup

Some systems set an artificially low soft limit on open file count,
for compatibility with code ...

b054c7dc1738c810e74756ae0ac4797ce5d31cf6 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile: fix PrefetchStreamed builtin implementation on PPC64

This CL fixes encoding of PrefetchStreamed on PPC64 to be consistent
with what is implemented on...

7b15e297a26842f1f3408ee9d7942f8cfab2e5ea authored over 2 years ago by Archana R <[email protected]>
syscall: add race annotations to Windows ReadFile and WriteFile

For #51618
Fixes #51673

Change-Id: Ie63408d62303293d80afed8d5cf1cb164a8abecc
Reviewed-on: https...

e475cf2e705d4eda8647426e060898ab3f643610 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/internal/obj/arm64: add TRN1 and TRN2 instructions support

Add test cases.

Fixes #51628

Change-Id: I433367d87e6bb5da5579c4be540079b92701c1fa
Reviewed-on:...

49f16625c82483ab26929a2761031c93dd5d2c83 authored over 2 years ago by fanzha02 <[email protected]>
cmd/internal/obj/arm64: refactor the handling of shifted RSP

Some arithmetic operation instructions such as ADD and SUB support two
formats of left shift (<<...

44a0da4ff11a5447dcfe2b62ac46bca134736d81 authored over 2 years ago by eric fang <[email protected]>
text/template/parse: allow space after continue or break

Trivial fix: We must skip space after either of these keywords
before we expect a closing delimi...

41a82aa9c36bffab2593d50aa55a462fef4e5bd4 authored over 2 years ago by Rob Pike <[email protected]>
cmd/compile: disable rewrite loop detector for deadcode-only changes

We're guaranteed we won't infinite loop on deadcode-only changes,
because each change converts v...

15728ce950eea43d6f1b9fb29819d006071e843a authored over 2 years ago by Keith Randall <[email protected]>
cmd/api: require proposal # for new API features

Having the proposal numbers recorded in the API files
should help significantly when it comes ti...

b7041c7ad1c9d42078cfc376320e5b307e617a80 authored over 2 years ago by Russ Cox <[email protected]>
internal/cpu: disallow disabling options that are required for microarch

e.g., if GOAMD64=v3, don't allow GODEBUG=cpu.XXX=off for XXX which
are required for v3.

Change-...

5ccd8e5133a43e574be8d66aae3a230c39b4b67a authored over 2 years ago by Keith Randall <[email protected]>
go/types, types2: use correct underlying type in union set computation

Fixes #51658.

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

41fe746857104d8775a23dc8f69494240d683e54 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix wrong dict param when getting dict type

CL 338129 added getDictionaryType to get the dictionary type from the
specified dict param, but ...

8419ec295cd86a3d26cd360ef5f919a51fe33ebb authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: use testGOROOT in TestListTemplateContextFunction

This test uses testgo to run 'go list', so it should use the correct
GOROOT for testgo. (This ma...

676858f3d4786054e1b27b999b5e73190f25288c authored over 2 years ago by Bryan C. Mills <[email protected]>
go/build: set PWD for go subcommands

Since these commands already include an explicit Env field,
they will not be fixed automatically...

d99ff0382116bb472b9f92ddf23cb22bf145bbcd authored over 2 years ago by Bryan C. Mills <[email protected]>
debug/buildinfo: use testenv.GoToolPath in tests instead of resolving "go" from $PATH

Updates #37475.

Change-Id: I8c3237438da3e9521ce3be26a0b5d5ca36944b17
Reviewed-on: https://go-re...

471d319fb2497aa7239943eb1a6d5cfbad503a2a authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: remove unified IR stmtTypeDeclHack

After CL 385998, unified IR quirks mode was gone, it's time to remove
stmtTypeDeclHack, too.

Ch...

7900576bac4630bbeec7f4f1aa4b1cb0d51bd8a1 authored over 2 years ago by Cuong Manh Le <[email protected]>
net/url: add OmitHost bool to url.URL

Previously, myscheme:/path and myscheme:///path were treated as the same URL
although materially...

ab0f7611d739fe10d0265dbc6bdc17684423bfc8 authored over 2 years ago by Uzondu Enudeme <[email protected]>
runtime/pprof: use syscall.RUSAGE_SELF

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

3c2e73c8c3323887e6b95f72adb6242b8727ba8b authored over 2 years ago by Tobias Klauser <[email protected]>
syscall: add race annotations to Pread and Pwrite

Fixes #51618

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

842d37ee5f86f12aa096b750adbd2debd9129fcb authored over 2 years ago by Ian Lance Taylor <[email protected]>
encoding/hex: implement Decode with a lookup table

Implement hex decode using a 256 byte lookup table instead of branching logic.

In happy flow, u...

baf61e4a67789e20f019507287a324cca06bed42 authored over 2 years ago by eh-steve <[email protected]>
cmd/asm: add support for bdnz/bdz extended mnemonics on PPC64

Support BDNZ and BDZ mnemonics, they are commonly used
POWER instructions. The raw BC mnemonic i...

7b1ba972dc5687f6746b2299b047f44e38bc6686 authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime/pprof, syscall: report MaxRSS on all unix platforms

All unix platforms currently supported by Go provide the getrusage
syscall. On aix and solaris t...

c1f22134f22158ebeebf450357f711eb22fab202 authored over 2 years ago by Tobias Klauser <[email protected]>
spec: various minor clarifications

- Allow for a type parameter as length/capacity to make.
- Be slightly more precise in prose for...

fe75fe3c7ae99713ed4e452ea8a4fcb589517dd9 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: clean up intro and replace bolded text with prose

- Remove "Draft" disclaimer. We're not done but the spec
is in usable shape with respect to ge...

59d80227effa3027a37b1aa85eef88d1df7b1e81 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/amd64: fix "missing objdump" skip in TestGoAMD64v1

The skip was erroneously applied to errors from the call to StdoutPipe
instead of Start, and eve...

751b8798dd3a0b099ec403bafae0d48d5c5fae8c authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: use the correct gofmt binary in TestScript/fmt_load_errors

Otherwise, this test may fail when GOROOT/bin is not in $PATH.

Change-Id: Id744f365f66047162071...

ef7d0413c204f69f8179b50de869acf7bd1e1731 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix re-export closure

For hidden closure built during stenciling to implement a function
instantiation, the function m...

9743e9b6d8e150639f509fc64e4bc5f24ecce562 authored over 2 years ago by Cuong Manh Le <[email protected]>
internal/fuzz: minimization should not reduce coverage

Minimization should result in a fuzz input which
includes the same coverage bits as the original...

5003ed884a67ee26b4cedbe6f5b1c02bd5eb6630 authored over 2 years ago by Steven Johnstone <[email protected]>
internal/fuzz: don't use dirty coverage maps during minimization

When minimizing a value, if the value cannot be minimized (i.e. it is
the final value is the sam...

bd71dee2b4c0a44f9c32e9eb23d990b54ce06bae authored over 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: remove incorrect assertion (don't crash)

The removed assertion was never incorrect, as signatures may
be from methods in interfaces, and ...

914195c132cbec651aa43c409e8aac2614b53b38 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix expression switches using type parameters

Both the thing we're switching on, as well as the cases we're switching for.
Convert anything co...

2e46a0a99768408c90cf4eeda3690831693fd8b2 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix transform of OEQ/ONE when one arg is a type param

At this point in stenciling, we have shape types, not raw type parameters.
The code was correct ...

8cf11694abbfbdbd4fe0b2c08511f81b8bfe5017 authored over 2 years ago by Keith Randall <[email protected]>
flag: add TextVar function

The TextVar function makes it easier to integrate the flag package
with any Go type that impleme...

91daaabd56964d0cffae99825e4696f3f70a3857 authored over 2 years ago by Joe Tsai <[email protected]>
bytes: rely on runtime.growslice for growing

Rather than naively making a slice of capacity 2*c+n,
rely on the append(..., make(...)) pattern...

2d026a4ea5b28680c1ed7660f720c4cb028c5b35 authored over 2 years ago by Joe Tsai <[email protected]>
runtime: fix SegvInCgo skip check

CL 390034 changed this throw message to add the goid, breaking the
match.

For #50979.

Change-I...

1cf67709beb2d7e317cb6e6b983f3fc6304ebc1a authored over 2 years ago by Michael Pratt <[email protected]>
go/token: allocate fewer times at init time

go/token has had a global "keywords" map filled at init time for years.
Overall, the package's i...

5a040c5a3678857f03e77822956c916e8274b2c3 authored over 2 years ago by Daniel Martí <[email protected]>
runtime,cmd/compile: change reg duff{zero,copy} for regabi riscv64

As CL 356519 require, X8-X23 will be argument register, however X10, X11
is used by duff device....

29b968e76638c22368f775a4347a544a096d9380 authored over 2 years ago by Meng Zhuo <[email protected]>
spec: remove note re: field accesses on type literals

For #51576.

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

00535b839841227ba60c2de78fbf767088f865bc authored over 2 years ago by Robert Griesemer <[email protected]>
spec: more adjustments/corrections

- Change section title from "Type parameters lists" to
"Type parameter declarations" as the en...

6fb07317e5e7997a1e44ccb6984229c77dc186a3 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: remove notion of specific types

Specific types were introduced to explain rules for operands of
type parameter type. Specific ty...

46f352de2dc80657664431ebb04f89a2fad579c5 authored over 2 years ago by Robert Griesemer <[email protected]>
net/url: add JoinPath, URL.JoinPath

Builds on CL 332209.

Fixes #47005

Change-Id: I82708dede05d79a196ca63f5a4e7cb5ac9a041ea
GitHub-...

604140d93111f89911e17cb147dcf6a02d2700d0 authored over 2 years ago by Carl Johnson <[email protected]>
cmd/compile,bytealg: change context register on riscv64

The register ABI will use X8-X23 (CL 356519),
this CL changes context register from X20(S4) to X...

9faef5a6540f56af0129610db8a55b443229075f authored over 2 years ago by Meng Zhuo <[email protected]>
go/types, types2: pointer base types cannot be type constraints

Pointer types may appear in expressions *P and we don't know if
we have an indirection (P is a p...

3a5e3d8173df547d8360a609097fc80f01182db1 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: clarify documentation with respect to generic types

Address several areas where documentation was inaccurate or unclear
regarding generic types. Als...

e189b5e06d4831025758c0b152838fa1a0375525 authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: require -p flag

The -p flag specifies the import path of the package being compiled.
This CL makes it required w...

a987aaf5f7a5f64215ff75ac93a2c1b39967a8c9 authored over 2 years ago by Russ Cox <[email protected]>
go/types, types2: disable field accesses through type parameters

This is a feature that is not understood well enough and may have
subtle repercussions impacting...

b8248fab897da9bee2211a98df1656883ccecd6d authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: fix buildvcs when using older git versions

Git versions before v2.10.0 do not support --no-show-signature.
Using "-c" allows Git to ignore ...

7026eeb8cfdc5801adddaaa678fb6495a998db0e authored over 2 years ago by Mark Pulford <[email protected]>
runtime/pprof: fix pcDeck's frame indexing

When building the inlining deck, correctly identify which is the last
frame in the deck. Otherwi...

0d33a9967540fe06f5ce7b14790e9be8da576936 authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/compile: mark instantiated generic functions as DUPOK

Unified IR wasn't marking instantiated generic functions as DUPOK,
even though they can appear i...

7160e3252991d9462ee3a155b5504c564a6cffe5 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/internal/obj/arm64: optimize function prologue/epilogue with STP/LDP

In function prologue and epilogue, we save and restore FP and LR
registers, and adjust RSP. The ...

c6d9b38dd82fea8775f1dff9a4a70a017463035d authored over 2 years ago by eric fang <[email protected]>
cmd/compile/internal: add ABI register information for riscv64

This CL adds the defines for ABI registers on riscv64.

Updates #40724

Change-Id: I53a89d88b6fe...

1045faa38c660b8a0ac3fbf5b0a01dde26a3cf75 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/go: for gccgo expect one fewer file in TestScript/list_swigcxx

One of the files in CompileGoFiles is actually _cgo_import.go, but
that file is only generated f...

20d333b6f48545cd9900a39fb10f390584d4ba2c authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/printer: don't print unnecesary commas for func type param lists

Type parameter lists are not ambiguous for function declarations in the
way that they are ambigu...

0add0647d80f8ec794042b4608275830372fe298 authored over 2 years ago by Robert Findley <[email protected]>
net/http/pprof: skip TestDeltaProfile on all arm and arm64 architectures

Given that we have seen failures with the same failure mode on both
openbsd/arm and android/arm6...

4469557974a95b1f4bc1c700aee6779a0f15d22e authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: log OS version when testing

As a follow-up to https://golang.org/cl/371474, add the OS version to
the metadata printed for e...

dbbe4cca5d7069482983316694334bdf2fe6a7ec authored over 2 years ago by Michael Pratt <[email protected]>
cmd/dist: log CPU model when testing

Knowing whether test failures are correlated with specific CPU models on
has proven useful on se...

67f1a436b9c4055e02d9d031c6c2e9d6c9456bf0 authored over 2 years ago by Michael Pratt <[email protected]>
runtime/pprof: check if PC is reused for inlining

When describing call stacks that include inlined function calls, the
runtime uses "fake" PCs to ...

bd77d6e24048e5a8b7b07d2d0b7cf552d21905f5 authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime, syscall: implement syscall.Pipe using syscall.Pipe2 on solaris

All other platforms providing the pipe2 syscall already implement it
that way. Do so as well on ...

c3c74777bc5dcd351af6dc4811011241efe07d21 authored over 2 years ago by Tobias Klauser <[email protected]>
os, internal/syscall/unix: consolidate Pipe implementations

All platforms with the pipe2 syscall now provide syscall.Pipe2. Use it
to implement os.Pipe.

T...

085ef537c4a2c57d373e72f4a110d9fae9a287be authored over 2 years ago by Tobias Klauser <[email protected]>
syscall: add Pipe2 on solaris and use it for forkExecPipe

Other platforms already define Pipe2, so add it for solaris as well.

Change-Id: If0d2dfc9a36134...

de8ddd97accb417450db014d1f45723515cb5d80 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile/internal/syntax: don't try to parse files in GOROOT/.git

This test was failing locally in my clone of the go repo due to a Git
branch ending in ".go", wh...

e030833880b4ed20a7c153e6e58190c5649284ac authored over 2 years ago by Bryan C. Mills <[email protected]>
internal/fuzz: fix encoding for out-of-range ints and runes

Also switch float64 NaN encoding to use hexadecimal, and accept
hexadecimal encoding for all oth...

7419bb3ebb8ea2b9b3745cdcbaf747e4dffc52ae authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile/internal/types2: more consistently print "check go.mod" if language version < 1.18

If you attempt to instantiate a generic type or func and run 'go build'
with a language version ...

d3070a767bc0ddfdca1f84e2018de1c906b817ca authored over 2 years ago by thepudds <[email protected]>
internal/bytealg: optimise compare on riscv64

Implement compare using loops that process 32 bytes, 16 bytes, 4 bytes
or 1 byte depending on si...

291bda80e551289e0b8ed3209782ccb2a98a124b authored over 2 years ago by Joel Sing <[email protected]>
internal/bytealg: optimise memequal on riscv64

Implement memequal using loops that process 32 bytes, 16 bytes, 4 bytes
or 1 byte depending on s...

3c42ebf3e2dccbe228b78ca2e157010a7d3c5b9d authored over 2 years ago by Joel Sing <[email protected]>
cmd/compile: allow fieldtrack of unexported fields

The fieldtrack support is experimental and used mainly inside Google,
where we have included thi...

7fd9564fcd3715a2aaf2bf4df1096f71ff40ef15 authored over 2 years ago by Russ Cox <[email protected]>
crypto/rand: simplify Prime to use only rejection sampling

The old code picks a random number n and then tests n, n+2, n+4, up to
n+(1<<20) for primality b...

0b76afc75ca687fcd9a1a8e0b19670fb8f37fecb authored over 2 years ago by Russ Cox <[email protected]>
spec: document that type inference doesn't apply to generic types

Type inference for types was always a "nice to have" feature.
Given the under-appreciated comple...

6e63be7b69aab25ac66029e7dfec47303d3b7505 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/internal/obj/arm64: optimize stacksplit prologue for small stack

When framesize <= objabi.StackSmall, 128B, the stacksplit prologue is:
MOVD 16(g), R16
MOVD ...

31be6285a879af94c7283e6599e3f9b64266bc1a authored over 2 years ago by eric fang <[email protected]>
fmt: use tabs for indentation

Replace 24 spaces added in CL 389434 with 3 tabs,
so the new line is indented like other lines a...

0043c1efbb53e72cbd1b41c32812ca3c78d8e169 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
internal/cpu: set PPC64.IsPOWER8

This should always be true, but use the HWCAP2 bit anyways.

Change-Id: Ib164cf05b4c9f0c509f41b7...

d9d55724bd8ff10d8de5c13fd77122a37ac73719 authored over 2 years ago by Paul E. Murphy <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I4e09d4f2cc77c4c2dc12f1ff40d8c36053ab7ab6

f49279383901af656e40f225eb67ff62f507e13d authored over 2 years ago by David Chase <[email protected]>
io: add WriterTo to MultiReader

This patch allows to zerocopy using MultiReader.
This is done by MultiReader implementing Writer...

079a027d27a9eed18c99c0c6a6e2fc70f9dd07b7 authored over 2 years ago by Jorropo <[email protected]>
spec: clarifications based on feedback

This change includes several smaller changes based on feedback
received so far.

These changes w...

3bb90a278a09c889fe936b2c5053116e48312ba2 authored over 2 years ago by Robert Griesemer <[email protected]>
go/build: use static maps rather than an init func

go/build is one of the packages that contributes the most towards
cmd/go's init cost, which adds...

38174b3a3514629b84dcd76878b2f536b189dd7b authored over 2 years ago by Daniel Martí <[email protected]>
go/types, types2: disable inference for type instances

Inference for type instances has dependencies on type-checking order
that can lead to subtle bug...

28fab5ef21d8aef72634f9c251fbeb4039dababa authored over 2 years ago by Robert Findley <[email protected]>
go/types: document that predicates are undefined on generic types

Fixes #50887

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

20dd9a42fb80ed4919d79bfb4644c16ab9e09e72 authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: record all type instances, even duplicates

Due to instance de-duplication, we were failing to record some type
instances in types.Info.Inst...

43b09c096a33b8a3cd3477546c445e2c41efcfdf authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: don't crash in selectors referring to the type being declared

In Checker.typInternal, the SelectorExpr case was the only case that
didn't either set or pass a...

114d5deac2f513a7397ab4c2ee8d2d567a901266 authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

768804dfdd81b04a1184c86e538634872b907149 authored over 2 years ago by Carlos Amedee <[email protected]>
go/types, types2: correctly include comparable in type set intersection

The comparable bit was handled incorrectly. This CL establishes
a clear invariant for a type set...

7dc6c5ec34ca6780e8eac1760116ff69d0c27d7a authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: remove duplicate const logic from typecheck

Now that we always use types2 to validate user source code, we can
remove the constSet logic fro...

dcb6547b76c5818b55294e203e8f5057794b23cf authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: print goid when throwing in gentraceback

This makes it easier to figure out where the crash is occurring.

Change-Id: Ie1f78a360367090dcd...

cc9d3f548a0265124766dfdb45e77cf05579219d authored over 2 years ago by Michael Pratt <[email protected]>