mirror of
https://github.com/golang/go
synced 2024-09-24 05:10:13 -06:00
internal/goexperiment: add GOEXPERIMENT=boringcrypto
Not hooked up to everything else yet. Copy of CL 395880, for setting up GOEXPERIMENT=boringcrypto builder ahead of merge. For #51940. Change-Id: If842761f77d07329d88748990b95f4b39c2f153a Reviewed-on: https://go-review.googlesource.com/c/go/+/397895 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
ef55053354
commit
5c4ed73f1c
9
src/internal/goexperiment/exp_boringcrypto_off.go
Normal file
9
src/internal/goexperiment/exp_boringcrypto_off.go
Normal file
@ -0,0 +1,9 @@
|
||||
// Code generated by mkconsts.go. DO NOT EDIT.
|
||||
|
||||
//go:build !goexperiment.boringcrypto
|
||||
// +build !goexperiment.boringcrypto
|
||||
|
||||
package goexperiment
|
||||
|
||||
const BoringCrypto = false
|
||||
const BoringCryptoInt = 0
|
9
src/internal/goexperiment/exp_boringcrypto_on.go
Normal file
9
src/internal/goexperiment/exp_boringcrypto_on.go
Normal file
@ -0,0 +1,9 @@
|
||||
// Code generated by mkconsts.go. DO NOT EDIT.
|
||||
|
||||
//go:build goexperiment.boringcrypto
|
||||
// +build goexperiment.boringcrypto
|
||||
|
||||
package goexperiment
|
||||
|
||||
const BoringCrypto = true
|
||||
const BoringCryptoInt = 1
|
@ -58,6 +58,7 @@ type Flags struct {
|
||||
FieldTrack bool
|
||||
PreemptibleLoops bool
|
||||
StaticLockRanking bool
|
||||
BoringCrypto bool
|
||||
|
||||
// Unified enables the compiler's unified IR construction
|
||||
// experiment.
|
||||
|
Loading…
Reference in New Issue
Block a user