mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +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(
|
||||
|
|
|
@ -20,7 +20,7 @@ use crate::helpers::from_wasm32_memory::FromWasm32Memory;
|
|||
use roc_gen_wasm::wasm32_result::Wasm32Result;
|
||||
|
||||
#[cfg(feature = "gen-llvm-wasm")]
|
||||
const TEST_WRAPPER_NAME: &str = "$Test.wasm_test_wrapper";
|
||||
const TEST_WRAPPER_NAME: &str = "test_wrapper";
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub const OPT_LEVEL: OptLevel = if cfg!(debug_assertions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue