diff --git a/bootstrap/build.c b/bootstrap/build.c index 37c39da..bf10c12 100644 --- a/bootstrap/build.c +++ b/bootstrap/build.c @@ -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); + + if (execution_engine != EXECUTION_ENGINE_INTERPRETER) + { + char* run_arguments[] = { + compile_options.out_path, + 0, + }; + run_command((CStringSlice) array_to_slice(run_arguments), envp); + } } } } diff --git a/bootstrap/entry.S b/bootstrap/entry.S deleted file mode 100644 index b6a70df..0000000 --- a/bootstrap/entry.S +++ /dev/null @@ -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 -