Skip to content

Commit eae0b72

Browse files
committed
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>
2 parents 78ab181 + a4579c5 commit eae0b72

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

Lines changed: 1 addition & 2 deletions
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)