]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: move GODEBUGCPU options into GODEBUG
authorMartin Möhrmann <moehrmann@google.com>
Wed, 14 Nov 2018 19:48:40 +0000 (20:48 +0100)
committerMartin Möhrmann <martisch@uos.de>
Wed, 14 Nov 2018 21:47:50 +0000 (21:47 +0000)
commit2de53906e199a744605ca6a0c6cc81653c6e4f89
treef3162e1605cddf80862b92e8548bafe11805246b
parent89a791749389f196d15ca873ae50b81a30780287
internal/cpu: move GODEBUGCPU options into GODEBUG

Change internal/cpu feature configuration to use
GODEBUG=cpu.feature1=value,cpu.feature2=value...
instead of GODEBUGCPU=feature1=value,feature2=value... .

This is not a backwards compatibility breaking change
since GODEBUGCPU was introduced in go1.11 as an
undocumented compiler experiment.

Fixes #28757

Change-Id: Ib21b3fed2334baeeb061a722ab1eb513d1137e87
Reviewed-on: https://go-review.googlesource.com/c/149578
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/internal/cpu/cpu.go
src/internal/cpu/cpu_test.go
src/internal/cpu/cpu_x86_test.go
src/runtime/proc.go