baoyachi / shadow-rs

A build-time information stored in your rust project.(binary,lib,cdylib,dylib)
https://docs.rs/shadow-rs
MIT License
444 stars 40 forks source link

Clippy lint `clippy::needless-raw-string-hashes` chokes on shadow-rs generated code #141

Closed segevfiner closed 11 months ago

segevfiner commented 11 months ago

See https://github.com/segevfiner/keepawake-rs/actions/runs/6163069647/job/16725828216. I guess the generated file either needs an #!allow(clippy::needless-raw-string-hashes) file level attribute, or only adding the hashes when actually needed.

baoyachi commented 11 months ago

Thank you. I will resolve it later.

baoyachi commented 11 months ago

New version publised, please use :

shadow-rs = "0.24.0"