From 063d0ad139cb35969737e950f1a7c29e4a62d005 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 22 Jan 2016 12:47:03 -0600 Subject: [PATCH] target spec: remove /etc/rustc as default path The RFC specifies that if RUST_TARGET_PATH is unset then the default is /etc/rustc but this won't work on all systems (e.g. Windows) and the Rust compiler never actually implemented this behavior so remove it from the RFC. closes rust-lang/rust#31117 Signed-off-by: Doug Goldstein --- text/0131-target-specification.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/text/0131-target-specification.md b/text/0131-target-specification.md index 42fbaceabde..2bbb008af6b 100644 --- a/text/0131-target-specification.md +++ b/text/0131-target-specification.md @@ -65,8 +65,7 @@ deciding how to build for a given target. The process would look like: 1. Look up the target triple in an internal map, and load that configuration if it exists. If that fails, check if the target name exists as a file, and try loading that. If the file does not exist, look up `.json` in - the `RUST_TARGET_PATH`, which is a colon-separated list of directories - defaulting to `/etc/rustc`. + the `RUST_TARGET_PATH`, which is a colon-separated list of directories. 2. If `-C linker` is specified, use that instead of the target-specified linker. 3. If `-C link-args` is given, add those to the ones specified by the target.