Remove commented out code

This commit is contained in:
Brandon Fish
2019-01-18 23:17:00 -06:00
parent d715c26b1f
commit 89c5984d47
2 changed files with 0 additions and 10 deletions

View File

@ -1,4 +1,3 @@
// pub mod codegen;
mod func_env;
mod libcalls;
mod module;

View File

@ -8,15 +8,6 @@ fn main() {
println!("result: {:?}", result);
}
// fn generate_imports() -> Imports {
// // let wasm_binary = wat2wasm(IMPORT_MODULE.as_bytes()).expect("WAST not valid or malformed");
// // let module = wasmer_runtime::compile(&wasm_binary[..], &CraneliftCompiler::new()).expect("WASM can't be compiled");
// // let instance = module.instantiate(Rc::new(Imports::new())).expect("WASM can't be instantiated");
// let imports = Imports::new();
// // imports.register("spectest", instance);
// imports
// }
fn create_module_1() -> Instance {
let module_str = r#"(module
(type (;0;) (func (result i32)))