Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
340678de
Commit
340678de
authored
Mar 19, 2019
by
Nick Hynes
Committed by
Tianqi Chen
Mar 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin rust version used to compile tools (#2852)
parent
2d759439
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
docker/install/ubuntu_install_rust.sh
+3
-4
No files found.
docker/install/ubuntu_install_rust.sh
View file @
340678de
...
...
@@ -11,11 +11,10 @@ export CARGO_HOME=/opt/rust
# this rustc is one supported by the installed version of rust-sgx-sdk
curl
-s
-S
-L
https://sh.rustup.rs
-sSf
| sh
-s
--
-y
--no-modify-path
--default-toolchain
nightly-2019-01-28
.
$CARGO_HOME
/env
rustup toolchain add nightly
rustup component add rust-src
cargo
+nightly
install sccache
cargo
+nightly
install rustfmt-nightly
--version
1.0.1
--force
cargo
+nightly
install xargo
cargo install sccache
cargo install rustfmt-nightly
--version
1.0.1
--force
cargo install xargo
# make rust usable by all users
chmod
-R
a+w /opt/rust
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment