Use Linker in *.wast testing (#1391)
* Use `Linker` in `*.wast` testing By default `Linker` disallows shadowing previously defined items, but it looks like the `*.wast` test suites rely on this so this commit adds a boolean flag to `Linker` as well indicating whether duplicates are allowed. * Review comments * Add a test with a number of recursive instances * Deny warnings in doctests * No tabs
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
mod spectest;
|
||||
mod wast;
|
||||
|
||||
pub use crate::spectest::instantiate_spectest;
|
||||
pub use crate::spectest::link_spectest;
|
||||
pub use crate::wast::WastContext;
|
||||
|
||||
/// Version number of this crate.
|
||||
|
||||
Reference in New Issue
Block a user