mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
rename wasm llvm test wrapper (now it's the same as dev)
This commit is contained in:
parent
bece4342ec
commit
29ad54e5d1
2 changed files with 3 additions and 3 deletions
|
@ -805,14 +805,14 @@ fn promote_to_wasm_test_wrapper<'a, 'ctx, 'env>(
|
|||
) -> (&'static str, FunctionValue<'ctx>) {
|
||||
// generates roughly
|
||||
//
|
||||
// fn $Test.wasm_test_wrapper() -> *T {
|
||||
// fn test_wrapper() -> *T {
|
||||
// result = roc_main();
|
||||
// ptr = roc_malloc(size_of::<T>)
|
||||
// *ptr = result
|
||||
// ret ptr;
|
||||
// }
|
||||
|
||||
let main_fn_name = "$Test.wasm_test_wrapper";
|
||||
let main_fn_name = "test_wrapper";
|
||||
|
||||
let it = top_level.arguments.iter().copied();
|
||||
let bytes = roc_alias_analysis::func_name_bytes_help(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue