mirror of
https://github.com/servo/servo.git
synced 2025-06-29 11:33:39 +01:00
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:
parent
acd8454b16
commit
9110b25d13
1 changed files with 0 additions and 12 deletions
|
@ -34,18 +34,6 @@ from servo.util import delete, download_bytes, download_file, extract, check_has
|
||||||
|
|
||||||
@CommandProvider
|
@CommandProvider
|
||||||
class MachCommands(CommandBase):
|
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',
|
@Command('bootstrap',
|
||||||
description='Install required packages for building.',
|
description='Install required packages for building.',
|
||||||
category='bootstrap')
|
category='bootstrap')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue