Compiler: Allow -out: to not have an extension on *nix for executables (only).

This commit is contained in:
Jeroen van Rijn
2022-04-24 13:37:26 +02:00
parent 3cab2592c3
commit 76d48b38d3
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ COMMON="-collection:tests=tests -out:tests/issues/build/test_issue"
set -x
./odin build tests/issues/test_issue_829.odin $COMMON -file
tests/issues/build/test_issue.bin
tests/issues/build/test_issue
./odin build tests/issues/test_issue_1592.odin $COMMON -file
tests/issues/build/test_issue.bin
tests/issues/build/test_issue
set +x
+1 -1
View File
@@ -10,4 +10,4 @@ endif
all: botan_test
botan_test:
$(ODIN) run botan -out=botan_hash -o:speed -no-bounds-check $(ODINFLAGS)
$(ODIN) run botan -out=test_botan_hash -o:speed -no-bounds-check $(ODINFLAGS)