diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-08-28 14:52:37 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-08-30 15:48:41 -0700 |
| commit | 98e470ad731c66c4c16f2a31d498c316d30dadd5 (patch) | |
| tree | 1c7ba6a99c82aaffc776f4ff34081efabb52a646 /src/rustllvm/RustWrapper.cpp | |
| parent | 7cbdee1663d3d729f3dde3b295ef5574a5839127 (diff) | |
| download | rust-98e470ad731c66c4c16f2a31d498c316d30dadd5.tar.gz rust-98e470ad731c66c4c16f2a31d498c316d30dadd5.zip | |
rustpkg: Allow package directories to appear in the RUST_PATH
This commit adds a rustpkg flag, --rust-path-hack, that allows rustpkg to *search* inside package directories if they appear in the RUST_PATH, while *building* libraries and executables into a different target directory. This behavior is hidden behind a flag because I believe we only want to support it temporarily, to make it easier to port servo to rustpkg. This commit also includes a fix for how rustpkg fetches sources from git repositories -- it uses a temporary directory as the target when invoking `git clone`, then moves that directory into the workspace if the clone was successful. (The old behavior was that when the `git clone` failed, the empty target directory would be left lying around anyway.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
