We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2297a8b commit e44fc45Copy full SHA for e44fc45
src/bootstrap/native.rs
@@ -70,6 +70,15 @@ impl Step for Llvm {
70
let done_stamp = out_dir.join("llvm-finished-building");
71
72
if done_stamp.exists() {
73
+ if builder.config.llvm_skip_rebuild {
74
+ builder.info(
75
+ "Warning: \
76
+ Using a potentially stale build of LLVM; \
77
+ This may not behave well.",
78
+ );
79
+ return build_llvm_config;
80
+ }
81
+
82
if let Some(llvm_commit) = llvm_info.sha() {
83
let done_contents = t!(fs::read(&done_stamp));
84
0 commit comments