diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-04-22 17:46:37 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-04-22 18:17:32 -0700 |
| commit | 4508da226ab598e646ef7cbac805cdcc8deb07a4 (patch) | |
| tree | c0a463f22521f0d013602b067dd7e89b186a57d9 | |
| parent | d834c0d59d7b4febbf8dc411b5d3aa925ee7a447 (diff) | |
| download | rust-4508da226ab598e646ef7cbac805cdcc8deb07a4.tar.gz rust-4508da226ab598e646ef7cbac805cdcc8deb07a4.zip | |
rustpkg: In doc, mention other implicit RUST_PATH entries
as per Graydon's comment
| -rw-r--r-- | doc/rustpkg.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/rustpkg.md b/doc/rustpkg.md index d4c1aa67332..ac3d32dcd8e 100644 --- a/doc/rustpkg.md +++ b/doc/rustpkg.md @@ -21,7 +21,12 @@ Each directory in this list is a *workspace* for rustpkg. `../.rust`, `../../.rust`, and so on for every parent of `.` up to the filesystem root). That means that if `RUST_PATH` is not set, -then rustpkg will still search for workspaces in `./.rust` and so on +then rustpkg will still search for workspaces in `./.rust` and so on. +`RUST_PATH` also implicitly contains an entry for the system path: +`/usr/local` or the equivalent on Windows. +This entry comes after the implicit entries for `./.rust` and so on. +Finally, the last implicit entry in `RUST_PATH` is `~/.rust` +or the equivalent on Windows. Each workspace may contain one or more packages. |
