diff options
| author | kcbanner <kcbanner@gmail.com> | 2024-10-20 18:20:08 -0400 |
|---|---|---|
| committer | kcbanner <kcbanner@gmail.com> | 2024-10-22 12:41:35 -0400 |
| commit | b87fa93500380068b0fd1db6cd73623f3fbfa284 (patch) | |
| tree | c777094804204382d741b7e5e03c038d363651de /lib/std/builtin.zig | |
| parent | a4690ecb1fc8a9ac5f7dfccfdf9f67c7a74e1569 (diff) | |
| download | zig-b87fa93500380068b0fd1db6cd73623f3fbfa284.tar.gz zig-b87fa93500380068b0fd1db6cd73623f3fbfa284.zip | |
Change `ExternOptions.dll_storage_class` to `is_dll_import`
It wouldn't make sense to have passe `.export` here, and that was
in fact a compile error - so simply make this a bool instead.
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index b8a083e5d0..1f7560489b 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -70,14 +70,6 @@ pub const GlobalLinkage = enum { /// This data structure is used by the Zig language code generation and /// therefore must be kept in sync with the compiler implementation. -pub const DllStorageClass = enum { - default, - import, - @"export", -}; - -/// This data structure is used by the Zig language code generation and -/// therefore must be kept in sync with the compiler implementation. pub const SymbolVisibility = enum { default, hidden, @@ -691,7 +683,7 @@ pub const ExternOptions = struct { library_name: ?[]const u8 = null, linkage: GlobalLinkage = .strong, is_thread_local: bool = false, - dll_storage_class: DllStorageClass = .default, + is_dll_import: bool = false, }; /// This data structure is used by the Zig language code generation and |
