aboutsummaryrefslogtreecommitdiff
path: root/src/objcopy.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-18 18:32:43 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-03-19 00:39:29 -0400
commit8f481dfc3c4f12327499485e3bf10fbbb1023186 (patch)
tree1b197c065a39b459ddb9b7d2cfae10dd8023cc28 /src/objcopy.zig
parent2ac8d90df05fdbb59a0ee9ff6609a058185f66ff (diff)
downloadzig-8f481dfc3c4f12327499485e3bf10fbbb1023186.tar.gz
zig-8f481dfc3c4f12327499485e3bf10fbbb1023186.zip
fix std.Build.OptionsStep
* use the same hash function as the rest of the steps * fix race condition due to a macOS oddity. * fix race condition due to file truncation (rename into place instead) * integrate with marking Step.result_cached. check if the file already exists with fs.access before doing anything else. * use a directory so that the file basename can be "options.zig" instead of a hash digest. * better error reporting in case of file system failures.
Diffstat (limited to 'src/objcopy.zig')
0 files changed, 0 insertions, 0 deletions