Remove work-around that is now unnecessary

We use rustup.rs, where each toolchain has its own Cargo version.
This commit is contained in:
Simon Sapin 2018-01-14 01:39:31 +01:00
parent fe0d2866f1
commit 631623a80e

View file

@ -296,10 +296,6 @@ class CommandBase(object):
def set_use_geckolib_toolchain(self, use_geckolib_toolchain=True):
self._use_geckolib_toolchain = use_geckolib_toolchain
if use_geckolib_toolchain:
# We use Cargo Nightly 1.24 with Rust 1.22,
# it passes `-C incremental` to rustc, which is new in Rust 1.24.
self.config["build"]["incremental"] = False
def toolchain(self):
if self._use_geckolib_toolchain: