Add caching to run
command
#881
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
The current
zig run
command is fairly simplistic right now. It does not perform any caching and will recompile source every invocation. Since this is a large, fairly complicated and only impacts usability/performance of the command, this should only be implemented for the self-hosted compiler.We need to consider the following ways in which the cache may be invalidated:
@import
changed@embedFile
changed--object
or--library
files changed, and recursively for dynamic libraries.Other possible improvements:
zig run
process.The text was updated successfully, but these errors were encountered: