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

crypto/internal/bigmod: add amd64 assembly core

With this change, we are down to 1.2x the running time of the previous
variable time implementat...

335e7647f53293eb320c1f069eaf0ff641810d6d authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/ecdsa: use bigmod and nistec instead of math/big and crypto/elliptic

Ignoring custom curves, this makes the whole package constant-time.
There is a slight loss in pe...

08f2091ce0817346458d2ae984ccea77817cd516 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/internal/bigmod: move nat implementation out of crypto/rsa

This will let us reuse it in crypto/ecdsa for the NIST scalar fields.

The main change in API is...

d7812ab38031ae524a731b4d2f19adcecd22c2f4 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/ed25519: implement Ed25519ctx and Ed25519ph with context

This is missing a test for Ed25519ph with context, since the RFC doesn't
provide one.

Fixes #31...

831c6509ccddfc55c7f2121c5158f5f40916e6ad authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/aes: On ppc64le, use better instructions when available

Several operations emulate instructions available on power9. Use
the GOPPC64_power9 macro provid...

8614c525b301b2b993bf99269a01975ea072b086 authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/link: revise DLL import symbol handling

This patch reworks the handling of DLL import symbols in the PE host
object loader to ensure tha...

cf93b25366aa418dea3eea49a7b85447631c2a1d authored almost 2 years ago by Than McIntosh <[email protected]>
misc/cgo/testcshared: handle unsuffixed dlltool path

Adapt the testcshared tests to handle the case where the path output
by invoking

gcc -print-p...

771a98d6b19c9ca4bbd3fbeba03d7d512f77c166 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/link: add capturehostobjs debugging flag

Add a new debugging flag "-capturehostobjs" that instructs the linker
to capture copies of all o...

bda0235466a9e2e26332f9a2646678ccdc5edaa9 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/link: improved host archive debug trace output

When ctxt.Debugvlog > 1, produce additional trace output to describe
which object files are bein...

8205d83fe29e315eeb8f64f095a4d2594c9cd1c6 authored almost 2 years ago by Than McIntosh <[email protected]>
crypto/rsa: allocate nats on the stack for RSA 2048

With a small tweak and the help of the inliner, we preallocate enough
nat backing space to do RS...

58a2db181b7cb2d51e462b6ea9c0026bba520055 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: use R*R multiplication to get into the Montgomery domain

This is faster than the current code because computing RR involves
one more shiftIn and using it...

72d2c4c635db1751f44a01ee1775fe832471b3cf authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: precompute moduli

This change adds some private fields to PrecomputedValues.

If applications were for some reason...

5aa6313e587d7fa7caba9a76d23dd4d246cb6d1f authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: deprecate and de-optimize multi-prime RSA

I have never encountered multi-prime RSA in the wild. A GitHub-wide
search reveals exactly two e...

ee5ccc9d4a41df1a1c6d339fa2624b0ee8e26045 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: replace big.Int for encryption and decryption

Infamously, big.Int does not provide constant-time arithmetic, making
its use in cryptographic c...

8a81fdf165facdcefa06531de5af98a4db343035 authored almost 2 years ago by Lúcás Meier <[email protected]>
crypto/ecdsa,crypto/x509: add encoding paths for NIST crypto/ecdh keys

Fixes #56088
Updates #52221

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

5f60f844beb0581a19cb425a3338d79d322a7db2 authored almost 2 years ago by Filippo Valsorda <[email protected]>
runtime: change tfork behaviour to unbreak openbsd/mips64

Currently, tfork on openbsd/mips64 returns the thread ID on success and
a negative error number ...

e84ce0802dac6d5a780acc2f54113b55f49f4b07 authored almost 2 years ago by Joel Sing <[email protected]>
net/http: deflake TestIssue4191_InfiniteGetTimeout

This test exercises the case where a net.Conn error occurs while
writing a response body. It inj...

f4f8397fed02b612c36c425fc9c5dce32408e21b authored almost 2 years ago by Damien Neil <[email protected]>
net/http: direct server logs to test output in tests

Set a logger in newClientServerTest that directs the server
log output to the testing.T's log, s...

c6cdfd88c762ee746cd9579ae57e528f56f5dd00 authored almost 2 years ago by Damien Neil <[email protected]>
net/http: regenerate h2_bundle.go

Done with:

go generate -run=bundle std

After CL 452096 updated the x/net version.

Change-Id:...

4f0d3bcd6d2d6bc726044153bf6875d195203b32 authored almost 2 years ago by Dmitri Shuralyov <[email protected]>
crypto/x509: implement SetFallbackRoots

Adds a method which allows users to set a fallback certificate pool for
usage during verificatio...

04d6aa6514617d5284f0657928eccb579a0f42e2 authored almost 2 years ago by Roland Shoemaker <[email protected]>
all: update golang.org/x/crypto to 2c476679df9a

To pick up CL 451515.

This CL also updates x/net because x/crypto's dependency was bumped
while...

c8244489cc4d4b8786b09ee9e84954c38cd52275 authored almost 2 years ago by Filippo Valsorda <[email protected]>
cmd/compile: package-annotate structs when error would be ambiguous

Before emitting a "wanted Foo but got Bar" message for an interface
type match failure, check th...

ea2c27fe8204225b4d76ed4a541c6b92afec8dde authored almost 2 years ago by David Chase <[email protected]>
cmd/go: don't report non-go files in CompiledGoFiles

We save non-go files in the cached srcfiles file because we want the
non-go files for vet, but w...

dccc58e1b9d3fbc88c6a86c02f77ed0f26d07a4a authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/go/internal/script: check lack of error for non-waiting cmds

In the script engine, if a command does not return a Wait function and
it succeeds, we won't cal...

7161fc737dab823f94d77810953493a0f458284f authored almost 2 years ago by Michael Matloob <[email protected]>
doc/go1.20: add release notes for net package

For #50101
For #51152
For #53482
For #55301
For #56515

Change-Id: I11edeb4be0a7f80fb72fd7680a34...

6fc1f4f906d6d886f324250eebcb44fb4cc39f6c authored almost 2 years ago by Damien Neil <[email protected]>
net: fix typo in ControlContext parameter names

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

f263d9cd93bd713b44b54a3c943b23be0e2c73b9 authored almost 2 years ago by Damien Neil <[email protected]>
crypto/tls: add CertificateVerificationError to tls handshake

Fixes #48152

Change-Id: I503f088edeb5574fd5eb5905bff7c3c23b2bc8fc
GitHub-Last-Rev: 2b0e982f3f6b...

f64c2a2ce5dc859315047184e310879dcf747d53 authored almost 2 years ago by Gabor Tanz <[email protected]>
cmd/go: replace 'directory .' with 'current directory' in some errors

To make the error clearer

Fixes #56697

Change-Id: Idfb5e8704d1bfc64bd0a09d5b553086d9ba5ac33
Re...

fd00c14bf1b7057ae301ec82b82efa0ec5ccc9b4 authored almost 2 years ago by Michael Matloob <[email protected]>
all: add missing periods in comments

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

b2faff18ce28edad98303d2c3134dec1331fd7b5 authored almost 2 years ago by cui fliter <[email protected]>
runtime,cmd/link: increase stack guard space when building with -race

More stuff to do = more stack needed. Bump up the guard space when
building with the race detect...

893964b9727a3dfcadab75c0f6b3c6b683b9bae0 authored almost 2 years ago by Keith Randall <[email protected]>
runtime: optimise memmove on riscv64

Implement a more optimised memmove on riscv64, where up to 64 bytes are moved
per loop after ach...

e18d07ddc5c9005738c3063130f0f5ccf127849e authored almost 2 years ago by Joel Sing <[email protected]>
io/fs: clean up test helper functions

Inline the only use of checkMarks which also allows to drop the
always-true report argument. Thi...

c13ce2985c35b4c6a4b65779c7b30648c6a6e3b8 authored almost 2 years ago by Tobias Klauser <[email protected]>
cmd/link/internal/ppc64: fix trampoline reuse distance calculation

If a compatible trampoline has been inserted by a previously laid
function in the same section, ...

1ed636dc97556e12fd9788d13de6de2f06aa3868 authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile/internal/base, cmd/internal/bio: use syscall.Mmap on aix

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

349d398ea3d2f12b09791a1946e3d8d5baecd0c4 authored almost 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: fix wrong optimization for eliding Not in Phi

The previous rule may move the phi value into a wrong block.
This CL make it only rewrite the ph...

8893da7c724cf5df859a3c4ef6f32d94f0b39a00 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/internal/obj/arm64: tidy literal pool

This CL cleans up the literal pool implementation and inserts an UNDEF
instruction before the li...

205f636e0ab491b7a06e7b7879abb897cdaaf1b4 authored almost 2 years ago by eric fang <[email protected]>
runtime: add page tracer

This change adds a new GODEBUG flag called pagetrace that writes a
low-overhead trace of how pag...

e4435cb8448514d2413f9d9aa3ee40738d26fd67 authored almost 2 years ago by Michael Knyszek <[email protected]>
cmd/internal/obj/arm64: mark branch instructions in optab

Currently, we judge whether we need to fix up the branch instruction
based on Optab.type_ field,...

0613418c9865bb3fb04e26822f3d4f4a317a2540 authored almost 2 years ago by eric fang <[email protected]>
go/types, types2: ensure signatures are instantiated if all type args

are provided

Improve the accuracy of recorded types and instances for function calls,
by instant...

0789ca4951f9c72e0a09051783276e3730d6db06 authored almost 2 years ago by Robert Findley <[email protected]>
go/types, types2: replace some Errorf calls with Error calls (cleanup)

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

7f75b72904e9d7ac512307514c29043ff604bacb authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: replace (internal) writePackage with packagePrefix

This makes it easier to use the package string prefix in some cases
(cleanup).

Change-Id: I0ae7...

a8f9d3f0afa793b5496a5881c74fcd218c130dbc authored almost 2 years ago by Robert Griesemer <[email protected]>
crypto/ecdsa: improve benchmarks

While at it, drop P-224 benchmarks. Nobody cares about P-224.

Change-Id: I31db6fedde6026deff36d...

45711645378b7566b4d423b407f7c5c26028819e authored almost 2 years ago by Filippo Valsorda <[email protected]>
runtime: fix conflict between lfstack and checkptr

lfstack does very unsafe things. In particular, it will not
work with nodes that live on the hea...

d6171c9be2a4bd2801841aa006702886c476f217 authored almost 2 years ago by Keith Randall <[email protected]>
net: return errNoSuchHost when no entry found in /etc/hosts and order is hostLookupFiles

When /etc/nsswitch.conf lists: "hosts: files" then LookupHost returns two nils when no entry ins...

3e5c2c155645ebaed62e4481430c455045b0fff5 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
runtime: work around Apple libc bugs to make exec stop hanging

For a while now, we've had intermittent reports about problems with
os/exec on macOS, but no cle...

1f4394a0c92697896735a5c0135dfde1be9f42bd authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/pgo: count only the last two frames as a call edge

Currently for every CPU profile sample, we apply its weight to all
call edges of the entire call...

6e0e492e1229b22acdc8161efd12500a0e09e67e authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: simplify PGO hot caller/callee computation

Currently, we use CDF to compute a weight threshold and then use
the weight threshold to determi...

3f1bcc58b32dbbf7f27fbe0984b95036ddb249b9 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix broken IR for iface -> eface

For implementing interface to empty interface conversion, the compiler
generate code like:

var...

81c9b1d65f3e416e134a30484c4bd6563aa825b5 authored almost 2 years ago by Cuong Manh Le <[email protected]>
sync/atomic: hint users of old API to use new type-based API instead

Fixes #56495

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

0bd4710ca61463716d1f88d33cc4f6e92b9b8255 authored almost 2 years ago by Keith Randall <[email protected]>
net/http: deflake TestResponseControllerSetFutureWriteDeadline

Don't set the server's write deadline until after the client has
read the response headers, avoi...

b74aaa1427916368c5a1e0ba156f461b2a0f411a authored almost 2 years ago by Damien Neil <[email protected]>
cmd/compile: teach regalloc about temporary registers

Temporary registers are sometimes needed for an architecture backend
which needs to use several ...

5f7abeca5a584a847033bbd1bc1123872bb0925e authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix static init for inlined calls

CL 450136 made the compiler to be able to handle simple inlined calls in
staticinit. However, it...

249e51e5d9aac5124628d524499ea9c067bc37d5 authored almost 2 years ago by Cuong Manh Le <[email protected]>
path/filepath: detect Windows CONIN$ and CONOUT$ paths in IsLocal

CreateFile creates a handle to the console input or screen buffer
when opening a file named CONI...

217ed955887bd59780313bb468862a697b75decd authored almost 2 years ago by Damien Neil <[email protected]>
crypto/x509: reduce boring test key size

Generating 8192 bit keys times out on builders relatively frequently. We
just need something tha...

38b9ff60071fc40d197e7002db1320539e74a678 authored almost 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: implement type checking of "clear" built-in

Will become available with Go 1.21.

Recognizing the `clear` built-in early is not causing any p...

5c834a2eb051a0227814b5ea31437aac3ade100c authored almost 2 years ago by Robert Griesemer <[email protected]>
go/parser: allow trailing commas in embedded instantiated types

go/parser can correctly parse interfaces that instantiate and embed
generic interfaces, but not ...

cafb49ac731f862f386862d64b27b8314eeb2909 authored almost 2 years ago by cia-rana <[email protected]>
os: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

f3ae7ac9d90a26e9bba1589ae934e62bf0ac17e0 authored almost 2 years ago by cui fliter <[email protected]>
internal/profile: remove unused encodeStringOpt

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

86713ea31116ca295db98713d24c2cea41dcb5be authored almost 2 years ago by Tobias Klauser <[email protected]>
test: remove optimizationOff

Cl 426334 removed its only usage, and now we have gcflags_noopt.

Change-Id: I3b33a8c868669deea0...

1daa8e2d5226e0645d9748c32e031d93f485e740 authored almost 2 years ago by Cuong Manh Le <[email protected]>
time: avoid creating a parse error from the next chunk of the value

When it reports a parse error, it uses the "value" variable as the
value element of the parse er...

42d975e5fe91fbe7719422248ad320c04dda5414 authored almost 2 years ago by Zeke Lu <[email protected]>
cmd/compile: handle integer conversions in static init inliner

Given code like

func itou(i int) uint { return uint(i) }
var x = itou(-1)

the static inliner...

bed970b3ffa81cd43ce520bdc75113dd069f41ef authored almost 2 years ago by Russ Cox <[email protected]>
go/types: mention FakeImportC in Package.Import doc comment

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

fee0ab8b5ecab3c1170a80300c8c41f09486ca66 authored almost 2 years ago by Alan Donovan <[email protected]>
cmd/dist: skip non-race tests

In -race mode, the dist test command only registers the std, race,
osusergo, and amd64ios tests ...

44edc5d78740ab702bb782b5e4533f6dee07ad78 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/fix: allow cgo commands in tests to fail if 'go build' is not supported

testenv.HasCgo reports whether the test binary may have been built
with cgo enabled, but having ...

3f5b02d09f0d345c2d6bef83eddbd518e9327276 authored almost 2 years ago by Bryan C. Mills <[email protected]>
path/filepath: remove IsLocal tests dependent on Windows version

Don't test IsLocal("nul.txt"), since whether this name is reserved
or not is version-dependent.
...

b138e71e5b90c75e6e5239fb8f4536c6dcc31c36 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/go: disable cgo by default if DefaultCC is absolute and doesn't exist

Also fix the autocgo test from CL 450739 when DefaultCC is absolute.

Change-Id: Ie282a42a133466...

fdd8f0219d055f16647c8dfcd11e79cce222d200 authored almost 2 years ago by Bryan C. Mills <[email protected]>
net: change resolverConfig.dnsConfig to an atomic.Pointer

We were using a RWMutex RLock around a single memory load,
which is not a good use of a RWMutex-...

b7662047aedc5f2c512911eb59d514ce75b16e18 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
archive/tar, archive/zip: return ErrInsecurePath for unsafe paths

Return a distinguishable error when reading an archive file
with a path that is:

- absolute
-...

a2d8157a7ecc8c7a91c93182ae4778aef505677e authored almost 2 years ago by Damien Neil <[email protected]>
path/filepath: add IsLocal

IsLocal reports whether a path lexically refers to a location
contained within the directory in ...

6d0bf438e302afcb0db5422ea2da59d1995e08c1 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/compile: elide unnecessary Not in Phi block controls

For a BlockIf, we can change the order of the successors if all OpPhi args are an OpNot and this...

fd59c6cf8cb600f2911864948303016581abf016 authored almost 2 years ago by Jakub Ciolek <[email protected]>
cmd/go: add PGO auto mode

Add "auto" mode for the -pgo build flag. When -pgo=auto is
specified, if there is a default.pgo ...

32851587d1adeb07503c2b6168ab11f008972606 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/fix: disallow cgo errors in tests

The 'cgo' command invoked by 'go fix' was not valid when built with
-trimpath, but the test was ...

17de9e2d18a62e28bb8032b04d81835e7705d4c7 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: automatically disable cgo on systems with no C compiler

The documentation for cgo has always said:

> The cgo tool is enabled by default for native buil...

52d9e41ac303cfed4c4cfe86ec6d663a18c3448d authored almost 2 years ago by Russ Cox <[email protected]>
runtime/race: do not use cgo on macOS

The use of an empty import "C" to trigger cgo in runtime/race
serves two purposes:

1. Cause the...

5bf9aeba1cfec8804425f3838b661fd6c2eb26ff authored almost 2 years ago by Russ Cox <[email protected]>
cmd/dist: simplify old code

Now that all uses of "go test" have been converted over to the new
abstraction, we can delete th...

4d1052b0d4e8916fefb542ba8a6f9d325db214f6 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: convert host tests to use goTest

This adds support for host tests to goTest and registerTest and
modifies all uses of registerHos...

bf5b58708931bcbc04f5bb1359093c6fbc01cf0c authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: convert most remaining tests to use goTest

This converts most of the remaining manual "go test" command line
construction in cmd/dist to us...

898d000c39af73e6d71e89e82c558b343d764e36 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: restructure cgo_test

Currently, dist test has a single test called "cgo_test" that runs a
large number of different "...

36ce2ece09f74cc8d71cc1d097b62be6264ddb86 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: make registerTest take a goTest

The overall goal is to make registerTest the primary entry point for
adding dist tests and to co...

135770abea9170dd518c636b70bb58329f008af9 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: use goTest for manual go test invocations

This CL rewrites everywhere in dist that manually constructs an
exec.Cmd to run "go test" to use...

2946c887babdafd8e92550723d5bd0aeb5613335 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: introduce "go test" abstraction

This introduces an abstraction for constructing and running "go test"
commands. Currently, dist ...

c3a0854e31155de9baad65da70e8ffb653f3b721 authored almost 2 years ago by Austin Clements <[email protected]>
math/rand: deprecate Seed

Programs that call Seed and then expect a specific sequence
of results from the global random so...

ad7dc8ad55e6540bbf285df869d4ee6c12fff0e7 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/internal/obj/ppc64: add ISA 3.1B opcodes

A few new opcodes are added to support ROP mitigation on
Power10.

Change-Id: I13045aebc0b6fb09c...

e6eaf39cfaf253ebaff7fff3737f0f1d91024345 authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/go: make testterminal18153 a normal test

Currently, cmd/go's testterminal18153 is implemented as a special test
that doesn't run as part ...

cd9d26f0da769c5644ab7956433991385259ee0a authored almost 2 years ago by Austin Clements <[email protected]>
internal/testpty: move from os/signal/internal/pty

We're going to use this for another test, so make it more accessible.

Preparation for #37486.

...

334d8e453b5d45ede5265debc51b4775195d9ce9 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: eliminate "time" special case

The registerTest function has a special case for commands that start
with "time", but we don't u...

80d8c77a43f2445a78bd5b5c3b113c95e49766a9 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: eliminate registerSeqTest

This is unused, and eliminating it lets us simplify the whole
registerTest mechanism.

Preparati...

40cb04c95bdf9a8da6aed8cfe8f32075e0ecc4ac authored almost 2 years ago by Austin Clements <[email protected]>
cmd/dist: add doc comments to some functions

I keep having to reconstruct how dist test's command system works.
This CL documents the main fu...

9c402305179e4d59bcbefe01629d38fc26808c43 authored almost 2 years ago by Austin Clements <[email protected]>
testing: in TestRacyOutput, ensure that the Run calls complete before cleanup

Also tweak the failure message added in CL 352349.

Updates #18741.
Updates #48515.

Change-Id: ...

8c17505da792755ea59711fc8349547a4f24b5c5 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: add curiously missing GOOS/GOARCH combinations

The cmd/dist cgo_test enumerates a large number of platforms in
various special cases. Some comb...

0266671e3d829c216e10e1a5ad6b4647ea5e39c4 authored almost 2 years ago by Austin Clements <[email protected]>
net: remove unused goLookupHost method

Change-Id: I62b9d0dcbec647fdd3279d78b9999dd933ff0bbd
GitHub-Last-Rev: f83db66c935dd7a14128d1e87c...

38218f398758f336c4848783b27a02847c317afc authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
go/types, types2: ensure invalid generic types are marked as invalid

When detecting invalid types, we may detect cycles through instances.
Ensure that the uninstanti...

70f585f018bd534a15933eb80e2812387d2283f5 authored almost 2 years ago by Robert Findley <[email protected]>
testing: reject calls to Run within Cleanup callbacks

Calling t.Run inside t.Cleanup can mess up the execution order of
registered Cleanup callbacks. ...

978ce7e252b0d6ff0a19f66206ed5f3eca281059 authored almost 2 years ago by Changkun Ou <[email protected]>
internal/goroot: report PkgfileMap error on invalid line

Ref. https://go-review.googlesource.com/c/go/+/442303/comment/7caca6eb_0ebe4d51/

Change-Id: Id3...

7c8c209b45ebe5c3d7979c44e53216f61e8b5f2a authored almost 2 years ago by Tobias Klauser <[email protected]>
crypto/x509: add support for PKCS8/PKIX X25519 key encodings

This specifically doesn't add support for X25519 certificates.
Refactored parsePublicKey not to ...

80c5bbc627a37929ea571e99f0f15cb059fdaf70 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/ecdh: move ECDH method to PrivateKey

Fixes #56052

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

dafc9152047d14d511b37cdd8770324a90c43969 authored almost 2 years ago by Filippo Valsorda <[email protected]>
test: fix noinit on noopt builder

Fix noopt build break from CL 450136 by not running test.

I can't reproduce the failure locally...

5947a07d72076f96eb6fb8e54b7979748962713b authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile: handle simple inlined calls in staticinit

Global variable initializers like

var myErr error = &myError{"msg"}

have been converted to st...

b1678e508bf04b32fcd8153d09c39ff25b51d287 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile: do not emit a few more basic types from every compilation

We already emit types for any and func(error) string in runtime.a
but unlike the other pre-emitt...

cb5534c1c6d80727cb38a602f3ad5ba1a8b693d5 authored almost 2 years ago by Russ Cox <[email protected]>
doc/go1.20: document new sync.Map methods

For #51972.

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

c085c6cbff448830913d8e7e9b1141475eeda59e authored almost 2 years ago by Bryan C. Mills <[email protected]>