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
b6ae3e15
Commit
b6ae3e15
authored
Jan 31, 2019
by
Nick Hynes
Committed by
Tianqi Chen
Jan 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update rustc (#2524)
parent
741b6bbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
docker/install/ubuntu_install_rust.sh
+2
-2
docker/install/ubuntu_install_sgx.sh
+2
-2
No files found.
docker/install/ubuntu_install_rust.sh
View file @
b6ae3e15
...
...
@@ -3,12 +3,12 @@ apt-get update && apt-get install -y --no-install-recommends --force-yes curl
export
RUSTUP_HOME
=
/opt/rust
export
CARGO_HOME
=
/opt/rust
# this rustc is one supported by the installed version of rust-sgx-sdk
curl https://sh.rustup.rs
-sSf
| sh
-s
--
-y
--no-modify-path
--default-toolchain
nightly-201
8-10-01
curl https://sh.rustup.rs
-sSf
| sh
-s
--
-y
--no-modify-path
--default-toolchain
nightly-201
9-01-28
.
$CARGO_HOME
/env
rustup toolchain add nightly
rustup component add rust-src
cargo +nightly install sccache
cargo +nightly install rustfmt-nightly
--version
0.99.5
--force
cargo +nightly install rustfmt-nightly
--version
1.0.1
--force
cargo +nightly install xargo
# make rust usable by all users
...
...
docker/install/ubuntu_install_sgx.sh
View file @
b6ae3e15
...
...
@@ -16,6 +16,6 @@ cd -
git clone https://github.com/baidu/rust-sgx-sdk.git /opt/rust-sgx-sdk
cd
/opt/rust-sgx-sdk
git checkout
v1.0.4
curl
'https://gist.githubusercontent.com/nhynes/37164039c5d3f33aa4f123e4ba720036/raw/
5b7fc24d4faa0bd6efce19f8324f79d5562991e0
/rust-sgx-sdk.diff'
| git apply
git checkout
6098af
# v1.0.5
curl
'https://gist.githubusercontent.com/nhynes/37164039c5d3f33aa4f123e4ba720036/raw/
b0de575fe937231799930764e76c664b92975163
/rust-sgx-sdk.diff'
| git apply
cd
-
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