Update build options --nostdlib --nolibc --emit-stdlib --forcelinker … (#999)

Update build options --nostdlib --nolibc --emit-stdlib --forcelinker --strip-unused. Fix error with vectors in $foreach. Also error if a $foreach iterating over an empty list. Rename forcelinker -> system-linker
This commit is contained in:
Christoffer Lerno
2023-09-17 13:19:01 +02:00
committed by GitHub
parent d49365b4a7
commit 8ed9be9c58
18 changed files with 251 additions and 230 deletions

View File

@@ -273,7 +273,7 @@ jobs:
- name: Build testproject direct linker
run: |
cd resources/testproject
../../build/c3c run --debug-log --forcelinker
../../build/c3c run --debug-log --system-linker=no
- name: run compiler tests
run: |
@@ -378,7 +378,7 @@ jobs:
- name: Build testproject direct linker
run: |
cd resources/testproject
../../build/c3c run --debug-log --forcelinker
../../build/c3c run --debug-log --system-linker=no
- name: run compiler tests
run: |
@@ -450,7 +450,7 @@ jobs:
- name: Build testproject direct linker
run: |
cd resources/testproject
../../build/c3c run --debug-log --forcelinker
../../build/c3c run --debug-log --system-linker=no
- name: Build testproject lib
run: |