Linker refactoring (#1773)
* Minor code tidying. * Document that `Linker::iter`'s iteration order is arbitrary. * Add a few more tests for `wasmtime::Linker`. * Refactor `Linker::compute_imports`. - Extract the error message generation into a separate function. - In the error message, sort the candidates. * Fix a typo in a comment. * Add `__rtti_base` to the list of allowed but deprecated exports. * Don't print an Error message when a program exits normally. * Update comments to reflect the current code. * Also allow "table" as an exported table, which is used by AssemblyScript.
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -2170,6 +2170,7 @@ dependencies = [
|
||||
"cfg-if",
|
||||
"lazy_static",
|
||||
"libc",
|
||||
"log",
|
||||
"region",
|
||||
"rustc-demangle",
|
||||
"target-lexicon",
|
||||
|
||||
Reference in New Issue
Block a user