We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863de9b commit b0e2befCopy full SHA for b0e2bef
1 file changed
cargo-auditable/src/rustc_wrapper.rs
@@ -68,7 +68,7 @@ fn rustc_command_with_audit_data(rustc_path: &OsStr) -> Option<Command> {
68
//
69
// Binaries and C dynamic libraries are not built as non-primary packages,
70
// so this should not cause issues with Cargo caches.
71
- if !env::var_os("CARGO_PRIMARY_PACKAGE").is_some() {
+ if env::var_os("CARGO_PRIMARY_PACKAGE").is_none() {
72
return None;
73
}
74
let args = rustc_arguments::parse_args().unwrap(); // descriptive enough message
0 commit comments