Skip to content

remove @event_loop.IS_WINDOWS in favor of @event_loop.platform#428

Merged
Guest0x0 merged 1 commit into
mainfrom
remove-IS_WINDOWS
Jun 12, 2026
Merged

remove @event_loop.IS_WINDOWS in favor of @event_loop.platform#428
Guest0x0 merged 1 commit into
mainfrom
remove-IS_WINDOWS

Conversation

@Guest0x0

Copy link
Copy Markdown
Collaborator

The constant @event_loop.IS_WINDOWS is not compatible with future WASM support, because on WASM backend, the actual platform cannot be known statically. This PR removes the IS_WINDOWS constant and favor the global variable @event_loop.platform instead.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 506

Coverage increased (+0.04%) to 77.566%

Details

  • Coverage increased (+0.04%) from the base build.
  • Patch coverage: 4 of 4 lines across 3 files are fully covered (100%).
  • 1 coverage regression across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
src/fs/dir.mbt 1 89.77%

Coverage Stats

Coverage Status
Relevant Lines: 4676
Covered Lines: 3627
Line Coverage: 77.57%
Coverage Strength: 72145.68 hits per line

💛 - Coveralls

@Guest0x0 Guest0x0 merged commit 6b12989 into main Jun 12, 2026
39 of 42 checks passed
@Guest0x0 Guest0x0 deleted the remove-IS_WINDOWS branch June 12, 2026 10:28
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