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

cmd/compile/internal/types2: fix tests on js/wasm

The js/wasm builder started failing as of CL 432535 due to needing
'go build' to import standard...

github.com/hack-pad/go - 0a6c4c87404ecb018faf002919e5d5db04c69ee2 authored almost 2 years ago by Bryan C. Mills <[email protected]>
internal/bytealg: fix bug in index function for ppc64le/power9

The index function was not handling certain corner cases where there
were two more bytes to be e...

github.com/hack-pad/go - 6774ddfec758ecf2cc64d58392c438dd64660a00 authored almost 2 years ago by Archana R <[email protected]>
cmd/compile: enable address folding for global symbols of shared library

Address folding is disabled in CL42172, the commit message of which
said that "In shared library...

github.com/hack-pad/go - e09bbaec69a8ff960110e13eabb3bef5331ecb0c authored almost 2 years ago by erifan01 <[email protected]>
cmd/compile: add missing tail calls flag for linux/loong64

Set the value of the variable tailCall to true and prevent
allocating or clobber the linker regi...

github.com/hack-pad/go - 8a9e2d9d49a9d5234b52a0360ed6a0f91753c291 authored almost 2 years ago by Guoqi Chen <[email protected]>
runtime/internal/atomic: enable atomic 64bit types for all functions on linux/loong64

ref. CL 356169

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

github.com/hack-pad/go - c87e69c2b49e27d0e68709eb9623f2f03eb15267 authored almost 2 years ago by Guoqi Chen <[email protected]>
cmd/go, cmd/cgo: support older versions of gccgo that lack cgo.Incomplete

Test whether gccgo/GoLLVM supports cgo.Incomplete. If it doesn't, use a
local definition rather ...

github.com/hack-pad/go - 3c17053bba406545a87af265f5e4fc8bbdecdcfe authored almost 2 years ago by Ian Lance Taylor <[email protected]>
math/big: improve performance of Binomial

This change improves the performance of Binomial by implementing an
algorithm that produces smal...

github.com/hack-pad/go - 91a1f0d918f54e3b3425248288085db4d5619075 authored almost 2 years ago by Riccardo Gerosa <[email protected]>
cmd/go: don't install most GOROOT .a files in pkg

Packages in GOROOT that don't use cgo will not be installed in
GOROOT/pkg, and will instead be c...

github.com/hack-pad/go - b726b0cadb5102bb718f879bede0e76d1e5f5c34 authored almost 2 years ago by Michael Matloob <[email protected]>
testing: change Error to Errorf in comment

Fixes #56479

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

github.com/hack-pad/go - 4c69d0eeb869cdc987e35d09a052a0e0320c0c96 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
os: don't include DirFS argument in DirFS errors

Otherwise we wind up mixing GOOS paths with slash separated paths.

Change-Id: I63dd733cbdb0668e...

github.com/hack-pad/go - 42f334d677d5d50ba7ddca08a30451b33e78e61b authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: emit DIEs for zero sized variables

Fixes the compiler to emit DIEs for zero sized variables.

Fixes #54615

Change-Id: I1e0c86a97f1...

github.com/hack-pad/go - e59d873ff906550ace73b86bdb74b68ebe482a10 authored almost 2 years ago by Alessandro Arzilli <[email protected]>
cmd/go: don't substitute '$WORK' for work directory in -x heredocs

When writing the set of commands excuted for go build -x, $WORK is
substituted for the work dire...

github.com/hack-pad/go - 77296e36457b070bc811a605c4c4bd6c36d972ae authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: Enables PGO in Go and performs profile-guided inlining

For #55022

Change-Id: I51f1ba166d5a66dcaf4b280756be4a6bf9545c5e
Reviewed-on: https://go-review.g...

github.com/hack-pad/go - 99862cd57dd9406180f238e8fa2fcc1d435fb163 authored almost 2 years ago by Raj Barik <[email protected]>
cmd/internal/obj/arm64: optimize ADRP+ADD+LD/ST to ADRP+LD/ST(offset)

This CL optimizes the sequence of instructions ADRP+ADD+LD/ST to the
sequence of ADRP+LD/ST(offs...

github.com/hack-pad/go - 537c4354cb9fdf8812c0448bd8f8a3b9f9ab1736 authored almost 2 years ago by eric fang <[email protected]>
cmd/dist: produce intermedate .a files in a temporary location

Before this change, the .a files for the intermediate go toolchains
were produced in the same lo...

github.com/hack-pad/go - 7f255ba065ee7bd41da806b297cd643e3ead3fee authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: recognize when the result of append has a constant length

Fixes a performance regression due to CL 418554.

Fixes #56440

Change-Id: I6ff152e9b83084756363...

github.com/hack-pad/go - 0156b797e6f0d1a116a19cd852f569ec2c2eec11 authored almost 2 years ago by Keith Randall <[email protected]>
hash/crc64: use slicing by 8 when the size is greater or equal than 2k

In the previous, we will only use the slicing by 8 look up table when
the data size is greater t...

github.com/hack-pad/go - da0913f814dd4dcd28698dc5b85a3347b77b5550 authored almost 2 years ago by ruinan <[email protected]>
runtime: add wasm bulk memory operations

The existing implementation uses loops to implement bulk memory
operations such as memcpy and me...

github.com/hack-pad/go - 50557edf10161b1aedd3654d84a94b49bae05c43 authored almost 2 years ago by Garet Halliday <[email protected]>
math/rand: deprecate Read

For #20661.

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

github.com/hack-pad/go - 599a1e40c6dc4d02e2d0ae5a22659b49dc327e40 authored almost 2 years ago by hopehook <[email protected]>
cmd/internal/obj/arm64: remove AMOVBU from optab

The instruction format of MOVBU is the same with MOVB, this CL deletes
MOVBU from optab for simp...

github.com/hack-pad/go - 612bb34af5299a33b0b5bdebc92a775153d72ebb authored almost 2 years ago by erifan01 <[email protected]>
debug/elf: guard access to File.gnuVersym

The size of gnuVersym should be multiples of 2. If not, the input is
invalid. No Library and Ver...

github.com/hack-pad/go - 264753c0432c728989970786398c2bcf241a43dd authored almost 2 years ago by Zeke Lu <[email protected]>
runtime: add missing closing curly brace in runtime corruption error message

(Fixing the most important part of this bug.)

Updates #56426

Change-Id: If657ae47a5fe7dacc31d2...

github.com/hack-pad/go - ed24b37fd2b0c242525eb2203d90627c4be1b149 authored almost 2 years ago by Brad Fitzpatrick <[email protected]>
testing: fix many test2json inaccuracies

Test2json is parsing the output stream from the test, which includes
package testing's own frami...

github.com/hack-pad/go - 1c72ee7f13831b215b8744f6b35bc4fd53aba5e2 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/internal/obj/ppc64: generate big uint32 values in register

When using "MOVD $const, Rx", any 32b constant can be generated in
register quickly. Avoid trans...

github.com/hack-pad/go - 4e6f90fecd377777b08a151e1712b6d9180630de authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: print readable function name in error message

i.e.
from "function %!s(*Node=0xc0003b48c0) cannot have ABI wrappers", to "function xxFunctionNa...

github.com/hack-pad/go - f9ee56145bd8aa802b91db9465564cae5596966b authored almost 2 years ago by doujiang24 <[email protected]>
flag: clarify that the main func at pkg.go.dev is part of a testing suite

flag.Example() has this comment:

... one must execute, typically at the start of main (not ...

github.com/hack-pad/go - 29674d87e697e10b658d5676a2f547d555c2c534 authored almost 2 years ago by Zeke Lu <[email protected]>
crypto/x509: respect GODEBUG changes for allowing SHA1 certificates

This allows programs that want SHA1 support to call os.Setenv at startup
instead of insisting th...

github.com/hack-pad/go - 2a2b163bb9125389c5f70e65aec21816e2ea09c5 authored almost 2 years ago by Russ Cox <[email protected]>
all: remove uses of rand.Seed

As of CL 443058, rand.Seed is not necessary to call,
nor is it a particular good idea.

For #548...

github.com/hack-pad/go - 3afba3124df90f1b2f56d3324793f16649a2d93a authored almost 2 years ago by Russ Cox <[email protected]>
go/types, types2: use correct shift value when typechecking constant shift

Fixes #56425.

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

github.com/hack-pad/go - 51af90445696772703ed88d967e8c23c8e9e992d authored almost 2 years ago by Robert Griesemer <[email protected]>
cmd/go/internal/script: use the Cancel and WaitDelay fields for subprocesses

The Cancel and WaitDelay fields recently added to exec.Cmd are
intended to support exactly the s...

github.com/hack-pad/go - 49abdbccde5de042997d6aabe7819212b88f2ef5 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime/internal/syscall: use ABIInternal for Syscall6 on riscv64

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

github.com/hack-pad/go - 939f9fd64a740ef770a0ca3588f8c193dceebe83 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd: remove redundant _

Change-Id: Ia7e1e3679e03d125feb9708cb05bbd32c4954edb
GitHub-Last-Rev: a62b72ea3edcf2b4f9f378cd03...

github.com/hack-pad/go - d2901205c15d5d839c95988497c190b652c5cf3a authored almost 2 years ago by cui fliter <[email protected]>
crypto/x509: delete trailing spaces

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

github.com/hack-pad/go - f7f37b9399c418ff54b57eb70e7eb5120a2248e2 authored almost 2 years ago by Russ Cox <[email protected]>
runtime: fix a few function names on comments

Change-Id: I4be0b1e612dcc21ca6bb7d4395f1c0aa52480759
GitHub-Last-Rev: 032480c4c9ddb2bedea26b01bb...

github.com/hack-pad/go - 069d1fc9e2085d93ea256b6c49b5d7c3026f79a3 authored almost 2 years ago by cui fliter <[email protected]>
all: delete riscv64 non-register ABI fallback path

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

github.com/hack-pad/go - 5d59fa143ae1d0d8fdcc677297ce58bbfc592111 authored almost 2 years ago by Wayne Zuo <[email protected]>
all: update golang.org/x/tools to 8166dca1cec9

To pick up CL 443575.

Note: This CL also update other x repositories because CL 444536 updates
...

github.com/hack-pad/go - 3dc13023c1d20ec48e2d0c69908b0a1cc3681462 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: add support for alternative comparable semantics

Add the experimental compiler flag -altcomparable. If set, the
compiler uses alternative compara...

github.com/hack-pad/go - b95ea201d54953055e7d5d29cf68bb5f19f21f93 authored almost 2 years ago by Robert Griesemer <[email protected]>
cmd/go: show an error when a package in a module conflicts with one in std

Fixes #35270

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

github.com/hack-pad/go - 2dcc9acbd27902c9e551f54ca29d2519418b45c4 authored almost 2 years ago by cuiweixie <[email protected]>
debug/elf: use saferio.SliceCap when decoding ELF sections

This avoids allocating an overly large slice for corrupt input.

No test case because the proble...

github.com/hack-pad/go - 2bdb5c57f1efcbddab536028d053798e35de6226 authored almost 2 years ago by Zeke Lu <[email protected]>
math/rand: auto-seed global source

Implement proposal #54880, to automatically seed the global source.

The justification for this ...

github.com/hack-pad/go - 90a67d052e6dc3f9d522820ca60cc9862a8016ba authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go: make vcstest repo scripts compatible with old Mercurial versions

The scripts added in CL 421455 passed on the TryBots, but failed on
the "-stretch" builders, whi...

github.com/hack-pad/go - 4c9006e45f7c2ab51328868bf2894c3eba7ac3e6 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: split quotes in GOFLAGS same as in other env vars

GOFLAGS didn't split on quotes because no other env vars
(such as CC, CXX, ...) did either. This...

github.com/hack-pad/go - ddaa25b5dd5ec8d66712c12c2a1ef4f12c1b583b authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go: make vcstest repo scripts compatible with old Git versions

The scripts added in CL 421455 passed on the TryBots, but failed on a
subset of the builders tha...

github.com/hack-pad/go - 2d63305b8446c69d79730ff556385cabe09f54ec authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime/internal/syscall: convert PPC64 Syscall6 to ABIInternal

This avoids a lot of stacking.

Change-Id: If5c5cf33335ffdcb7eecbd3f2db7858a415d817d
Reviewed-on...

github.com/hack-pad/go - f9bd1d0f113db5a92e59592f0108dad45a9308ad authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/go: add Subversion support to the local vcstest server

With this change applied, 'go test cmd/go/...' passes
even with the IP routing for vcs-test.gola...

github.com/hack-pad/go - 8749d12bb76db77cdf37d47d666a5962b8a5928b authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: reroute vcs-test.golang.org HTTPS requests to the test-local server

After this CL, the only test requests that should still reach
vcs-test.golang.org are for Subver...

github.com/hack-pad/go - 71048daa2f4e0c23b651d56fa157e1a75e098a82 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: redirect vcs-test.golang.org repo URLs to a test-local server

The new server reconstructs the vcs-test repos on the fly using
scripts that run the actual vers...

github.com/hack-pad/go - d5155f61928a55e570beaa214465bc48ddd2c16c authored almost 2 years ago by Bryan C. Mills <[email protected]>
os/exec: add the Cancel and WaitDelay fields

Fixes #50436.

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

github.com/hack-pad/go - 55eaae452cf69df768b2aaf6045db22d6c1a4029 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix script conditions that require cgo

This fixes a regression introduced in CL 419875
that causes features that require cgo to be test...

github.com/hack-pad/go - 9fffcde118ee3d2522744661b1af1eafb1008667 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: replace the 'addcrlf' script command with a more general 'replace' command

This allows the "reuse_git" test to avoid depending on exact JSON
blobs, which will be important...

github.com/hack-pad/go - 3617514de07278637b7ead51447d23c8799b1d60 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/script: define GOOS, GOARCH, and compiler conditions using suffixes

This replaces a large set of individual GOOS and GOARCH conditions
with a smaller set of more ve...

github.com/hack-pad/go - 3f84a3f324ba1f1e5baa919ed66585ed836eba30 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: replace the '[exec:git]' condition with a '[git]' condition

This makes it more obvious that the condition is testing for something
beyond just the existence...

github.com/hack-pad/go - 4319231686c28d8542219991f0c9026139142b9c authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/script: remove special-case escaping logic for $WORK

Previously, the script engine implicitly escaped the path in the
$WORK environment variable to b...

github.com/hack-pad/go - a971904e10c85e4aeb2cb6a3cf6d8efadc259fdc authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: extract the TestScript engine into a standalone package

This change decouples the script engine from both cmd/go and the
testing package; I intend to re...

github.com/hack-pad/go - 151668c694a15029db236976f06f18482859db61 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix PPC64 latelower enablement

The commit f841722853 needed an update for c0f27eb3d5. This
fixes the aforementioned commit.

Al...

github.com/hack-pad/go - bd6cd7db07f314443acdb980393f57386d40551f authored almost 2 years ago by Paul E. Murphy <[email protected]>
time: optimize appendInt and appendNanos

The appendInt function previously performed a double pass
over the formatted integer. We can avo...

github.com/hack-pad/go - 7f04b8416297a3810cd2eddbcce84ac569e9b96d authored almost 2 years ago by Joe Tsai <[email protected]>
cmd/compile: enable lateLower pass on PPC64

This allows new rules to be added which would otherwise
greatly overcomplicate the generic rules...

github.com/hack-pad/go - f841722853db7911cb5f65d1045e9ecbb5a0d08c authored almost 2 years ago by Paul E. Murphy <[email protected]>
crypto/tls,crypto/x509: clarify certificate ownership

Clarify documentation in cases where certificates returned from
various methods are not owned by...

github.com/hack-pad/go - ffa03f6bac1a86f85a3d3f16c4711b252dc404e0 authored almost 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: implement alternative comparable semantics

This is an experiment to see the impact of a potential spec change:
As an exception to the rule ...

github.com/hack-pad/go - 5a3900b23c2bbbf802fa2db9dfea916a6befa517 authored almost 2 years ago by Robert Griesemer <[email protected]>
runtime: fix usleep on linux/PPC64

The existing implementation fails to convert the remainder
microseconds to nanoseconds. This cau...

github.com/hack-pad/go - 65f863529ce2d66a63d8be0f62b128feb736a575 authored almost 2 years ago by Paul E. Murphy <[email protected]>
doc/go1.20: go version supports non-executable Go binaries

Closes #48187

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

github.com/hack-pad/go - decdad3537dd4797fde8c7db3005da674b50015c authored almost 2 years ago by qmuntal <[email protected]>
crypto/ed25519: implement Ed25519ph in Sign and VerifyWithOptions

Updates #31804

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

github.com/hack-pad/go - a1901f898bc05aac966edd247ff122f52fbb8d2e authored almost 2 years ago by Filippo Valsorda <[email protected]>
internal/abi, internal/buildcfg: always enable register ABI on riscv64

In Go 1.19, we develop register ABI for riscv64, enabled by default as a
GOEXPERIMENT. We can tu...

github.com/hack-pad/go - 7e72d384d66f48a78289edc6a7d1dc6ab878f990 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: use correct type in riscv64 late lower pass

The right-hand side SLLI always contains valid content in the high 32 bits,
so we should use the...

github.com/hack-pad/go - 2952fe4f16666e8ebe433f7505cb52e1cfc56f4b authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/internal/ssa: correct references to _gen folder

The gen folder was renamed to _gen in CL 435472, but references in code
and docs were not update...

github.com/hack-pad/go - 85196fc982ead65ea56c377c2e381eabff329773 authored almost 2 years ago by Johan Brandhorst-Satzkorn <[email protected]>
cmd/go: correct staleness for packages in modules

Packages in modules don't have a Target set for them, so the current
logic for determining stale...

github.com/hack-pad/go - 5b606a9d2b7649532fe25794fa6b99bd24e7697c authored almost 2 years ago by Michael Matloob <[email protected]>
net/netip: add IPv6LinkLocalAllRouters and IPv6Loopback

Fixes #51766
Fixes #51777

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

github.com/hack-pad/go - d5efd0dd63a8beb5cc57ae7d25f9c60d5dea5c65 authored almost 2 years ago by Matt Layher <[email protected]>
cmd/cover: fix buglets in counter insertion

This patch has a couple of minor fixes to new-style counter insertion
(noticed these problems wh...

github.com/hack-pad/go - e43eebdab8a6df71e4b5262bcfb650ee8439870f authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/cover: fix problem with race mode and inlining

This patch fixes a problem in which we can get a data race on a
coverage counter function regist...

github.com/hack-pad/go - 67403a30f61ac6af584796cdfd45c0d86820690c authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/go: don't print cached output for non-build list commands

If a user is running a go list command that wouldn't trigger a build
(for example if -export was...

github.com/hack-pad/go - 99fcacfe9a09c5df0787eda15ace0f473c50363c authored almost 2 years ago by Michael Matloob <[email protected]>
math/bits: note that functions here may be compiler intrinsics

It was noted in the go1.9 release notes that functions in math/bits
may be implemented by compil...

github.com/hack-pad/go - 9e7c5030d064395e24a25dd1a81722f5583defcf authored almost 2 years ago by Nick Craig-Wood <[email protected]>
runtime: gofmt

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

github.com/hack-pad/go - 867babe1b1587ab6961c1d6274be2426e90bf5d4 authored almost 2 years ago by Cherry Mui <[email protected]>
go/scanner: use constant name rather than its value (cleanup)

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

github.com/hack-pad/go - 2b21a27f82cdda5b0339a4b0693c760c69b0c80a authored almost 2 years ago by Park Zhou <[email protected]>
runtime: skip TestVectoredHandlerExceptionInNonGoThread

windows-amd-2012 builder seems to have some problems handling
exception thrown in external C cod...

github.com/hack-pad/go - acfdaf06f573c7b483515aed451c5148e32d6e60 authored almost 2 years ago by qmuntal <[email protected]>
crypto/sha256, cmd/internal/notsha256: improve PPC64 sha256

This minimizes addi usage inside vector heavy loops. This
results in a small performance uptick ...

github.com/hack-pad/go - 6f7e9e23074d771c6adfce84d74fa11dbd8b7619 authored almost 2 years ago by Paul E. Murphy <[email protected]>
runtime/race: add GOAMD64=v3 version of linux race .syso

Makes -race mode faster, in the 15% speedup range.

Update #53743

Change-Id: I735eb71902b41c924...

github.com/hack-pad/go - c75b10be0b88c5b6767fd6fdf4e25a82a665fb76 authored almost 2 years ago by Keith Randall <[email protected]>
encoding/gob: support large slices in slice decode helpers

The slice decode helpers weren't aware of partially allocated slices.

Also add large slice supp...

github.com/hack-pad/go - 4c61e079c087052355c137ab8fcd9abf8728e50a authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: copy blank parameter node when substituting function type

When a function type is copied (e.g. for substituting type
parameters), we make copies of its pa...

github.com/hack-pad/go - 4725c71b735143a138b24f2b0e055c717d8d69ca authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: in compiler errors, print more digits for floats close to an int

Error messages currently print floats with %.6g, which means that if
you tried to convert someth...

github.com/hack-pad/go - 8415ec8c98627326ffb48141c45917b9d7d0c234 authored almost 2 years ago by Keith Randall <[email protected]>
runtime: fix TestVectoredHandlerExceptionInNonGoThread

This test is failing on the windows-arm64-10 builder
https://build.golang.org/log/c161c86be1af83...

github.com/hack-pad/go - 160bb0e66b96e24120deba5fed927acc47b59b1a authored almost 2 years ago by qmuntal <[email protected]>
time: implement strict RFC 3339 during marshal and unmarshal

We add strict checking to marshal and unmarshal methods,
rather than Parse to maintain compatibi...

github.com/hack-pad/go - 72c58fb77192f7d17d87663c943360a48aae11dc authored almost 2 years ago by Joe Tsai <[email protected]>
cmd/compile/internal/ssa: wire up late lower block function

Currently, the lowerBlock function is reused with lateLowerValue, meaning
that any block rewriti...

github.com/hack-pad/go - c0f27eb3d580c8b9efd73802678eba4c6c9461be authored almost 2 years ago by Joel Sing <[email protected]>
cmd/go/internal/modload: update TestQueryImport to pass with tagged versions of x/net

For #48523.

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

github.com/hack-pad/go - 3e6ca3a506fc89f19277b3c19b751847b3864185 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: Add vdso on freebsd/riscv64

Use rdtime to retrieve the timecounter, same as the FreeBSD libc.

Updates #53466

Change-Id: I4...

github.com/hack-pad/go - 0e56c31b85264c35869b3f5c0884beb9e2517110 authored almost 2 years ago by Mikael Urankar <[email protected]>
go/build: remove stale reference to ioutil.ReadDir

The package moved away from the deprecated ioutil API some time ago.

Change-Id: Iecb1baa9285af1...

github.com/hack-pad/go - 4b5558ef01adc0916729499c3d5ce96b82bedb86 authored almost 2 years ago by Daniel Martí <[email protected]>
go/types, types2: replace typecheck with mustTypecheck almost everywhere (cleanup)

Replace even in places where before we have a specific error message
or different control-flow (...

github.com/hack-pad/go - 819087624072fe8ca5914668e837d18eb231f04e authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate helper functions for tests (cleanup)

Instead of having various inconsistent helper functions, rely on
4 helper functions with consist...

github.com/hack-pad/go - 27f094b17cf1e0495515614476ec9137c0ed0a82 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: simplify test setup in a couple of places (cleanup)

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

github.com/hack-pad/go - 35e54da99640110845086d30ba0b8f69a3ebd3c2 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types: remove special handling for .go1 files in tests

All but local tests are now shared and reside in internal/types;
and there are no .go1 files any...

github.com/hack-pad/go - 8265683dda363d00f94e86ce8c5aa86c7b2bd2a4 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove global goVersion flag (cleanup)

Now that we have an easy mechanism to set the Go version with a comment
line directly in test fi...

github.com/hack-pad/go - bfcc3a755cbd9b5c38a4961f1df76c4db0d41442 authored almost 2 years ago by Robert Griesemer <[email protected]>
runtime: ignore exceptions from non-Go threads on windows arm/arm64

If there is no current G while handling an exception it means
the exception was originated in a ...

github.com/hack-pad/go - 6fe3ccd74c4bf53552da3d9f59463a8a291f59db authored almost 2 years ago by qmuntal <[email protected]>
go/internal/gcimporter,cmd/compile/internal/importer: use testenv.MustHaveGoBuild directly

These tests previously had a “skipSpecialPlatforms” function, added in
CL 8611 to skip tests on ...

github.com/hack-pad/go - 4a164a44de3c67da878403504d948dfbd4fc6f7d authored almost 2 years ago by Bryan C. Mills <[email protected]>
go/internal/gcimporter,cmd/compile/internal/importer: skip tests that need 'go list' on js/wasm

js/wasm doesn't support os.Exec, so it can't run 'go list' to locate
export data for packages in...

github.com/hack-pad/go - 6b22572e700235fb7303c7fd6aefcc33c743a130 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: throw in unreachable exitThread

Several OSes don't ever reach exitThread, On AIX, Plan9, Solaris, and
Windows, we throw if this ...

github.com/hack-pad/go - 1f068f0dc7bc997446a7aac44cfc70746ad918e0 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: always keep global reference to mp until mexit completes

Ms are allocated via standard heap allocation (`new(m)`), which means we
must keep them alive (i...

github.com/hack-pad/go - e252dcf9d38ce9192bccacb7e33867cbfbd22b6c authored about 2 years ago by Michael Pratt <[email protected]>
go/types: remove pkgForMode in favor of pkgFor (cleanup)

The mode is always 0.

Change-Id: I6566383c7724b26f070729041bce203a5afa0989
Reviewed-on: https:/...

github.com/hack-pad/go - a8e4b8c2a793de420ebbe7120c132f0b090d068c authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: add test verifying types/values of type parameter "constants"

Fixes #51093.

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

github.com/hack-pad/go - 54ad7f33e4981a87bdd7dfac4d61ac5d21e195c3 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: migrate importer usage in tests

To use an importer that knows where to find stdlib .a files based on
their new locations once th...

github.com/hack-pad/go - 4ac413ae22604de6defd5074dbc2a3df0ac47233 authored about 2 years ago by Michael Matloob <[email protected]>
go,cmd,internal: update to anticipate missing targets and .a files

go/build and cmd/go will stop returing Targets for stdlib .a files, and
stop producing the .a fi...

github.com/hack-pad/go - 7ea0520234aafb47d05bb4822cb7af54c6ac7554 authored about 2 years ago by Michael Matloob <[email protected]>
cmd/go: fix longtest builder after runtime/internal/atomic

Loosen test to accept staleness in any runtime/internal package.
Fixes longtest builder.

Change...

github.com/hack-pad/go - b6e1a563fc142d7129a0ea6a3c6137ee12ff43f7 authored about 2 years ago by Russ Cox <[email protected]>