Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 6, 2025

Windows 10 and above support ANSI coloring and there should be very few emscripten users on older version of windows at this point (if any?).

emscripten already does not support windows 7 IIUC, since its dependencies (both python 3 and node 18) do not support windows 7

This means that only windows 8 users should be effected by this change. The upside is that we can cleanup and refactor this code now (see #25495).

@sbc100 sbc100 force-pushed the ansi_color branch 2 times, most recently from 4fbd4f9 to 8e08d2c Compare October 6, 2025 19:13
@sbc100 sbc100 requested review from kripken and juj October 6, 2025 19:14
@sbc100 sbc100 force-pushed the ansi_color branch 3 times, most recently from 8d5ff02 to 8fdc8e3 Compare October 6, 2025 19:26
@juj
Copy link
Collaborator

juj commented Oct 6, 2025

I merged this branch against my PR branch #25495 and verified that this will not disrupt the coloring added in that branch on Windows 10. LGTM.

Windows 10 and above support ANSI coloring and there should be very few
emscripten users on older version of windows at this point (if any?).

The downside is that windows 7 will no longer have nice colored error
messages, but the upside is that we can cleanup and refactor this code
now (see emscripten-core#25495).
@sbc100 sbc100 merged commit d020153 into emscripten-core:main Oct 6, 2025
23 of 33 checks passed
@sbc100 sbc100 deleted the ansi_color branch October 6, 2025 21:05
sbc100 added a commit to sbc100/emscripten that referenced this pull request Oct 6, 2025
Now the ANSI colors are always used we can make this function much
simpler.

Followup to emscripten-core#25502.
sbc100 added a commit to sbc100/emscripten that referenced this pull request Oct 6, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request Oct 6, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants