Skip to content

Commit

Permalink
Symlink /ports/cef/target to /target, to reduce compile time.
Browse files Browse the repository at this point in the history
Currently, `mach build-cef` uses a completely separate target directory
than `mach build`, so everything gets built twice.

Now that we’ve upgraded Rust to a version that fixes
rust-lang/rust#16496,
we can make this symlink to share target directories.

"git" dependencies builds are shared as expected, but "path" dependecies
still get rebuilt for some reason that might be related to
rust-lang/cargo#497

@alexcrichton says this is unsupported behavior and we shouldn’t do it,
but it still is strictly better than what we have now as far as I can tell.
  • Loading branch information
SimonSapin committed Sep 22, 2014
1 parent fd5c6e8 commit 144846c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/target
/rust
/cargo
/ports/cef/target
/ports/android/bin
/ports/android/libs
/ports/android/local.properties
Expand Down
1 change: 1 addition & 0 deletions ports/cef/target

0 comments on commit 144846c

Please sign in to comment.