roc/crates/compiler/test_syntax/fuzz
Agus Zubiaga 057a18573a
New module header
Implements the new `module` header syntax as described in "module and package changes" [1]:

```
module [Request, Response, req]
```

The old syntax should still work fine, and is automatically upgraded to the new one
when running `roc format`.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
2024-05-01 10:39:12 -03:00
..
fuzz_targets Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00
Cargo.toml Fix syntax fuzzer cargo config 2024-04-20 11:21:36 -07:00
dict.txt New module header 2024-05-01 10:39:12 -03:00
README.md Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00

fuzz

To setup fuzzing you will need to install cargo-fuzz and run with rust nightly:

$ cargo install cargo-fuzz
$ cargo +nightly fuzz run -j<cores> <target> -- -dict=../parse/fuzz/dict.txt

The different targets can be found by running cargo fuzz list.

When a bug is found, it will be reported with commands to run it again and look for a minimized version. If you are going to file a bug, please minimize the input before filing the bug.