mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Work around deprecation warnings caused by autocfg $RUSTFLAGS handling
See https://github.com/servo/servo/issues/24446
This commit is contained in:
parent
1f64024655
commit
6ef9d34132
1 changed files with 4 additions and 0 deletions
|
@ -770,6 +770,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue