Skip to content

Commit

Permalink
Disable fuzzing crate, gives errors in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnarMorrigan committed Nov 28, 2024
1 parent 8d5cb02 commit 634e05b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

members = [
"mqrstt",
"fuzz",
# "fuzz",
"examples/tcp"
]
2 changes: 2 additions & 0 deletions fuzz/fuzz_targets/fuzz_target_1.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#![no_main]

#[cfg(target_os = "linux")]
use libfuzzer_sys::fuzz_target;

#[cfg(target_os = "linux")]
#[tokio::main(flavor = "current_thread")]
async fn test(mut data: &[u8]) {
let _ = mqrstt::packets::Packet::async_read(&mut data).await;
Expand Down

0 comments on commit 634e05b

Please sign in to comment.