mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
12 lines
230 B
Rust
12 lines
230 B
Rust
//! FIXME: write short doc here
|
|
|
|
#![no_main]
|
|
use libfuzzer_sys::fuzz_target;
|
|
use ra_syntax::fuzz::CheckReparse;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
if let Some(check) = CheckReparse::from_data(data) {
|
|
check.run();
|
|
}
|
|
});
|