# std.Build: start using the cache system with RunStep · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d97042ad2e41b173334ec542eb4b07e81864d10e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d97042ad2e41b173334ec542eb4b07e81864d10e

Requested commit: d97042ad2e41b173334ec542eb4b07e81864d10e

Commit: d97042ad2e41b173334ec542eb4b07e81864d10e

Tree: bf7f000a33e84ad37190b69963ac187d785d1ccd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build: start using the cache system with RunStep

 * Use std.Build.Cache.Directory instead of a string for storing the
   cache roots and build roots.
 * Set up a std.Build.Cache in build_runner.zig and use it in
   std.Build.RunStep for avoiding redundant work.

```

## Parents

- [066632261492ee7624117ad09269f57526aca4c0](https://git.cafe/gitcafe/zig/commit/066632261492ee7624117ad09269f57526aca4c0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d97042ad2e41b173334ec542eb4b07e81864d10e?format=markdown)
