We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b05d9ee commit 522f977Copy full SHA for 522f977
src/bootstrap/native.rs
@@ -74,6 +74,13 @@ impl Step for Llvm {
74
let done_stamp = out_dir.join("llvm-finished-building");
75
76
if done_stamp.exists() {
77
+ if builder.config.llvm_skip_rebuild {
78
+ builder.info("Warning: \
79
+ Using a potentially stale build of LLVM; \
80
+ This may not behave well.");
81
+ return build_llvm_config;
82
+ }
83
+
84
if let Some(llvm_commit) = llvm_info.sha() {
85
let done_contents = t!(fs::read(&done_stamp));
86
0 commit comments