Ecosyste.ms: OpenCollective

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

Hackpad

We strive for making code editing in the browser a powerful, streamlined experience.
Collective - Host: opensource - https://opencollective.com/hackpad - Website: https://hackpad.org - Code: https://github.com/hack-pad

runtime: fix racy allgs access on weak memory architectures

Currently, markroot is very clever about accessing the allgs slice to
find stack roots. Unfortun...

github.com/hack-pad/go - 08ecdf7c2e9e9ecc4e2d7c6d9438faeed2338140 authored almost 3 years ago by Austin Clements <[email protected]>
runtime: give the subprocess more time in TestSpuriousWakeupsNeverHangSemasleep

Issue #27250 reproduced readily enough to keep the subprocess hung
indefinitely when it occurred...

github.com/hack-pad/go - 8ebb8c9ecba4069cc4defffffbbcdde0ba22ced1 authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: fix riscv64 sigaction mask field offset

The Linux kernel for riscv64 does not include an sa_restorer field on
its sigaction struct, and ...

github.com/hack-pad/go - 2c5d2083e41371aa4f5aab9e86921002c1f9b504 authored almost 3 years ago by Rhys Hiltner <[email protected]>
net: do not use sendfile on iOS

Apparently, on the iOS builder sendfile causes a SIGSYS signal
(instead of returning ENOSYS). Di...

github.com/hack-pad/go - 029dfbcc83123cb62e52f2aaedc46397815e3fa6 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/go/internal/modload: fix up main-module checks from CL 334932

Some critical Version == "" checks were missing in mvs.go, causing
mvs.Req to fail to retain req...

github.com/hack-pad/go - ab7905540bf83b85cdbd6574e54319126df9dae8 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix identical to recognize any and interface{}

Currently, identical handles any and interface{} by checking against
Types[TINTER]. This is not ...

github.com/hack-pad/go - 0e1d553b4d98b71799b86b0ba9bc338de29b7dfe authored almost 3 years ago by Cuong Manh Le <[email protected]>
runtime: skip TestSignalIgnoreSIGTRAP on all OpenBSD builders

TestSignalIgnoreSIGTRAP is flaky on OpenBSD and the cause is suspected
to be a kernel bug. This ...

github.com/hack-pad/go - a412b5f0d803b261b8075289bf41599490f237cc authored almost 3 years ago by Tobias Klauser <[email protected]>
misc/cgo/test: further reduce likeliness of hang in Test9400

As suggested by #49680, a GC could be in-progress when we
disable GC. Force a GC after we pause ...

github.com/hack-pad/go - 7ccbcc90560468937f02609a43cb39a6e13ff797 authored almost 3 years ago by Paul E. Murphy <[email protected]>
runtime: add invalidptr=0 for TestGcZombieReporting

pointers in zombies slice may cross-span, add invalidptr=0 for avoiding the badPointer check

Fi...

github.com/hack-pad/go - 5f63f168daa9644bcc723077e9e2e1796639f6bb authored almost 3 years ago by Chaoqun Han <[email protected]>
cmd/go: adjust BuildInfo.Settings

Make Settings more closely align with command-line flags
and environment variables.

- Change co...

github.com/hack-pad/go - 931d80ec17374e52dbc5f9f63120f8deb80b355d authored almost 3 years ago by Russ Cox <[email protected]>
misc/cgo/test: reduce likeliness of hang in Test9400

If a GC triggers while spinning in RewindAndSetgid, it may result in
this test hanging. Avoid it...

github.com/hack-pad/go - 682435dd9991040073ae12021fac164b41376502 authored almost 3 years ago by Paul E. Murphy <[email protected]>
net/http: eliminate arbitrary timeout in TestClientWriteShutdown

This test occasionally hangs on the darwin-arm64-11_0-toothrot
builder. When it does, it fails w...

github.com/hack-pad/go - 18934e11ba6ef2b2f21f091ddf4ab6814dcf1959 authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: keep //go:cgo_unsafe_args arguments alive to prevent GC

When syscall's DLL.FindProc calls into syscall_getprocaddress with a
byte slice pointer, we need...

github.com/hack-pad/go - f463b20789c89f0d22e56663a34e57a942f945cf authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile: change iexportVersionGeneric to 2

Don't expect/allow generics-related info in iexportVersion 1, now that
we increased the export v...

github.com/hack-pad/go - f90a42b41080cf5a289f151f2166d0d0a795e836 authored almost 3 years ago by Dan Scales <[email protected]>
go/types, types2: handle case of no specific target types in conversion

Avoid a panic by handling the case of no specific target type in a type
parameter to type parame...

github.com/hack-pad/go - 3ca57c7fb8bfc9b8b633f71a7aaa9de5fe76f63d authored almost 3 years ago by Robert Findley <[email protected]>
go/types: ensure that constructed type parameters are immutable

TypeParam.iface may mutate TypeParam.bound in the event that the type
parameter bound is not an ...

github.com/hack-pad/go - 186f375ecfdd0f9eae109464a93bb0ba8c993f45 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: consider structural restrictions in Implements

Fixes #49786

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

github.com/hack-pad/go - c402d64f37f819b0f2d9949c6895e342191d11d6 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: better error message for missing ~ in constraint

This is a port of CL 366758 from types2 to go/types.

For #49179.

Change-Id: I7e1c6ffb392d5c535...

github.com/hack-pad/go - ebd0b778c92c4dfc71195ef83d71116957e173ad authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: better error position for instantiation failure

This is a port of CL 366757 from types2 to go/types,
adjusted for the different handling of inde...

github.com/hack-pad/go - bc32dd1b69b0629a54cfe50626e42eb4b75eb017 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: produce empty type set for invalid ~T

This is a clean port of CL 366278 from types2 to go/types.

For #49739.

Change-Id: I2e2cb739c02...

github.com/hack-pad/go - 1ab677a797ab5cdb5c0248b2d63b753820e6ed49 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: report types for mismatched call and return statements

This is a port of CL 364874 from types2 to go/types with various
adjustments:

- the error posit...

github.com/hack-pad/go - 2f6d3820501b34ce530be8193789659c18db0867 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: restore original assignment error messages

This is the missing portion of the port of CL 351669
from types2 to go/types, now that we have a...

github.com/hack-pad/go - 1970e3e3b7b6c42676acc22071ced887ac68b520 authored almost 3 years ago by Robert Griesemer <[email protected]>
runtime: fix preemption sensitivity in TestTinyAllocIssue37262

TestTinyAllocIssue37262 assumes that all of its allocations will come
from the same tiny allocat...

github.com/hack-pad/go - f598e2962d3a358b59faa68471b6ed378fc68806 authored almost 3 years ago by Austin Clements <[email protected]>
spec: adjust section on package unsafe for type parameters

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

github.com/hack-pad/go - 61ff5019687c125910c48c22d672a9b6985ee61e authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: rules for index expressions, len, cap, with type parameter types

We want to support some special cases for index expressions, len, and
cap on operands of type pa...

github.com/hack-pad/go - 68da368a4ed0f6f47e841d75aaed0faf1dcf425c authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: corrections to various sections

- fix definition of "specific types" and add more examples
- state that a parameterized function...

github.com/hack-pad/go - 37a5d720d4c4ebf3fd0c8a089a3bde347d72c01a authored almost 3 years ago by Robert Griesemer <[email protected]>
vendor: update golang.org/x/net to tip

This brings in a fix for OpenBSD that lets it correctly gather network
interface information.

F...

github.com/hack-pad/go - 4325c37d6789aff6f24b05526080b011dda86477 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
doc/go1.18: use <code> instead of <pre> for target specification

For #47694.

Signed-off-by: Jason A. Donenfeld <[email protected]>
Change-Id: I38c2fd9b57fbbacf220...

github.com/hack-pad/go - a59ab29bf2164730e3e6d5439c6ec4b1e46adcc4 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/link: merge note sections into one segment

The ld from binutils merges note sections into one PT_NOTE
segment.
We should do that for consis...

github.com/hack-pad/go - 1ea4d3b91164fb08b7022958b6cd8e290f12e017 authored almost 3 years ago by Meng Zhuo <[email protected]>
A+C: add Bharath Kumar Uppala (individual CLA)

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

github.com/hack-pad/go - 78af02e8b5c5c9d3c6d5026fd72f57026a14952a authored almost 3 years ago by Bharath Kumar Uppala <[email protected]>
spec: fix link for instantiations

This change corrects the link `Instantiantions` to `Instantiations` in the spec.

Change-Id: Ib0...

github.com/hack-pad/go - 0fa53e41f122b1661d0678a6d36d71b7b5ad031d authored almost 3 years ago by syumai <[email protected]>
cmd/go: fix a typo in mod_lazy_new_import.txt

x/y -> a/y

Change-Id: If24970623731098bb72345b8f4c8518b563bbec8
GitHub-Last-Rev: 8a35dddbc155d9...

