aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-01-02 07:59:22 -0500
committerJacob Young <jacobly0@users.noreply.github.com>2024-01-03 02:52:25 -0500
commit047d6d996e540eaa50ec24b0751d147bfe2cacdb (patch)
tree80455773be42b35cd7f12b1b75df017d7f3e361a /src/InternPool.zig
parent98b633ff176f0ec5cc4d86c24ad4bece26cab421 (diff)
downloadzig-047d6d996e540eaa50ec24b0751d147bfe2cacdb.tar.gz
zig-047d6d996e540eaa50ec24b0751d147bfe2cacdb.zip
cbe: fix non-msvc externs and exports
Closes #17817
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 {