Skip to content

Commit a4579c5

Browse files
committed
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 rust-lang#31117 and rust-lang/rfcs#1473. Signed-off-by: Doug Goldstein <[email protected]>
1 parent 42ea682 commit a4579c5

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_back/target

1 file changed

+1
-2
lines changed

src/librustc_back/target/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
//! rustc will search each directory in the environment variable
2828
//! `RUST_TARGET_PATH` for a file named `TRIPLE.json`. The first one found will
2929
//! be loaded. If no file is found in any of those directories, a fatal error
30-
//! will be given. `RUST_TARGET_PATH` includes `/etc/rustc` as its last entry,
31-
//! to be searched by default.
30+
//! will be given.
3231
//!
3332
//! Projects defining their own targets should use
3433
//! `--target=path/to/my-awesome-platform.json` instead of adding to

0 commit comments

Comments
 (0)