servo: Merge #10123 - Remove unused use_nightly_rust function (from Ms2ger:use_nightly_rust); r=KiChjang

Source-Repo: https://github.com/servo/servo
Source-Revision: 805aa3a3ab6506cd7178cebf7886c306802137a5
This commit is contained in:
Ms2ger 2016-03-22 21:09:50 +05:01
parent 3f3bea580c
commit 4f3f5ce0e7

View File

@ -59,11 +59,6 @@ def host_triple():
return "%s-%s" % (cpu_type, os_type)
def use_nightly_rust():
envvar = os.environ.get("SERVO_USE_NIGHTLY_RUST", "0")
return envvar != "0"
def call(*args, **kwargs):
"""Wrap `subprocess.call`, printing the command if verbose=True."""
verbose = kwargs.pop('verbose', False)