Skip to content

Commit d7c3c45

Browse files
authored
Rollup merge of rust-lang#87092 - ricobbe:fix-raw-dylib-multiple-definitions, 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.
2 parents e643b8b + b47198a commit d7c3c45

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
221221
sess,
222222
&codegen_results,
223223
outputs,
224-
);
225-
226-
Ok(())
224+
)
227225
}
228226
}
229227

0 commit comments

Comments
 (0)