diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-20 13:04:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-20 13:04:49 -0700 |
| commit | b5f3d121644031cf644271296e1ee5dbf363abeb (patch) | |
| tree | 1a6aa7a7ca974b2d5e24bddf6e2f3b9f7c0040c6 /src/link.zig | |
| parent | ef3a746da1a85a8b4a653cb78e0464c71d35b64e (diff) | |
| parent | 645ad1ef72a09785fe5d7b33f1f9f2394bf52f57 (diff) | |
| download | zig-b5f3d121644031cf644271296e1ee5dbf363abeb.tar.gz zig-b5f3d121644031cf644271296e1ee5dbf363abeb.zip | |
Merge pull request #20688 from ziglang/incr-test
introduce a new tool for testing incremental compilation
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig index f35c3e740f..9a754e4c6b 100644 --- a/src/link.zig +++ b/src/link.zig @@ -1031,7 +1031,7 @@ pub fn spawnLld( error.NameTooLong => err: { const s = fs.path.sep_str; const rand_int = std.crypto.random.int(u64); - const rsp_path = "tmp" ++ s ++ Package.Manifest.hex64(rand_int) ++ ".rsp"; + const rsp_path = "tmp" ++ s ++ std.fmt.hex(rand_int) ++ ".rsp"; const rsp_file = try comp.local_cache_directory.handle.createFileZ(rsp_path, .{}); defer comp.local_cache_directory.handle.deleteFileZ(rsp_path) catch |err| |
