mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
10 lines
197 B
Rust
10 lines
197 B
Rust
|
#![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();
|
||
|
}
|
||
|
});
|