rustpkg: Use workcache

rustpkg now uses the workcache library to avoid recompilation.
Hooray!
This commit is contained in:
Tim Chevalier 2013-09-06 20:29:16 -07:00
parent bb30f047f6
commit 02a0fb94ee
15 changed files with 680 additions and 509 deletions

View file

@ -43,7 +43,7 @@ pub fn pkg_parent_workspaces(cx: &Ctx, pkgid: &PkgId) -> ~[Path] {
.filter(|ws| workspace_contains_package_id(pkgid, ws))
.collect();
if cx.use_rust_path_hack {
rs + option_to_vec(find_dir_using_rust_path_hack(cx, pkgid))
rs + option_to_vec(find_dir_using_rust_path_hack(pkgid))
}
else {
rs