From 35cebb6f7e79e604bf4ce03146ff18ee5a47cd22 Mon Sep 17 00:00:00 2001 From: pham vinh dat Date: Wed, 13 Mar 2024 13:36:39 +0700 Subject: [PATCH] add boringcrypto experiment pkg --- Makefile | 2 +- pkg/section/standard_list.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e75d57..c5b8ac7 100644 --- a/Makefile +++ b/Makefile @@ -15,4 +15,4 @@ test: clean @go test -v -count=1 -cover ./... generate: - @go generate ./... + @GOEXPERIMENT=arenas,boringcrypto go generate ./... diff --git a/pkg/section/standard_list.go b/pkg/section/standard_list.go index 551bba4..16150f8 100644 --- a/pkg/section/standard_list.go +++ b/pkg/section/standard_list.go @@ -1,6 +1,6 @@ package section -// Code generated based on go1.22.0 X:arenas. DO NOT EDIT. +// Code generated based on go1.22.0 X:boringcrypto,arenas,cacheprog. DO NOT EDIT. var standardPackages = map[string]struct{}{ "archive/tar": {}, @@ -20,6 +20,7 @@ var standardPackages = map[string]struct{}{ "context": {}, "crypto": {}, "crypto/aes": {}, + "crypto/boring": {}, "crypto/cipher": {}, "crypto/des": {}, "crypto/dsa": {}, @@ -37,6 +38,7 @@ var standardPackages = map[string]struct{}{ "crypto/sha512": {}, "crypto/subtle": {}, "crypto/tls": {}, + "crypto/tls/fipsonly": {}, "crypto/x509": {}, "crypto/x509/pkix": {}, "database/sql": {},