aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-08-12 22:36:58 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2025-08-15 18:23:40 -0400
commit8ef82e83551cfca60698eb82dc180118e64b8fde (patch)
tree821b2658f972b92eea5fc3cd1f3c8f53c5e8bd08 /src/Sema.zig
parentd835a6ba9ac11773f8ae1c3b2c5e9241cf875ee9 (diff)
downloadzig-8ef82e83551cfca60698eb82dc180118e64b8fde.tar.gz
zig-8ef82e83551cfca60698eb82dc180118e64b8fde.zip
what if we kissed by the extern source bit
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 34e862dbbb..4d05441a83 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -25768,6 +25768,7 @@ fn zirBuiltinExtern(
},
},
.owner_nav = undefined, // ignored by `getExtern`
+ .source = .builtin,
});
const uncasted_ptr = try sema.analyzeNavRef(block, src, ip.indexToKey(extern_val).@"extern".owner_nav);