Skip to content

Commit

Permalink
Merge pull request #84 from Xiretza/absolute-crate-path
Browse files Browse the repository at this point in the history
Use absolute path to fuzz_target! macro in macro recursion
  • Loading branch information
fitzgen authored Aug 24, 2021
2 parents a89115a + fd836d6 commit fcf3b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ macro_rules! fuzz_target {
};

(|$data:ident: &[u8]| $body:block) => {
fuzz_target!(|$data| $body);
$crate::fuzz_target!(|$data| $body);
};

(|$data:ident: $dty: ty| $body:block) => {
Expand Down

0 comments on commit fcf3b18

Please sign in to comment.