Skip to content

target spec: remove /etc/rustc as default path #1473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions text/0131-target-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<target>.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.
Expand Down