mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-17 02:08:30 +00:00
9 lines
197 B
Rust
9 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();
|
|
}
|
|
});
|