aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/Compile.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2024-09-02 22:32:21 +0100
committerLinus Groh <mail@linusgroh.de>2024-09-12 16:01:23 +0100
commit8588964972acc473c09e21958a7e52247c978603 (patch)
treefb5e35e76e63b6d4aabdb0edf678d4d986a56110 /lib/std/Build/Step/Compile.zig
parenteccd06f5d01d05286691bc77e6d1e582bb14b7b1 (diff)
downloadzig-8588964972acc473c09e21958a7e52247c978603.tar.gz
zig-8588964972acc473c09e21958a7e52247c978603.zip
Replace deprecated default initializations with decl literals
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
-rw-r--r--lib/std/Build/Step/Compile.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig
index 922d64c728..0f0b5d3201 100644
--- a/lib/std/Build/Step/Compile.zig
+++ b/lib/std/Build/Step/Compile.zig
@@ -1070,8 +1070,8 @@ fn getZigArgs(compile: *Compile, fuzz: bool) ![][]const u8 {
// Stores system libraries that have already been seen for at least one
// module, along with any arguments that need to be passed to the
// compiler for each module individually.
- var seen_system_libs: std.StringHashMapUnmanaged([]const []const u8) = .{};
- var frameworks: std.StringArrayHashMapUnmanaged(Module.LinkFrameworkOptions) = .{};
+ var seen_system_libs: std.StringHashMapUnmanaged([]const []const u8) = .empty;
+ var frameworks: std.StringArrayHashMapUnmanaged(Module.LinkFrameworkOptions) = .empty;
var prev_has_cflags = false;
var prev_has_rcflags = false;