# Following rust-toolchain?

**URL:** <https://travis-ci.community/t/following-rust-toolchain/1356>\
**Category:** Rust\
**Created:** [December 11, 2018, 4:21am UTC](https://travis-ci.community/t/following-rust-toolchain/1356 "2018-12-11T04:21:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![breeswish](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/breeswish/32/726_2.png) [@breeswish](https://travis-ci.community/u/breeswish)\
**Post date:** [December 11, 2018, 4:21am UTC](https://travis-ci.community/t/following-rust-toolchain/1356/1 "2018-12-11T04:21:38Z")

</div>

My project uses [rust-toolchain](https://github.com/rust-lang/rustup.rs#the-toolchain-file) to specify and lock a rustc version. So now Travis will install Rust two times, 1 installing latest nightly or beta or stable, 1 installing the version specified by rust-toolchain file. It would be nice that Travis can be smarter!

This issue is previously reported on GitHub as well: [https://github.com/travis-ci/travis-ci/issues/10002](https://github.com/travis-ci/travis-ci/issues/10002)

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [December 11, 2018, 1:10pm UTC](https://travis-ci.community/t/following-rust-toolchain/1356/2 "2018-12-11T13:10:32Z")

</div>

[https://github.com/travis-ci/travis-build/pull/1513](https://github.com/travis-ci/travis-build/pull/1513) attempts to solve the issue, but not all items in the [Override Precedence](https://github.com/rust-lang/rustup.rs#override-precedence) is considered in that PR.
