Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Jun 23, 2022
1 parent 327186b commit 050a2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/emscripten/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,9 @@ pub fn run_emscripten_instance(
} else if let Ok(name) = emscripten_get_main_func_name(instance, &main_func_names) {
emscripten_call_main(instance, &name, env, path, &args)?;
} else {
return Err(RuntimeError::new(format!("No main function found (searched: {main_func_names:?}) and no entrypoint specified")));
return Err(RuntimeError::new(format!(
"No main function found (searched: {main_func_names:?}) and no entrypoint specified"
)));
}

// TODO atexit for emscripten
Expand Down

0 comments on commit 050a2db

Please sign in to comment.