diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/storage/target_cache.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/buildtool/storage/target_cache.hpp b/src/buildtool/storage/target_cache.hpp index 385d1cd0..8c92a0a0 100644 --- a/src/buildtool/storage/target_cache.hpp +++ b/src/buildtool/storage/target_cache.hpp @@ -139,6 +139,13 @@ class TargetCache { ArtifactDownloader const& downloader) const noexcept -> bool; }; +#ifdef BOOTSTRAP_BUILD_TOOL +using ActiveTargetCache = TargetCache<false>; +#else +// TargetCache type aware of bootstrapping +using ActiveTargetCache = TargetCache<true>; +#endif // BOOTSTRAP_BUILD_TOOL + #include "src/buildtool/storage/target_cache.tpp" namespace std { |