Remove ./mach env as it is a lie.

We stopped overriding `$PATH` since using rustup.
The printed variables are not sufficient to do anything.
This commit is contained in:
Simon Sapin 2019-07-01 16:17:48 +02:00
parent acd8454b16
commit 9110b25d13

View file

@ -34,18 +34,6 @@ from servo.util import delete, download_bytes, download_file, extract, check_has
@CommandProvider
class MachCommands(CommandBase):
@Command('env',
description='Print environment setup commands',
category='bootstrap')
def env(self):
env = self.build_env()
print("export RUSTFLAGS=%s" % env.get("RUSTFLAGS", ""))
print("export PATH=%s" % env.get("PATH", ""))
if sys.platform == "darwin":
print("export DYLD_LIBRARY_PATH=%s" % env.get("DYLD_LIBRARY_PATH", ""))
else:
print("export LD_LIBRARY_PATH=%s" % env.get("LD_LIBRARY_PATH", ""))
@Command('bootstrap',
description='Install required packages for building.',
category='bootstrap')