diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-08-27 21:20:18 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-29 17:14:26 -0700 |
| commit | 79f267f6b9e7f80a6fed3b1019f9de942841c3be (patch) | |
| tree | 29a243d4aa85d8295cc06608bde59333ebdb843c /lib/std/Build/Step/ConfigHeader.zig | |
| parent | 558bea2a76179fcc00779fdd326e5a866956fc9b (diff) | |
| download | zig-79f267f6b9e7f80a6fed3b1019f9de942841c3be.tar.gz zig-79f267f6b9e7f80a6fed3b1019f9de942841c3be.zip | |
std.Io: delete GenericReader
and delete deprecated alias std.io
Diffstat (limited to 'lib/std/Build/Step/ConfigHeader.zig')
| -rw-r--r-- | lib/std/Build/Step/ConfigHeader.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/Build/Step/ConfigHeader.zig b/lib/std/Build/Step/ConfigHeader.zig index 94cc5b668b..3c7f9a70c2 100644 --- a/lib/std/Build/Step/ConfigHeader.zig +++ b/lib/std/Build/Step/ConfigHeader.zig @@ -2,7 +2,7 @@ const std = @import("std"); const ConfigHeader = @This(); const Step = std.Build.Step; const Allocator = std.mem.Allocator; -const Writer = std.io.Writer; +const Writer = std.Io.Writer; pub const Style = union(enum) { /// A configure format supported by autotools that uses `#undef foo` to @@ -196,7 +196,7 @@ fn make(step: *Step, options: Step.MakeOptions) !void { man.hash.addBytes(config_header.include_path); man.hash.addOptionalBytes(config_header.include_guard_override); - var aw: std.io.Writer.Allocating = .init(gpa); + var aw: Writer.Allocating = .init(gpa); defer aw.deinit(); const bw = &aw.writer; @@ -329,7 +329,7 @@ fn render_autoconf_undef( fn render_autoconf_at( step: *Step, contents: []const u8, - aw: *std.io.Writer.Allocating, + aw: *Writer.Allocating, values: std.StringArrayHashMap(Value), src_path: []const u8, ) !void { @@ -753,7 +753,7 @@ fn testReplaceVariablesAutoconfAt( expected: []const u8, values: std.StringArrayHashMap(Value), ) !void { - var aw: std.io.Writer.Allocating = .init(allocator); + var aw: Writer.Allocating = .init(allocator); defer aw.deinit(); const used = try allocator.alloc(bool, values.count()); |
