more edge cases

This commit is contained in:
Mackenzie Clark 2019-03-12 13:04:14 -07:00
parent b4df668881
commit 4cee16220b
2 changed files with 5 additions and 2 deletions

View File

@ -23,8 +23,8 @@ rand = "0.6"
[dev-dependencies]
wabt = "0.7.2"
[target.'cfg(not(windows))'.dev-dependencies]
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.1.0" }
[target.'cfg(not(windows))'.dependencies]
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.1.0", optional = true }
[build-dependencies]
glob = "0.2.11"

View File

@ -591,6 +591,9 @@ mod vm_ctx_tests {
namespace_table: StringTable::new(),
name_table: StringTable::new(),
#[cfg(feature = "vfs")]
custom_sections: HashMap::new(),
},
}
}