Skip to content

Commit

Permalink
Use version invariant rustfmt (#2886)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes authored and tqchen committed Mar 24, 2019
1 parent 6b2590e commit d04c41c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions docker/install/ubuntu_install_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ apt-get update && apt-get install -y --no-install-recommends 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 -s -S -L https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain nightly-2019-01-28
curl -s -S -L https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain nightly-2019-03-24
. $CARGO_HOME/env
rustup component add rust-src
cargo install sccache
cargo install rustfmt-nightly --version 1.0.1 --force
cargo install xargo
rustup component add rustfmt
cargo install sccache --no-default-features

# make rust usable by all users
chmod -R a+w /opt/rust
1 change: 0 additions & 1 deletion rust/.rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ use_field_init_shorthand = false
force_explicit_abi = true
condense_wildcard_suffixes = false
color = "Auto"
required_version = "1.0.1"
unstable_features = false
disable_all_formatting = false
skip_children = false
Expand Down

0 comments on commit d04c41c

Please sign in to comment.