Run a pest fuzz target
masterTo run a specific fuzzing target, follow these steps:
- Navigate to the sub-directory of the crate containing the fuzzing targets (
pest_metaorpest_grammars). - Switch to the
nightlyRust toolchain usingrustup. - Execute the target using
cargo fuzz run [target].
Note for macOS users: If the first compilation fails with an error regarding the missing proc_macro dynamic library, simply run the cargo fuzz run [target] command a second time to resolve it.
cargo fuzz run [target]