github.com/hack-pad/go - 9f2a075df905d873e3e426b2f549c327d228ac26 authored almost 3 years ago by tangxi666 <[email protected]>
testing: simplify fuzzResult.String to avoid unnecessarily using fmt.Sprintf

Change-Id: I16b6bfb6b0f02672c894b20845aa14d8dd1979b4
GitHub-Last-Rev: 75ab90123a8a5ad42e96795b75...

github.com/hack-pad/go - 7e1260f62b7447c36d9f3ff95365d761592323c4 authored almost 3 years ago by sivchari <[email protected]>
doc: go1.18 release notes for CLs 323318/332771

Updates #47694

Change-Id: Ib76737996a701906117e096eb6d05b388576a874
GitHub-Last-Rev: 05b9649965...

github.com/hack-pad/go - a142d6587cb6a7ac59ebf49120167c96bdc3bcf6 authored almost 3 years ago by Carlo Alberto Ferraris <[email protected]>
cmd/go/internal: gofmt after CL 355010

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

github.com/hack-pad/go - fad67f8a5342f4bc309f26f0ae021ce9d21724e6 authored almost 3 years ago by Tobias Klauser <[email protected]>
bufio: mention that panic at slicing means underlying reader is broken

Fixes #49795

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

github.com/hack-pad/go - 1d47a1184a4718a34ab1df4d9bf05a284aba4c70 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/doc: fix "builtin" package parsing

As stated in the code, "The builtin package needs special treatment: its
symbols are lower case ...

github.com/hack-pad/go - bf88adadac9bbb1b190ba7af1010373823dabb06 authored almost 3 years ago by Roi Martin <[email protected]>
doc/go1.18: document non-cooperative preemption on windows/arm{,64}

For #47694.
Updates #49759.

Change-Id: I7accd81b8ea6c31e4a2b5e155cf93fe9c447813b
Reviewed-on: h...

github.com/hack-pad/go - 77038044ca7b11fce7eb11f3e6115ed753c2c2bd authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
test/fixedbugs: fix go directive of issue16008.go

This change modifies issue16008.go
I fixed // go:noinline to //go:noinline

Change-Id: Ic133eec5...

github.com/hack-pad/go - a0506bdf7c9741974c54d9dac55517025ba2572d authored almost 3 years ago by sivchari <[email protected]>
A+C: add Chaoqun Han (individual CLA)

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

github.com/hack-pad/go - 45bae64015975a4d7ede597a55397545571d8bc5 authored almost 3 years ago by Chaoqun Han <[email protected]>
runtime: support non-cooperative preemption on windows/arm64

This adds support for injecting asynchronous preemption calls on
windows/arm64. This code exactl...

github.com/hack-pad/go - f7e34e705c533cca0970f1c6d1eafc2666a6a947 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
runtime: support non-cooperative preemption on windows/arm

This adds support for injecting asynchronous preemption calls on
windows/arm. This code follows ...

github.com/hack-pad/go - c58243aa8a510a0f467715da71a3053a04365038 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/dist: add buildtag parsing test

Forgot to 'git add' this test written as part of CL 359314.

For #41184.

Change-Id: I2ebd48fd62...

github.com/hack-pad/go - b2a5a3771f5efdb499da215298c7bcc2f493b4f1 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/compile/internal/types2: better error message for missing ~ in constraint

If a constraint could be satisfied if one of its type elements
had a ~, provide this information...

github.com/hack-pad/go - b77f5f9667c6e5c2081d94163dd7d11c03fa2b8e authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: better error position for instantiation failure

- Thread type argument expressions (rather than posLists) through various
type-checker functions...

github.com/hack-pad/go - 8cdfe408bbd608c5129036e40f346d526049ffc4 authored almost 3 years ago by Robert Griesemer <[email protected]>
runtime: skip TestTimePprof on illumos

On illumos nanotime calls libc, like on the other systems for which
TestTimePprof is skipped.

F...

github.com/hack-pad/go - 7e5331ac445045a70256eeeef5b7aad43886c9ec authored almost 3 years ago by Tobias Klauser <[email protected]>
doc/go1.18: add Clone doc

For #47694

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

github.com/hack-pad/go - 5527d7ff7935d8a58a693be5d1ec4a5312f0f07d authored almost 3 years ago by jiahua wang <[email protected]>
cmd/compile/internal/types2: produce empty type set for invalid ~T

If ~T is not permitted because the underlying type of T is not the
same as T, there is no type t...

github.com/hack-pad/go - 67dd9ee92c454ded14f117e2d958db9ee56e8b02 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: report types for mismatched call and return statements

Thanks to [email protected] who wrote the initial version of
this change (CL 354490).

This ...

github.com/hack-pad/go - c25bf0d959c299e5fa5392ae6f835570ed6d111f authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: print "nil" rather than "untyped nil"

This is a port of CL 366276 from types2 to go/types
with minor adjustments due to the slightly d...

github.com/hack-pad/go - 9e7600d3fccf1920028bc808c755198db73482c0 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: type assertions and switches don't operate on type parameters

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

github.com/hack-pad/go - 696515ee396566ba02da145cf71fe5913d65b9a6 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: adjust type identity rules for type parameters

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

github.com/hack-pad/go - 6ea17aa52c5f66c1fd72b74c36f8036e17ddde34 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: add section on instantiation

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

github.com/hack-pad/go - a3b8f627c258f34325d2284ce636f8d4fb103331 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: adjust conversion rules for type parameters

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

github.com/hack-pad/go - ce2a20af467c8dfa10874abc4b45af413e2b1954 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: adjust assignability rules for type parameters

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

github.com/hack-pad/go - 939480033aa2c09f1b511a1928c0b465f41a45da authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: adjust representability rules for type parameters

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

github.com/hack-pad/go - 003e7faf53a3e7d0e280871447c60922bff89bcf authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: add definition of "specific types" of an interface

The notion of specific types will be used to define rules for
assignability, convertability, etc...

github.com/hack-pad/go - 5d8c49a5a13d922c24dc30675d64f0c49b676535 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/go: fix bug in using the workfile flag with tests

Tests do custom flag processing so we must process the workfile flag
after that happens.

Also f...

github.com/hack-pad/go - 4da06e7b00ae9965ec7d2f6f131266e44f966754 authored almost 3 years ago by Michael Matloob <[email protected]>
doc/go1.18: document that iOS 12 or newer is required

For #47694.
Updates #49616.
Updates #48076.

Change-Id: I570564c3a54d3cd9cfc9b8267df9fbee3363b65...

github.com/hack-pad/go - e883005d2ae5c9de0f3a072af53968da299bb8a8 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
cmd/internal/objfile, debug/gosym: use the address of runtime.text as textStart

Tools like objdump uses the pcln table to find the line number of
a given PC. For a PIE binary, ...

github.com/hack-pad/go - b38ab0ac5f78ac03a38052018ff629c03e36b864 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/internal/obj/x86: modify the threshold of assert loop for span6

Fixes: #49716

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

github.com/hack-pad/go - 14f2b2a4c55b707828be2890b8c750cb849203f6 authored almost 3 years ago by zhouguangyuan <[email protected]>
cmd/compile/internal/inline: revise closure inl position fix

This patch revises the fix for issue 46234, fixing a bug that was
accidentally introduced by CL ...

github.com/hack-pad/go - 465b4028082339bb7aa64ed6e30aef4c0b0413b4 authored almost 3 years ago by Than McIntosh <[email protected]>
runtime: skip TestTimePprof if nanotime calls libc

Fixes #43118

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

github.com/hack-pad/go - 47db3bb443774c0b0df2cab188aa3d76b361dca2 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
runtime: run the right test in TestCgoExternalThreadSignal

The code was accidentally repeating the TestCgoExternalThreadSIGPROF test.

While we're here rem...

github.com/hack-pad/go - 1ac45e026b2cbae91e3495e2cc6e93b6d505b4f4 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
os/signal: reset SIGURG in TestSignal

Accepting SIGURG signals could cause SIGURG to take up the entire
channel buffer.

Enhance the s...

github.com/hack-pad/go - e3eaedb5cf623d0836533573db4140749da42768 authored almost 3 years ago by Chaoqun Han <[email protected]>
cmd/compile: special packages must not have any path separators

We want to distinguish special compiler-generated package paths,
like go.shape, from user paths,...

github.com/hack-pad/go - 0f64c21d90c7017df4f199a5852d60d4b474c03c authored almost 3 years ago by Keith Randall <[email protected]>
runtime: skip TestCgoCallbackGC on darwin-amd64-10_14 builder

This test occasionally fails due to a real bug on this platform.
Due to the age of the platform ...

github.com/hack-pad/go - 00045b76e50d98db354aa185bcbd60a6f62499ac authored almost 3 years ago by Bryan C. Mills <[email protected]>
misc/reboot: skip TestRepeatBootstrap on short builders

