about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@cardoe.com>2016-04-09 09:39:22 -0500
committerDoug Goldstein <cardoe@cardoe.com>2016-04-09 09:41:31 -0500
commita4579c54b92f7ca949bba2c01dd65d19e8ea9cc3 (patch)
treeb3ef7c410246e33c82c2068106ac61f55d19a571 /src
parent42ea682fc495b6ec362db0aafba69e56c7aa0a9c (diff)
downloadrust-a4579c54b92f7ca949bba2c01dd65d19e8ea9cc3.tar.gz
rust-a4579c54b92f7ca949bba2c01dd65d19e8ea9cc3.zip
librustc_back: fix incorrect comment about RUST_TARGET_PATH
The path `/etc/rustc/` is not the default last entry in
RUST_TARGET_PATH. This was in RFC131 but was never implemented in rustc
so it was removed as part of #31117 and rust-lang/rfcs#1473.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Diffstat (limited to 'src')
-rw-r--r--src/librustc_back/target/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_back/target/mod.rs b/src/librustc_back/target/mod.rs
index a8eac524971..0a9724d075c 100644
--- a/src/librustc_back/target/mod.rs
+++ b/src/librustc_back/target/mod.rs
@@ -27,8 +27,7 @@
 //! rustc will search each directory in the environment variable
 //! `RUST_TARGET_PATH` for a file named `TRIPLE.json`. The first one found will
 //! be loaded. If no file is found in any of those directories, a fatal error
-//! will be given.  `RUST_TARGET_PATH` includes `/etc/rustc` as its last entry,
-//! to be searched by default.
+//! will be given.
 //!
 //! Projects defining their own targets should use
 //! `--target=path/to/my-awesome-platform.json` instead of adding to