diff --git a/lib/std/core/runtime.c3 b/lib/std/core/runtime.c3 index 61486e0ce..b80250a84 100644 --- a/lib/std/core/runtime.c3 +++ b/lib/std/core/runtime.c3 @@ -136,7 +136,7 @@ fn bool run_benchmarks(BenchmarkUnit[] benchmarks) return benchmark_count == benchmarks_passed; } -fn bool __run_default_benchmark_runner() +fn bool default_benchmark_runner() { @pool() { @@ -245,7 +245,7 @@ fn bool run_tests(TestUnit[] tests) return test_count == tests_passed; } -fn bool __run_default_test_runner() +fn bool default_test_runner() { @pool() { diff --git a/src/build/build_options.c b/src/build/build_options.c index 3cb42ad56..040a940c8 100644 --- a/src/build/build_options.c +++ b/src/build/build_options.c @@ -137,6 +137,8 @@ static void usage(void) OUTPUT(" --link-libc= - Link libc other default libraries (default: yes)."); OUTPUT(" --emit-stdlib= - Output files for the standard library. (default: yes)"); OUTPUT(" --panicfn - Override the panic function name."); + OUTPUT(" --testfn - Override the test runner function name."); + OUTPUT(" --benchfn - Override the benchmark runner function name."); OUTPUT(""); OUTPUT(" --reloc=