This test is slow and resource-intensive, and will rarely catch
failures. It is important to run...

github.com/hack-pad/go - b90c6b99b3fbe60f4782c3e3b85f0ba9bbcf5f50 authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: ensure no GC is running in TestParallelRWMutexReaders

Currently this test makes it clear that it's unsafe for a GC to run,
otherwise a deadlock could ...

github.com/hack-pad/go - 066620f0d8597116a62d9423669ca569646de5ff authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile/internal/types2: print "nil" rather than "untyped nil"

When we have a typed nil, we already say so; thus it is sufficient
to use "nil" in all the other...

github.com/hack-pad/go - 83bfed916b97d51646b4bdc95e0e0fd7798b754f authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/go: work out VCS information once per repository

We need VCS status information for each main package we load.
If two main packages are under the...

github.com/hack-pad/go - 9678f794149d07857cbf2a518bfc7aec532fb732 authored almost 3 years ago by Daniel Martí <[email protected]>
spec: fix Swap example (correctly swap type arguments and parameters)

Thanks to @danscales for noticing the mistake.

Change-Id: I547ee80a78419765b82d39d7b34dc8d3bf96...

github.com/hack-pad/go - 0244343088e074c5f92b42a9812521f711a69410 authored almost 3 years ago by Robert Griesemer <[email protected]>
doc/go1.18: document new overflow error for some untyped arguments to print/ln

Fixes #49216.
For #47694.

Change-Id: Ib129d790c382ddcc9677d87db4ca827b7159856a
Reviewed-on: htt...

github.com/hack-pad/go - 7456b948532e752c0ea0ac98e56e6898271f4dcd authored almost 3 years ago by Robert Griesemer <[email protected]>
doc/go1.18: document compiler change for "declared but not used" errors

Fixes #49214.
For #47694.

Change-Id: Iba68ed17bfd81890309b6a6732087f87a03e1350
Reviewed-on: htt...

github.com/hack-pad/go - 7fbe2f4cc877a02465f36e10e7547e03bcb6e1af authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/go: allow a package that ends with _test having an internal test package

Fixes #45477

Change-Id: I2f1ed281515ec40d31fd07ce9f4901777691bfa7
GitHub-Last-Rev: 7894d9400c95...

github.com/hack-pad/go - 11972353a67456d776cf891a9e46873e8a1fe630 authored almost 3 years ago by Ryan Leung <[email protected]>
cmd/go: correct an inaccuracy in the 'go help work' docs

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

github.com/hack-pad/go - 100d7ea50dbe601164f428f5e4203be7727093f9 authored almost 3 years ago by Michael Matloob <[email protected]>
runtime: execute TestSpuriousWakeupsNeverHangSemasleep in parallel

This test spends most of its time sleeping and waiting on a subprocess
to sleep. It seems like a...

github.com/hack-pad/go - f13fcd9e6839978b883016a50a4e61d4ba843335 authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: in TestSpuriousWakeupsNeverHangSemasleep, wait for the runtime to register handlers

According to https://man7.org/linux/man-pages/man7/signal.7.html, the
default behavior of SIGIO ...

github.com/hack-pad/go - 17aa21279965f5d088606639c17aa60208a34b7d authored almost 3 years ago by Bryan C. Mills <[email protected]>
go/types, types2: substitute for type parameters in signatures when

comparing type identity

Generic signatures should be considered identical modulo type parameter
...

github.com/hack-pad/go - 773f43b35638092f9c0dc56f4a468dce2eb3a8ef authored almost 3 years ago by Robert Findley <[email protected]>
cmd/go: forward the MallocNanoZone variable to script tests

For #49138
Fixes #49723

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

github.com/hack-pad/go - 189b4a2f428be7264db76e5275c96d98b847383b authored almost 3 years ago by Bryan C. Mills <[email protected]>
testing: mention that TB also covers the new type F

Fixes #48146

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

github.com/hack-pad/go - 8f559bcb4666b2358c227aa1bd3a82f3b806d45a authored almost 3 years ago by Bharath Kumar Uppala <[email protected]>
misc/cgo/testcshared: skip TestGo2C2Go on Windows

For #27019
Fixes #49457

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

github.com/hack-pad/go - 81031300a7139cfb59f704bcbb97e333590aacd0 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
net: allow more generous slop in Fluctuation tests

It appears that at least the OpenBSD kernel gets sloppier the longer
the timeout we give it, up ...

github.com/hack-pad/go - 5a3d871831c9febebe513863a26ecc6da1c9c4f3 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: diagnose unexpected nils in TestUnixAndUnixpacketServer

For #34611

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

github.com/hack-pad/go - 2d7ae3fbd86d4b5471ac4044ece208b29cd0ef74 authored almost 3 years ago by Bryan C. Mills <[email protected]>
misc/cgo/test: remove unnecessary forward declaration

This test otherwise fails to build on windows/arm64 as of CL 364774
due to a warning (promoted t...

github.com/hack-pad/go - 9e94cc3666cc5ff6ecf5930fb5da48ba62ad8080 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: report a helpful error when there are no modules in workspace

The current error message that no go.mod files were found is not
helpful, especially when a go.m...

github.com/hack-pad/go - cd0bf3896677583074d33af0b9e538f237db5394 authored almost 3 years ago by Michael Matloob <[email protected]>
Revert "cmd/go: temporarily skip TestScript/test_fuzz_minimize"

This reverts CL 365315.

Reason for revert: test may have been fixed by intervening changes.

Ch...

github.com/hack-pad/go - 6275b54a2a58a1a1bed7f2cc3bc92eca5affb8ff authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix go work sync when there are zero workspace modules

go work sync panics when there are no workspace modules. This is
because the code that set the p...

github.com/hack-pad/go - e73c6c8808da281186a4d8f7107e34e9f7a4a9ee authored almost 3 years ago by Michael Matloob <[email protected]>
A+C: add Zhou Guangyuan (individual CLA)

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

github.com/hack-pad/go - b2aa1380d9ad9a46eb98cd2e1ad71fcbccdc2bd1 authored almost 3 years ago by zhouguangyuan <[email protected]>
go/types,types2: use allInteger to check type for shifted operand

Fixes: #49705

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

github.com/hack-pad/go - ffb6c798281f1a3ec54421a11573cec7d517d117 authored almost 3 years ago by zhouguangyuan <[email protected]>
spec: add section on the structure of interfaces

This change introduces the notion of a structural interface
and its corresponding structural typ...

github.com/hack-pad/go - e30ebaab0bd5d95178f77cf40998ab14a0341d17 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: add type parameter types

- add section on type parameters
- added two sections on the scope of type parameters
- expanded...

github.com/hack-pad/go - a287c4aa38c9c71f823a0c366871f7f4452a602c authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: add type parameter lists

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

github.com/hack-pad/go - 0c3b4a358ad6813d6aad111d0d0c45dce84cbeec authored almost 3 years ago by Robert Griesemer <[email protected]>
test: fix -G=0 mode for longtest builder

For -G=3 for test using 'any'.

Change-Id: Ia37ee944a38be4f4330e62ad187f10f2d42e41bd
Reviewed-on...

github.com/hack-pad/go - 91abe4be0e8f3329bd891838fc047d83a5762c61 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: ensure generic function is loaded when it needs to be re-exported

In the case where we need to re-export a generic function/method from
another package in the exp...

github.com/hack-pad/go - be18cd51dec6ac460949e96231dd05becc2cbcf7 authored almost 3 years ago by Dan Scales <[email protected]>
runtime/cgo: add example of Handle with void* parameter

Fixes #49633

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

github.com/hack-pad/go - d2f4c935f2e247dd9949094c8a4f3ab8df2ba3a0 authored almost 3 years ago by Alan Donovan <[email protected]>
cmd/link: exit early when -d is used on libc platforms

On platforms where we use libc for syscalls, we dynamically link
with libc and therefore dynamic...

github.com/hack-pad/go - 57aba325c8c34f3354abc24fca7bc9627949a1c8 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile: handle `any` as alias like `byte` and `rune`

`types.Types[types.TINTER]` is already used for `interface{}`, so we
can conveniently just exten...

github.com/hack-pad/go - b31dda8a2ad833ea5ec3c807119372b27cc0e782 authored almost 3 years ago by Matthew Dempsky <[email protected]>
net: simplify deadline fluctuation tests

These tests were checking for fairly narrow timing windows, but were
running in parallel and hea...

github.com/hack-pad/go - 5e774b0f5c9e9d5a0dab94620d2e0030226148c2 authored almost 3 years ago by Bryan C. Mills <[email protected]>
crypto/x509/internal/macos: use APIs available on ios

Use SecCertificateCopyData instead of SecItemExport, which is only
available on macOS.

Updates ...

github.com/hack-pad/go - 6027b2183d9a63a11f92d392fd2296e7b88402fc authored almost 3 years ago by Roland Shoemaker <[email protected]>