cbe: fix non-msvc externs and exports

Closes #17817
This commit is contained in:
Jacob Young
2024-01-02 07:59:22 -05:00
parent 98b633ff17
commit 047d6d996e
12 changed files with 447 additions and 257 deletions

View File

@@ -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 {