Skip to content

Commit b3a862d

Browse files
committed
Placate clippy
1 parent 5a3777f commit b3a862d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cargo-auditable/src/rustc_wrapper.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ pub fn main(rustc_path: &OsStr) {
6969
} else if is_wasm(&target_info) {
7070
// We don't emit the symbol name in WASM, so nothing to do
7171
} else {
72+
// Unrecognized platform, assume it to be unix-like
73+
#[allow(clippy::collapsible_else_if)]
7274
if args.bare_linker() {
7375
command.arg("-Clink-arg=--undefined=AUDITABLE_VERSION_INFO");
7476
} else {

0 commit comments

Comments
 (0)