mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
call the main function directly on aarch64?
This commit is contained in:
parent
bcfab8d09e
commit
63ff495763
1 changed files with 3 additions and 2 deletions
|
@ -364,8 +364,9 @@ macro_rules! assert_evals_to {
|
|||
let (_main_fn_name, errors, lib) =
|
||||
$crate::helpers::dev::helper(&arena, $src, $leak, $lazy_literals);
|
||||
|
||||
// cfg!(target_arch = "aarch64") {
|
||||
let result = if false {
|
||||
let result = if cfg!(target_arch = "aarch64") {
|
||||
let typ = std::any::type_name::<$ty>();
|
||||
println!("calling the `{_main_fn_name}: {typ}` function");
|
||||
let result = $crate::helpers::dev::run_function::<$ty>(&_main_fn_name, &lib);
|
||||
Ok(result)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue