Auto merge of #24447 - servo:uninit, r=nox

Work around deprecation warnings caused by autocfg $RUSTFLAGS handling

See https://github.com/servo/servo/issues/24446
This commit is contained in:
bors-servo 2019-10-16 17:03:13 -04:00 committed by GitHub
commit 9032207b8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -772,6 +772,10 @@ install them, let us know by filing a bug!")
if self.config["build"]["thinlto"]:
env['RUSTFLAGS'] += " -Z thinlto"
# Work around https://github.com/servo/servo/issues/24446
# Argument-less str.split normalizes leading, trailing, and double spaces
env['RUSTFLAGS'] = " ".join(env['RUSTFLAGS'].split())
return env
@staticmethod