]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/objabi,runtime: simplify sys.GOEXPERIMENT parsing
authorAustin Clements <austin@google.com>
Wed, 17 Mar 2021 16:22:58 +0000 (12:22 -0400)
committerAustin Clements <austin@google.com>
Thu, 18 Mar 2021 21:27:24 +0000 (21:27 +0000)
commit095ba225973152734b0722e7c5758accb2639c15
treedbd56e2c50a1c2b4a6958b1a31574712ae350a44
parent0c93b16d015663a60ac77900ca0dcfab92310790
cmd/internal/objabi,runtime: simplify sys.GOEXPERIMENT parsing

Previously, the runtime had to understand the full syntax of the
GOEXPERIMENT environment variable. Now, sys.GOEXPERIMENT is the
pre-processed experiment list produced by objabi, so we can simplify
the runtime parser.

Change-Id: I0d113a4347dde50a35b8b1f2b0110c88fe802921
Reviewed-on: https://go-review.googlesource.com/c/go/+/303049
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/objabi/util.go
src/runtime/proc.go