How to use it with main.rs instead of lib.rs #364
-
Hello, first thank you for your awesome project I'm new in the rust world, and I wanted to test your fuzzing project. But when I want to test it inside my test project https://github.com/MathieuSoysal/Exercism-Rust-Template/tree/3-add-fuzzing-tests I obtain this error
Someone can help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The way this works is, your
This fails because you're missing a
There's no way to access functions in In your use template_exercisme::play_game; |
Beta Was this translation helpful? Give feedback.
The way this works is, your
fuzz/
subfolder has a dependency on yourtemplate_exercisme
crate:This fails because you're missing a
src/lib.rs
file, if you crate one withtouch src/lib.rs
you get a different error: