diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-12-24 20:11:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 17:51:21 -0700 |
| commit | 44e2dbe117fe79b99a970990878a061bdd26ff55 (patch) | |
| tree | 43431cc5b9026c75d907f62d911c1a9f9c39d57c /src/Compilation.zig | |
| parent | 1edcea9ec80d9ca6fd9700ef605cfa9c3722817b (diff) | |
| download | zig-44e2dbe117fe79b99a970990878a061bdd26ff55.tar.gz zig-44e2dbe117fe79b99a970990878a061bdd26ff55.zip | |
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.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
