From bc0c8366f82ab8b8651c2346fbadcfea900ca789 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Wed, 18 Dec 2024 20:00:46 +0100 Subject: [PATCH] Revert "Fix mozjs build on Windows (#34680)" This reverts commit 11424f90b3cb0fe5688fce68139744f919c5be21. Reason: suspect for busting unit tests on MacOS (#34688). --- python/servo/command_base.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 59b36e8f688..1f8b6818c22 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -832,10 +832,6 @@ 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):