diff options
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index eedfec0..e555df4 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -889,7 +889,7 @@ int NinjaMain::RunBuild(int argc, char** argv) { return 1; } - disk_interface_.AllowCache(g_experimental_win_statcache); + disk_interface_.AllowStatCache(g_experimental_win_statcache); Builder builder(&state_, config_, &build_log_, &deps_log_, &disk_interface_); for (size_t i = 0; i < targets.size(); ++i) { @@ -905,7 +905,7 @@ int NinjaMain::RunBuild(int argc, char** argv) { } // Make sure restat rules do not see stale timestamps. - disk_interface_.AllowCache(false); + disk_interface_.AllowStatCache(false); if (builder.AlreadyUpToDate()) { printf("ninja: no work to do.\n"); |