Open frewsxcv opened 7 years ago
So you don't always want to set rustflags -- if the code you want fuzzed is in the same crate cargo rustc will work too. But usually you write a separate tiny fuzz script and link to the crate, in which case you need the actual crate to be instrumented.
https://github.com/rust-fuzz/targets/pull/1#issuecomment-283541104