about summary refs log tree commit diff
path: root/src/librustc_back/target
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-04-14 14:49:09 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-04-14 14:49:09 -0400
commiteae0b72ad830526f2492f554b70242e4d6df3ed4 (patch)
tree2a49194872046b3f8de516de68211ccbe6fe474e /src/librustc_back/target
parent78ab18199d69bcc801668bfbeea8190b2c73a939 (diff)
parenta4579c54b92f7ca949bba2c01dd65d19e8ea9cc3 (diff)
downloadrust-eae0b72ad830526f2492f554b70242e4d6df3ed4.tar.gz
rust-eae0b72ad830526f2492f554b70242e4d6df3ed4.zip
Rollup merge of #32856 - cardoe:target-spec-path, r=alexcrichton
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/librustc_back/target')
-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 bde88605e88..72c99d57963 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