mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
fix logic for default entry point
when linking libc, the entry point is within libc. when producing C code, the entry point is decided when compiling the C code and does not need to be known up front. fixes a false positive "error: unknown target entry point" when using -ofmt=c.
This commit is contained in:
parent
1edcea9ec8
commit
44e2dbe117
1 changed files with 23 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue