Skip to content
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

[config.toml] should not assume ar uses the same prefix as cc for target #39093

Closed
nagisa opened this issue Jan 16, 2017 · 2 comments
Closed
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@nagisa
Copy link
Member

nagisa commented Jan 16, 2017

If you specify cc = "prefix-cc", then it will explicitly require "prefix-ar" to also exist, without any way to override it. Should either be overridable, or not assumed.

@alexcrichton alexcrichton added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jan 16, 2017
@metux
Copy link

metux commented Jul 12, 2017

In general, compiler(-frontends) should honor the $AR environment variable, and do not attempt any guessing whatsoever, when it's set (note: this is the command line, not the binary name) - distro packaging systems need that.

@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Jul 26, 2017
@Mark-Simulacrum Mark-Simulacrum added this to the impl period milestone Sep 15, 2017
@aturon aturon removed this from the impl period milestone Sep 15, 2017
@bjorn3
Copy link
Member

bjorn3 commented May 15, 2022

The ar path has been separately overridable since #45191:

#ar = "ar" (path)

@bjorn3 bjorn3 closed this as completed May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

6 participants