geiger-rs / cargo-geiger

Detects usage of unsafe Rust in a Rust crate and its dependencies.
https://crates.io/crates/cargo-geiger
1.41k stars 67 forks source link

Ignore proc_macro #53

Open RazrFalcon opened 5 years ago

RazrFalcon commented 5 years ago

The syn crate has an unsafe code, according to the cargo-geiger, but it will be used only during compilation (afaik). It doesn't affect the resulting binary.

anderejd commented 5 years ago

Thanks for the report!

I'll find some time to look into it in a week or so.

anderejd commented 5 years ago

It doesn't affect the resulting binary.

I'm okay with reporting this in the same category as unsafe usage that is part of the output executable, but I think some discussion would be useful.

In my previous reply I said that I would be looking into this soon, that has changed and my time will be quite limited for this project for a couple of months at least. Help and contributions are very much welcome from anyone interested in this or other issues.