mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-23 03:52:27 +00:00
wasm: Implement Str.split
This commit is contained in:
parent
d2dbb0001a
commit
02ec30425c
7 changed files with 267 additions and 259 deletions
|
@ -184,7 +184,8 @@ pub fn build_app_module<'a>(
|
|||
}
|
||||
|
||||
let (module, called_preload_fns) = backend.finalize();
|
||||
let main_function_index = maybe_main_fn_index.unwrap();
|
||||
let main_function_index =
|
||||
maybe_main_fn_index.expect("The app must expose at least one value to the host");
|
||||
|
||||
(module, called_preload_fns, main_function_index)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue