void-packages/srcpkgs/rust/patches/dont-require-filecheck.patch

16 lines
588 B
Diff
Raw Normal View History

2017-03-16 20:43:31 +00:00
--- rustc-1.16.0-src/src/bootstrap/sanity.rs.orig
+++ rustc-1.16.0-src/src/bootstrap/sanity.rs
@@ -144,12 +144,6 @@
}
}
- // Externally configured LLVM requires FileCheck to exist
- let filecheck = build.llvm_filecheck(&build.config.build);
2016-11-12 17:41:23 +00:00
- if !filecheck.starts_with(&build.out) && !filecheck.exists() && build.config.codegen_tests {
2017-03-16 20:43:31 +00:00
- panic!("FileCheck executable {:?} does not exist", filecheck);
- }
-
for target in build.config.target.iter() {
2017-03-16 20:43:31 +00:00
// Can't compile for iOS unless we're on OSX
if target.contains("apple-ios") &&