We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49ec95 commit 2848aadCopy full SHA for 2848aad
src/fuzzing.md
@@ -120,6 +120,16 @@ target-cpu=native` or even PGO/BOLT to squeeze out a few more executions per
120
second. Of course, it's best to try multiple build configurations and see
121
what actually results in superior throughput.
122
123
+You may want to build rustc from source with debug assertions to find
124
+additional bugs, though this is a trade-off: it can slow down fuzzing by
125
+requiring extra work for every execution. To enable debug assertions, add this
126
+to `config.toml` when compiling rustc:
127
+
128
+```toml
129
+[rust]
130
+debug-assertions = true
131
+```
132
133
## Existing projects
134
135
- [fuzz-rustc][fuzz-rustc] demonstrates how to fuzz rustc with libfuzzer
0 commit comments