mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-22 05:01:33 +00:00
Remove commented out code
This commit is contained in:
@ -1,4 +1,3 @@
|
|||||||
// pub mod codegen;
|
|
||||||
mod func_env;
|
mod func_env;
|
||||||
mod libcalls;
|
mod libcalls;
|
||||||
mod module;
|
mod module;
|
||||||
|
@ -8,15 +8,6 @@ fn main() {
|
|||||||
println!("result: {:?}", result);
|
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 {
|
fn create_module_1() -> Instance {
|
||||||
let module_str = r#"(module
|
let module_str = r#"(module
|
||||||
(type (;0;) (func (result i32)))
|
(type (;0;) (func (result i32)))
|
||||||
|
Reference in New Issue
Block a user