diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-05-02 20:54:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-03 13:29:22 -0700 |
| commit | b86c4bde64b2c0d01e4d582798ac1b84dd50b99b (patch) | |
| tree | 1e58edebb2bac2b4a7bee4e5d663ea5cb0cbf248 /lib/std/Build/Step/Compile.zig | |
| parent | a52f12afc97c5973cfb844be01cf40a9a6fdb57a (diff) | |
| download | zig-b86c4bde64b2c0d01e4d582798ac1b84dd50b99b.tar.gz zig-b86c4bde64b2c0d01e4d582798ac1b84dd50b99b.zip | |
Rename Dir.writeFile2 -> Dir.writeFile and update all callsites
writeFile was deprecated in favor of writeFile2 in f645022d16361865e24582d28f1e62312fbc73bb. This commit renames writeFile2 to writeFile and makes writeFile2 a compile error.
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
| -rw-r--r-- | lib/std/Build/Step/Compile.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig index f51a491f40..22e7274aa8 100644 --- a/lib/std/Build/Step/Compile.zig +++ b/lib/std/Build/Step/Compile.zig @@ -1711,7 +1711,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { ); const args_file = "args" ++ fs.path.sep_str ++ args_hex_hash; - try b.cache_root.handle.writeFile(args_file, args); + try b.cache_root.handle.writeFile(.{ .sub_path = args_file, .data = args }); const resolved_args_file = try mem.concat(arena, u8, &.{ "@", |
