mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
This can also be extended to ELF later as it means roughly the same thing there. This addresses the main issue in #21721 but as I don't have a macOS machine to do further testing on, I can't confirm whether zig cc is able to pass the entire cgo test suite after this commit. It can, however, cross-compile a basic program that uses cgo to x86_64-macos-none which previously failed due to lack of -x support. Unlike previously, the resulting symbol table does not contain local symbols (such as C static functions). I believe this satisfies the related donor bounty: https://ziglang.org/news/second-donor-bounty |
||
|---|---|---|
| .. | ||
| CheckFile.zig | ||
| CheckObject.zig | ||
| Compile.zig | ||
| ConfigHeader.zig | ||
| Fail.zig | ||
| Fmt.zig | ||
| InstallArtifact.zig | ||
| InstallDir.zig | ||
| InstallFile.zig | ||
| ObjCopy.zig | ||
| Options.zig | ||
| RemoveDir.zig | ||
| Run.zig | ||
| TranslateC.zig | ||
| UpdateSourceFiles.zig | ||
| WriteFile.zig | ||