Skip to content

Commit

Permalink
Revert "Fix mozjs build on Windows (servo#34680)"
Browse files Browse the repository at this point in the history
This reverts commit 11424f9.
Reason: suspect for busting unit tests on MacOS (servo#34688).
  • Loading branch information
Loirooriol committed Dec 18, 2024
1 parent 11424f9 commit bc0c836
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/servo/command_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,10 +832,6 @@ def run_cargo_build_like_command(
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):
Expand Down

0 comments on commit bc0c836

Please sign in to comment.