aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-01-03 12:57:01 -0800
committerGitHub <noreply@github.com>2024-01-03 12:57:01 -0800
commita9337bef2d54201ab304bb3428479339ecaacbac (patch)
treee253679e591e86d84a29139b7d7987eab3c3718f /src/InternPool.zig
parent9a56228c2b90d94d01bb76784c77fdec5710cf0a (diff)
parent047d6d996e540eaa50ec24b0751d147bfe2cacdb (diff)
downloadzig-a9337bef2d54201ab304bb3428479339ecaacbac.tar.gz
zig-a9337bef2d54201ab304bb3428479339ecaacbac.zip
Merge pull request #18431 from jacobly0/cbe-extern
cbe: fix non-msvc externs and exports
Diffstat (limited to 'src/InternPool.zig')
-rw-r--r--src/InternPool.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig
index e06597373e..2e690652a3 100644
--- a/src/InternPool.zig
+++ b/src/InternPool.zig
@@ -1005,11 +1005,11 @@ pub const Key = union(enum) {
ty: Index,
init: Index,
decl: DeclIndex,
- lib_name: OptionalNullTerminatedString = .none,
- is_extern: bool = false,
- is_const: bool = false,
- is_threadlocal: bool = false,
- is_weak_linkage: bool = false,
+ lib_name: OptionalNullTerminatedString,
+ is_extern: bool,
+ is_const: bool,
+ is_threadlocal: bool,
+ is_weak_linkage: bool,
};
pub const ExternFunc = struct {