Minor fixes
This commit is contained in:
parent
c31e623a69
commit
1495d18a77
@ -324,6 +324,15 @@ fn void run_tests(Arena* arena, TestOptions const * const test_options, char** e
|
|||||||
};
|
};
|
||||||
|
|
||||||
run_command((CStringSlice) array_to_slice(arguments), envp);
|
run_command((CStringSlice) array_to_slice(arguments), envp);
|
||||||
|
|
||||||
|
if (execution_engine != EXECUTION_ENGINE_INTERPRETER)
|
||||||
|
{
|
||||||
|
char* run_arguments[] = {
|
||||||
|
compile_options.out_path,
|
||||||
|
0,
|
||||||
|
};
|
||||||
|
run_command((CStringSlice) array_to_slice(run_arguments), envp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
.section .text
|
|
||||||
.extern entry_point
|
|
||||||
.global _start
|
|
||||||
_start:
|
|
||||||
xor %ebp, %ebp
|
|
||||||
popq %rdi
|
|
||||||
mov %rsp, %rsi
|
|
||||||
and $~0xf, %rsp
|
|
||||||
pushq %rsp
|
|
||||||
pushq $0
|
|
||||||
call entry_point
|
|
||||||
mov $231, %eax
|
|
||||||
xor %edi, %edi
|
|
||||||
syscall
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user