move fuzzing code to lib

This commit is contained in:
nora 2021-12-31 17:31:49 +01:00
parent f222e0cb10
commit 6215924049
8 changed files with 102 additions and 23 deletions

View file

@ -19,13 +19,19 @@ path = ".."
members = ["."]
[[bin]]
name = "lex"
path = "fuzz_targets/lex.rs"
name = "lexer"
path = "fuzz_targets/lexer.rs"
test = false
doc = false
[[bin]]
name = "lex_parse"
path = "fuzz_targets/lex_parse.rs"
name = "parser"
path = "fuzz_targets/parser.rs"
test = false
doc = false
[[bin]]
name = "compiler"
path = "fuzz_targets/compiler.rs"
test = false
doc = false