mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
export _mh_execute_header with weak linkage
* also fix extern variables with initialiaztion values to generate runtime code * remove the workaround in example/shared_library/mathtest.zig * introduce the ability for global variables to have Weak and LinkOnce linkage * fix `@export` to work for non-functions. this code needs to be audited though. * fix comptime ptrcast not keeping bigger alignment * fix linker warnings when targeting darwin closes #1903
This commit is contained in:
parent
74a335c4cc
commit
28bf768883
10 changed files with 106 additions and 30 deletions
Loading…
Add table
Add a link
Reference in a new issue