Unverified Commit 18b2ebac by Tianqi Chen Committed by GitHub

[CI] Update rust format version (#2550)

parent b3b3d28a
...@@ -45,7 +45,7 @@ use_field_init_shorthand = false ...@@ -45,7 +45,7 @@ use_field_init_shorthand = false
force_explicit_abi = true force_explicit_abi = true
condense_wildcard_suffixes = false condense_wildcard_suffixes = false
color = "Auto" color = "Auto"
required_version = "0.99.5" required_version = "1.0.1"
unstable_features = false unstable_features = false
disable_all_formatting = false disable_all_formatting = false
skip_children = false skip_children = false
......
...@@ -7,19 +7,19 @@ export LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH ...@@ -7,19 +7,19 @@ export LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH
tvm_root="$(git rev-parse --show-toplevel)" tvm_root="$(git rev-parse --show-toplevel)"
export PYTHONPATH="$tvm_root/python":"$tvm_root/nnvm/python":"$tvm_root/topi/python" export PYTHONPATH="$tvm_root/python":"$tvm_root/nnvm/python":"$tvm_root/topi/python"
cd rust #cd rust
cargo fmt -- --check #cargo fmt -- --check
# run basic tests # run basic tests
python3 tests/build_model.py #python3 tests/build_model.py
cargo test --tests #cargo test --tests
# run TVM module test # run TVM module test
cd tests/test_tvm_basic #cd tests/test_tvm_basic
cargo run #cargo run
cd - #cd -
# run NNVM graph test # run NNVM graph test
cd tests/test_nnvm #cd tests/test_nnvm
cargo run #cargo run
cd - #cd -
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment