Old test uncommented

This commit is contained in:
Sergey Pepyakin
2017-12-05 17:43:17 +01:00
parent e9ec5e8aa8
commit 93b61bc2dc
4 changed files with 26 additions and 23 deletions

View File

@ -16,6 +16,7 @@ mod func;
#[cfg(test)]
mod tests;
#[derive(Debug)]
pub struct Error(String);
impl fmt::Display for Error {
@ -182,8 +183,6 @@ fn prepare_context(module: &Module) -> Result<ModuleContext, Error> {
.unwrap_or_default();
// Fill elements with imported values.
// TODO: Use Func::type_ref?
let mut func_type_indexes = Vec::new();
let mut tables = Vec::new();
let mut memories = Vec::new();