Skip to content

Commit 634e05b

Browse files
Disable fuzzing crate, gives errors in windows
1 parent 8d5cb02 commit 634e05b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
members = [
44
"mqrstt",
5-
"fuzz",
5+
# "fuzz",
66
"examples/tcp"
77
]

fuzz/fuzz_targets/fuzz_target_1.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#![no_main]
22

3+
#[cfg(target_os = "linux")]
34
use libfuzzer_sys::fuzz_target;
45

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

0 commit comments

Comments
 (0)