Consider all fields when comparing DllImports, to remove nondetermininsm in multiple-definitions test

This commit is contained in:
Richard Cobbe
2021-07-12 12:46:27 -07:00
parent b5a2ccee81
commit ce59f1aac5
7 changed files with 91 additions and 75 deletions

View File

@@ -292,9 +292,7 @@ impl CodegenBackend for LlvmCodegenBackend {
// Run the linker on any artifacts that resulted from the LLVM run.
// This should produce either a finished executable or library.
link_binary::<LlvmArchiveBuilder<'_>>(sess, &codegen_results, outputs);
Ok(())
link_binary::<LlvmArchiveBuilder<'_>>(sess, &codegen_results, outputs)
}
}