Skip to content

Run sanity checks before/after installation #1175

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

Open
Mark-Simulacrum opened this issue Jun 22, 2017 · 1 comment
Open

Run sanity checks before/after installation #1175

Mark-Simulacrum opened this issue Jun 22, 2017 · 1 comment

Comments

@Mark-Simulacrum
Copy link
Member

Not sure if this belongs in rustup, but I think this is the best place for it today. We should try and detect if the user has the minimum requirements for Rust installed before finishing installation. These include a linker (cc) and possibly more -- I don't know.

@nodakai
Copy link
Contributor

nodakai commented Jun 24, 2017

Once #313 is successfully resolved, there can be use cases where a privileged sysadmin without cc in $PATH wants to install Rust with rustup to somewhere like /opt/rust. (It is uncommon to see environments such as university workstations where working C compilers exist only under /opt rather than in everyone's $PATH by default and programmers are supposed to specifically enable them with their .profile .)

So please don't make the check for cc mandatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants