-
Notifications
You must be signed in to change notification settings - Fork 31
Support Rust #23
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
base: master
Are you sure you want to change the base?
Support Rust #23
Conversation
- Support Rust
|
Thank you for proposing this change! My preferable idea is to bypass |
|
@tagomoris Thank you for taking time to look down this feature. There are two methods to execute Rust compiler (rustc):
Both methods depend on Could you clarify the reason why P.S. I'd like to propose another option.
When user specified the installation directory, Rust version will be changed by setting PATH to the directory. No other operation is needed. |
|
My original motivation is described here (only in Japanese). The main intention is to get rid of On the other hand, Rust initially integrates multiple version installation and version switching. |
|
I'm writing Dockerfile for our development server. We are using xbuild because it is a great tool for installing multiple languages on thre remote service. Today we also need Rust runtimes for only compiling and running the Rust code (this code launches the API server). Also we would like to update language versions when the toolchains are updated. |
|
Finally, I got a conclusion to merge this change as-is. This tool should do things as less as possible, and if Rust requires setting an additional env variable, Rust users should know that. Unusual workarounds may cause unexpected behaviors for those people. |
|
Why would you support a Rust? rust already pre-installed on many os'es |
|
@batara666 They want to utilize the latest version of Rust. I hope this information proves useful. |
Description
This PR adds support for Rust programming language.
Due to version management mechanism of Rust, this script allows installing multiple versions for a single directory. Second argument (installation directory for rustup) is for the compatibility with another languages.
Example