Comment Comment by praseodym cargo-deny can audit build scripts, but unfortunately not prevent execution of malicious build scripts exactly for the reason you gave. It could still help if you only ever use cargo add and update in a sandbox.See https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.h... parent praseodym 2 months ago
See https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.h...