Revert "Fix mozjs build on Windows (#34680)"

This reverts commit 11424f90b3.
Reason: suspect for busting unit tests on MacOS (#34688).
This commit is contained in:
Oriol Brufau 2024-12-18 20:00:46 +01:00
parent 11424f90b3
commit bc0c8366f8

View file

@ -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):