diff --git a/python/servo/command_base.py b/python/servo/command_base.py index f1d5e97974b..1193fedf540 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -302,7 +302,6 @@ class CommandBase(object): self.config["build"].setdefault("ccache", "") self.config["build"].setdefault("rustflags", "") self.config["build"].setdefault("incremental", None) - self.config["build"].setdefault("thinlto", False) self.config["build"].setdefault("webgl-backtrace", False) self.config["build"].setdefault("dom-backtrace", False) @@ -542,9 +541,6 @@ class CommandBase(object): env["CARGO_TARGET_DIR"] = servo.util.get_target_dir() - 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()) diff --git a/servobuild.example b/servobuild.example index 3e0897a845c..1c63d91d4b0 100644 --- a/servobuild.example +++ b/servobuild.example @@ -54,9 +54,6 @@ media-stack = "auto" #incremental = false #incremental = true -# Whether to use ThinLTO or not -#thinlto = false - # Android information [android] # Defaults to the value of $ANDROID_SDK, $ANDROID_NDK, $ANDROID_TOOLCHAIN, $ANDROID_PLATFORM respectively