Skip to content

Commit a1a6fd7

Browse files
committed
Add warning about using llvm.ccache and add FIXME note
1 parent e663819 commit a1a6fd7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bootstrap/src/core/config/config.rs

+5
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,7 @@ define_config! {
962962
tests: Option<bool> = "tests",
963963
enzyme: Option<bool> = "enzyme",
964964
plugins: Option<bool> = "plugins",
965+
// FIXME: Remove this field at Q2 2025, it has been replaced by build.ccache
965966
ccache: Option<StringOrBool> = "ccache",
966967
static_libstdcpp: Option<bool> = "static-libstdcpp",
967968
libzstd: Option<bool> = "libzstd",
@@ -2031,6 +2032,10 @@ impl Config {
20312032
download_ci_llvm,
20322033
build_config,
20332034
} = llvm;
2035+
if llvm_ccache.is_some() {
2036+
eprintln!("Warning: llvm.ccache is deprecated. Use build.ccache instead.");
2037+
}
2038+
20342039
ccache = ccache.or(llvm_ccache);
20352040
set(&mut config.ninja_in_file, ninja);
20362041
llvm_tests = tests;

0 commit comments

Comments
 (0)