mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
Fix ./mach run
This commit is contained in:
parent
68a8085a2f
commit
d069841caf
1 changed files with 3 additions and 0 deletions
|
@ -261,6 +261,9 @@ class CommandBase(object):
|
|||
if not self.config["tools"]["system-rust"] \
|
||||
or self.config["tools"]["rust-root"]:
|
||||
env["RUST_ROOT"] = self.config["tools"]["rust-root"]
|
||||
# Add mingw64 binary path before rust paths to avoid conflict with libstdc++-6.dll
|
||||
if sys.platform == "msys":
|
||||
extra_path += [path.join(os.sep, "mingw64", "bin")]
|
||||
# These paths are for when rust-root points to an unpacked installer
|
||||
extra_path += [path.join(self.config["tools"]["rust-root"], "rustc", "bin")]
|
||||
extra_lib += [path.join(self.config["tools"]["rust-root"], "rustc", "lib")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue