Skip to content

Commit 219deb7

Browse files
committed
Add the grpcnotrace build tag for hfc builds
This finally unlocks dead code elimination for the Lambda handler, which takes the binary from ~31 MB to ~20 MB. That's a huge difference!
1 parent 23486b0 commit 219deb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hfc.toml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "randomizer"
33

44
[build]
55
path = "./cmd/randomizer-lambda"
6+
tags = ["grpcnotrace"] # note that lambda.norpc is implicit for all hfc builds
67

78
[template]
89
path = "CloudFormation.yaml"

0 commit comments

Comments
 (0)