about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-08-28 14:52:37 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-08-30 15:48:41 -0700
commit98e470ad731c66c4c16f2a31d498c316d30dadd5 (patch)
tree1c7ba6a99c82aaffc776f4ff34081efabb52a646 /src/rustllvm/RustWrapper.cpp
parent7cbdee1663d3d729f3dde3b295ef5574a5839127 (diff)
downloadrust-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