mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
We use Nigthly Cargo with Stable Rust
Nightly now has incremental compilation as a stable feature, but that’s not in the stable channel yet.
This commit is contained in:
parent
59bb421ea1
commit
c8f542afac
1 changed files with 2 additions and 3 deletions
|
@ -297,9 +297,8 @@ class CommandBase(object):
|
|||
def set_use_geckolib_toolchain(self, use_geckolib_toolchain=True):
|
||||
self._use_geckolib_toolchain = use_geckolib_toolchain
|
||||
if use_geckolib_toolchain:
|
||||
# Cargo maintainer's position is that CARGO_INCREMENTAL is a nightly-only feature
|
||||
# and should not be used on the stable channel.
|
||||
# https://github.com/rust-lang/cargo/issues/3835
|
||||
# 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue