Skip to content

Commit

Permalink
Remove ./mach env as it is a lie.
Browse files Browse the repository at this point in the history
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 9110b25
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions python/servo/bootstrap_commands.py
Expand Up @@ -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')
Expand Down

0 comments on commit 9110b25

Please sign in to comment.