Skip to content

Commit

Permalink
internal/goexperiment: add GOEXPERIMENT=boringcrypto
Browse files Browse the repository at this point in the history
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 <[email protected]>
Run-TryBot: Russ Cox <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
rsc committed Apr 4, 2022
1 parent ef55053 commit 5c4ed73
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/internal/goexperiment/exp_boringcrypto_off.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions src/internal/goexperiment/exp_boringcrypto_on.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/internal/goexperiment/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type Flags struct {
FieldTrack bool
PreemptibleLoops bool
StaticLockRanking bool
BoringCrypto bool

// Unified enables the compiler's unified IR construction
// experiment.
Expand Down

0 comments on commit 5c4ed73

Please sign in to comment.