diff --git a/justfile b/justfile index 16d3969..b31d541 100644 --- a/justfile +++ b/justfile @@ -32,8 +32,9 @@ test: # Odin's core:thread passes that straight to pthread_attr_setstacksize, pthread_create # then fails, and thread.create() returns nil - which core:testing's pool_init # dereferences unconditionally, segfaulting the whole test binary. Clamp it. - ulimit -s 8192 - odin test tests -vet -define:ODIN_TEST_THREADS=1 -out:{{build_dir}}/tests + # (One line: just runs each recipe line in its own shell, so a separate + # `ulimit` line wouldn't carry over to the `odin test` line.) + ulimit -s 8192 && odin test tests -vet -define:ODIN_TEST_THREADS=1 -out:{{build_dir}}/tests # Optimized native build into build//, with the assets it needs at runtime release: