diff options
| author | Tristan Ross <tristan.ross@midstall.com> | 2024-02-18 21:25:23 -0800 |
|---|---|---|
| committer | Tristan Ross <tristan.ross@midstall.com> | 2024-03-11 07:09:10 -0700 |
| commit | c260b4c753d1e5f947e0d33ce39ce173e497309f (patch) | |
| tree | 39b138128ab96c7abaf4b8d22fc6af1f0b95254c /lib/std/builtin.zig | |
| parent | aab84a3decd784a275c0bb694c7717d3c73ae4b1 (diff) | |
| download | zig-c260b4c753d1e5f947e0d33ce39ce173e497309f.tar.gz zig-c260b4c753d1e5f947e0d33ce39ce173e497309f.zip | |
std.builtin: make global linkage fields lowercase
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 9006d316ad..587b79fea6 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -64,10 +64,10 @@ pub const StackTrace = struct { /// This data structure is used by the Zig language code generation and /// therefore must be kept in sync with the compiler implementation. pub const GlobalLinkage = enum { - Internal, - Strong, - Weak, - LinkOnce, + internal, + strong, + weak, + link_once, }; /// This data structure is used by the Zig language code generation and @@ -659,7 +659,7 @@ pub const PrefetchOptions = struct { /// therefore must be kept in sync with the compiler implementation. pub const ExportOptions = struct { name: []const u8, - linkage: GlobalLinkage = .Strong, + linkage: GlobalLinkage = .strong, section: ?[]const u8 = null, visibility: SymbolVisibility = .default, }; @@ -669,7 +669,7 @@ pub const ExportOptions = struct { pub const ExternOptions = struct { name: []const u8, library_name: ?[]const u8 = null, - linkage: GlobalLinkage = .Strong, + linkage: GlobalLinkage = .strong, is_thread_local: bool = false, }; |
