Compiling png-afl v0.2.0 (/home/kym000131/fuzzing_set/Rust/image-png/png-afl) error: declaration of ano_mangle` function
--> src/main.rs:11:1
11
#[no_mangle]
^^^^^^^^^^^^
= note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them
note: the lint level is defined here
--> src/main.rs:2:11
|
2 | #![forbid(unsafe_code)]
| ^^^^^^^^^^^
after "cargo afl build", there is an error.
Compiling png-afl v0.2.0 (/home/kym000131/fuzzing_set/Rust/image-png/png-afl) error: declaration of a
no_mangle` function --> src/main.rs:11:1= note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them note: the lint level is defined here --> src/main.rs:2:11 | 2 | #![forbid(unsafe_code)] | ^^^^^^^^^^^
Reader<&[u8]>
Reader<&[u8]>
, found(_, _)
= note: expected struct
Reader<&[u8]>
found tuple `(, )``I think there is a problem in png-afl/src/main.rs