working import transform

This commit is contained in:
NikVolf
2017-04-12 19:10:05 +03:00
parent d8626454bc
commit b6838fe360
3 changed files with 13 additions and 1 deletions
+2
View File
@@ -48,6 +48,8 @@ fn main() {
// back to plain module
let mut module = mbuilder.build();
assert!(module.global_section().is_some());
// calculate actual function index of the imported definition
// (substract all imports that are NOT functions)