]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/cc_detect.rs
Simplify Cache wrapper to single type, impl Deref on it, fix all compilation errors...
[rust.git] / src / bootstrap / cc_detect.rs
index 400375cd201c4dca8a8579a3f9c170b2d24f4404..a4cb81d3d1b1b02716417c3c26752f7284b3a2f5 100644 (file)
@@ -45,6 +45,8 @@ fn cc2ar(cc: &Path, target: &str) -> Option<PathBuf> {
         Some(PathBuf::from("ar"))
     } else if target.contains("openbsd") {
         Some(PathBuf::from("ar"))
+    } else if target.contains("vxworks") {
+        Some(PathBuf::from("wr-ar"))
     } else {
         let parent = cc.parent().unwrap();
         let file = cc.file_name().unwrap().to_str().unwrap();