]> git.lizzy.rs Git - rust.git/commit
rustpkg: Support sub-package-IDs
authorTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 12 Sep 2013 20:56:11 +0000 (13:56 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 12 Sep 2013 21:11:25 +0000 (14:11 -0700)
commit3226a804ad2969c7fe26bade949fe478de80e94d
tree1578c752f02d06132b747fc42545d4b267d1a747
parenta6be8d353bc25e160bc988e91744571547d12cab
rustpkg: Support sub-package-IDs

Package IDs can now refer to a subdirectory of a particular source
tree, and not just a top-level directory with a src/ directory as its
parent.

For example, referring to the package ID a/b/c/d , in workspace W,
if W/src/a is a package, will build the sources for the package in
a/b/c/d (and not other crates in W/src/a).

Closes #6408
src/librustpkg/package_id.rs
src/librustpkg/package_source.rs
src/librustpkg/path_util.rs
src/librustpkg/search.rs
src/librustpkg/tests.rs
src/librustpkg/util.rs
src/librustpkg/workspace.rs