harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ac70c2d2787d79cc1627dac63696c90dcb54248a
parent 62646167854224ad0efb2c0713e577053816ca0e
Author: Bor Grošelj Simić <bor.groseljsimic@telemach.net>
Date:   Wed, 16 Mar 2022 10:44:33 +0100

rt: set HARECACHE when invoking harec for testing

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Mrt/compile.ha | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rt/compile.ha b/rt/compile.ha @@ -17,7 +17,10 @@ export fn compile(src: const str) int = { constchar("-\0"), null ]; - const envp: [_]nullable *const char = [null]; + const envp: [_]nullable *const char = [ + constchar("HARECACHE=mod\0"), + null + ]; execve(constchar(path), &argv, &envp); abort(); } else {