Only emit DefAlloc edits when the "checker" feature is enabled.

This reduces instruction counts by ~2% when disabled.
This commit is contained in:
Amanieu d'Antras
2022-01-11 11:32:16 +00:00
parent d95a9d9399
commit 693fb6a975
5 changed files with 121 additions and 113 deletions

View File

@@ -25,4 +25,6 @@ overflow-checks = true
[features]
default = []
fuzzing = ["arbitrary"]
checker = []
fuzzing = ["arbitrary", "checker"]