Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rofrol/rustup-helpers
https://github.com/rofrol/rustup-helpers
rust rustup
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rofrol/rustup-helpers
- Owner: rofrol
- License: apache-2.0
- Created: 2017-04-18T08:27:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T23:03:30.000Z (over 7 years ago)
- Last Synced: 2024-12-20T23:27:39.680Z (13 days ago)
- Topics: rust, rustup
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rustup-helpers
Scripts created as a workaround for:
- cargo hangs on Windows 7 https://github.com/rust-lang-nursery/rustup.rs/issues/1075
- Time drift between nigthly version and rustc version https://github.com/SergioBenitez/Rocket/pull/256`./setup.sh` install Rust and `setup_specific_rust_nightly.sh` overrides rust version for directory.
Example usage in `example/` directory.
## Windows setup
### Install Visual C++ 2015 Build Tools
Go to http://landinghub.visualstudio.com/visual-cpp-build-tools and install Visual C++ 2015 Build Tools.
You need amin rights.
### Set env HOME to %USERPROFILE%
1. Press Windows Start, search for env, click.
2. Add new env with the name HOME.
3. Set value to %USERPROFILE%.
4. Restart you terminals.### Set cert for curl when getting error: unknown ssl protocol error in connection
Open `git bash` and run:
`touch ~/.curlrc`
It will create file `%USERPROFILE\.curlrc`.
Then run:
`git config http.sslcainfo`
You will get some path like `C:/Users/someuser/path/to/file.crt`.
Edit file `~/.curlrc` and use path from `git config http.sslcainfo`:
`cacert /c/Users/someuser/path/to/file.crt`