mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix mozjs build on Windows (#34680)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
3a4e5d4245
commit
11424f90b3
1 changed files with 4 additions and 0 deletions
|
@ -832,6 +832,10 @@ class CommandBase(object):
|
|||
if with_debug_assertions or self.config["build"]["debug-assertions"]:
|
||||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C debug_assertions"
|
||||
|
||||
# mozjs gets its Python from `env['PYTHON3']`, which defaults to `python3`,
|
||||
# but uv venv on Windows only provides a `python`, not `python3`.
|
||||
env['PYTHON3'] = "python"
|
||||
|
||||
return call(["cargo", command] + args + cargo_args, env=env, verbose=verbose)
|
||||
|
||||
def android_adb_path(self, env):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue