mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-25 05:23:12 +00:00
Rename ra_syntax -> syntax
This commit is contained in:
parent
3d6889cba7
commit
a1c187eef3
958 changed files with 353 additions and 363 deletions
11
crates/syntax/fuzz/fuzz_targets/parser.rs
Normal file
11
crates/syntax/fuzz/fuzz_targets/parser.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
#![no_main]
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
use syntax::fuzz::check_parser;
|
||||
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
if let Ok(text) = std::str::from_utf8(data) {
|
||||
check_parser(text)
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue