Skip to content
Permalink
Browse files

Remove `./mach env` as it is a lie.

We stopped overriding `$PATH` since using rustup.
The printed variables are not sufficient to do anything.
  • Loading branch information...
SimonSapin committed Jul 1, 2019
1 parent acd8454 commit 9110b25d13cce94d237b9b8ce6d2be0ff9058583
Showing with 0 additions and 12 deletions.
  1. +0 −12 python/servo/bootstrap_commands.py
@@ -34,18 +34,6 @@

@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')

0 comments on commit 9110b25

Please sign in to comment.
You can’t perform that action at this time.