0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

llvm: Pass EmitOptions to libzigcpp by pointer.

Passing it by value means that bringup on new architectures is harder for no
real benefit. Passing it by pointer allows to get the compiler running without
needing to figure out the C calling convention details first. This manifested in
practice on LoongArch, for example.
This commit is contained in:
Alex Rønne Petersen 2024-08-30 12:18:37 +02:00 • committed by Andrew Kelley
commit 5723fcaac1
4 changed files with 31 additions and 31 deletions