diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-08-22 19:18:38 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-08-27 19:06:38 -0700 |
| commit | eafa63f787d04857268743e3941e7caa8c128bc4 (patch) | |
| tree | 8eaa741dcfa3058f42a18cf56ea62ac7ea3f9cc0 /src/rustllvm/PassWrapper.cpp | |
| parent | 58d6eb50483c44ecc72db6d77b71ad5d5a7aca4d (diff) | |
| download | rust-eafa63f787d04857268743e3941e7caa8c128bc4.tar.gz rust-eafa63f787d04857268743e3941e7caa8c128bc4.zip | |
Handle `rustpkg build`, etc. when given no args properly
`rustpkg build` et al were only checking one directory up to see if it was in a dir named "src". Ditch that entirely and instead check if the cwd is descended from any of the workspace paths. Besides being more intelligent about whether or not something is a workspace, this also allows for package ids composed of multiple path components.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
