lib/std/builtin.zig | 1 + src/InternPool.zig | 11 +++++++++-- src/Sema.zig | 23 ++++++++++++++++++++++- src/Value.zig | 4 ++-- src/Zcu.zig | 3 +++ src/Zcu/PerThread.zig | 1 + src/codegen/llvm.zig | 22 +++++++++++++--------- src/codegen/llvm/Builder.zig | 4 ++++ test/cases/compile_errors/builtin_extern_in_comptime_scope.zig | 18 ++++++++++++++++++ test/standalone/extern/build.zig | 19 +++++++++++++++---- test/standalone/extern/main.zig | 7 ++++++- test/standalone/extern/shared.c | 5 +++++ 12 files changed, 99 insertions(+), 19 deletions(-)