mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
remove inlinable_string dependency
This commit is contained in:
parent
ceb5cc66fa
commit
d4896d3ed2
21 changed files with 4 additions and 65 deletions
|
@ -596,12 +596,7 @@ fn promote_to_main_function<'a, 'ctx, 'env>(
|
|||
let main_fn_name = "$Test.main";
|
||||
|
||||
// Add main to the module.
|
||||
let main_fn = expose_function_to_host_help(
|
||||
env,
|
||||
&inlinable_string::InlinableString::from(main_fn_name),
|
||||
roc_main_fn,
|
||||
main_fn_name,
|
||||
);
|
||||
let main_fn = expose_function_to_host_help(env, main_fn_name, roc_main_fn, main_fn_name);
|
||||
|
||||
(main_fn_name, main_fn)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue