Consider all fields when comparing DllImports, to remove nondetermininsm in multiple-definitions test
This commit is contained in:
parent
b5a2ccee81
commit
ce59f1aac5
7 changed files with 91 additions and 75 deletions
|
@ -1569,7 +1569,7 @@ impl EncodeContext<'a, 'tcx> {
|
|||
fn encode_native_libraries(&mut self) -> Lazy<[NativeLib]> {
|
||||
empty_proc_macro!(self);
|
||||
let used_libraries = self.tcx.native_libraries(LOCAL_CRATE);
|
||||
self.lazy(used_libraries.iter().cloned())
|
||||
self.lazy(used_libraries.iter())
|
||||
}
|
||||
|
||||
fn encode_foreign_modules(&mut self) -> Lazy<[ForeignModule]> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue