working import transform

This commit is contained in:
NikVolf committed 2017-04-12 19:10:05 +03:00
1 parent d8626454bc
commit b6838fe360
3 files changed
+13 -1

No files matched your search

+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)