mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
stage2: handle extern lib name annotation for vars
For example, a situation like this is allowed ```zig extern "c" var stderrp: c_int; ``` In this case, `Module.Var` wrapping `stderrp` will have `lib_name` populated with the library name where this import is expected.
This commit is contained in:
parent
556f0ce5bf
commit
db9500a314
2 changed files with 93 additions and 57 deletions
Loading…
Add table
Add a link
Reference in a new issue