mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 06:31:32 +00:00
Cargo fmt more files.
This commit is contained in:
@ -87,7 +87,10 @@ pub fn run_instance(
|
||||
if is_emscripten_module(module) {
|
||||
run_emscripten_instance(module, instance, path, args)?;
|
||||
} else {
|
||||
let args: Vec<Value> = args.into_iter().map(|x| Value::I32(x.parse().unwrap())).collect();
|
||||
let args: Vec<Value> = args
|
||||
.into_iter()
|
||||
.map(|x| Value::I32(x.parse().unwrap()))
|
||||
.collect();
|
||||
println!("{:?}", instance.call("main", &args)?);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user