This commit is contained in:
Brian Carroll 2023-10-01 21:13:53 +02:00 committed by Brendan Hansknecht
parent 89acb6461a
commit 5b633ccd24
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -657,6 +657,9 @@ impl<'a> WasmModule<'a> {
_ => None,
});
// There are names available in the import section too, so let's use them!
// We don't know how the host was compiled, so we might as well just grab all the info we can get.
// If we end up with duplicate entries, that's OK. The backend will use the first matching entry.
let import_fns = self
.import
.imports