rename wasm llvm test wrapper (now it's the same as dev)

This commit is contained in:
Folkert 2022-07-24 12:20:17 +02:00
parent bece4342ec
commit 29ad54e5d1
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 3 additions and 3 deletions

View file

@ -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(

View file

@ -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) {