Skip to content

Commit 12fecdc

Browse files
authored
feat: uses memoization to decrease memory consumption. (#220)
1 parent 192e9cd commit 12fecdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

magefiles/magefile.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,11 @@ func Build() error {
182182
return err
183183
}
184184

185-
buildTags := []string{"custommalloc", "no_fs_access"}
185+
buildTags := []string{
186+
"custommalloc", // https://github.com/wasilibs/nottinygc#usage
187+
"no_fs_access", // https://github.com/corazawaf/coraza#build-tags
188+
"memoize_builders", // https://github.com/corazawaf/coraza#build-tags
189+
}
186190
// By default multiphase evaluation is enabled
187191
if os.Getenv("MULTIPHASE_EVAL") != "false" {
188192
buildTags = append(buildTags, "coraza.rule.multiphase_evaluation")

0 commit comments

Comments
 (0)