Skip to content

Commit

Permalink
Rollup merge of rust-lang#87092 - ricobbe:fix-raw-dylib-multiple-defi…
Browse files Browse the repository at this point in the history
…nitions, r=petrochenkov

Remove nondeterminism in multiple-definitions test

Compare all fields in `DllImport` when sorting to avoid nondeterminism in the error for multiple inconsistent definitions of an extern function.  Restore the multiple-definitions test.

Resolves rust-lang#87084.
  • Loading branch information
JohnTitor authored Jul 18, 2021
2 parents e643b8b + b47198a commit d7c3c45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
sess,
&codegen_results,
outputs,
);

Ok(())
)
}
}

Expand Down

0 comments on commit d7c3c45

Please sign in to comment.