aboutsummaryrefslogtreecommitdiff
path: root/src/Cache.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-02-05 16:45:51 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-02-13 06:42:25 -0700
commit2654d0c66860d32714e33404554482cbc0cbabf5 (patch)
tree2ad10365938888bc04741c925e4a80350e99b85c /src/Cache.zig
parentb061cc9e3ff197d4af1408c8e3a8504dda208e10 (diff)
downloadzig-2654d0c66860d32714e33404554482cbc0cbabf5.tar.gz
zig-2654d0c66860d32714e33404554482cbc0cbabf5.zip
std.Build.RunStep: introduce addOutputFileArg API
This provides file path as a command line argument to the command being run, and returns a FileSource which can be used as inputs to other APIs throughout the build system. Unfortunately, it is implemented by pooping a ton of temporary files into zig-cache/tmp for the time being. I think one of the very next improvements to the build system should be moving the compiler's cache system to the standard library and using it in the build system. I had a look at the dependencies and it is already pretty untangled.
Diffstat (limited to 'src/Cache.zig')
0 files changed, 0 insertions, 0 deletions