Skip to content

compat.quickjs-ng 0.17.0 on macOS and Windows - #582

Merged
Sunrisepeak merged 2 commits into
mainfrom
quickjs-ng-desktop
Oct 27, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
quickjs-ng-desktop

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

The descriptor declared Linux only. Upstream builds the same four sources with the same flags on Linux, macOS and Windows (clang, and MSVC-ABI clang on Windows). openmui's TypeScript binding embeds the engine on every desktop, so it needs all three.

Changes:

  • xpm gains macosx and windows, with the same tarball and sha256.
  • macOS needs no flags: libSystem already provides libm and pthreads.
  • Windows adds _CRT_SECURE_NO_WARNINGS, as upstream's CMake does for MSVC-ABI builds.
  • tests/examples/quickjs-ng is no longer gated to Linux. The same JavaScript is now evaluated and checked by value on every platform.

Testing: run locally on x86_64-linux-gnu. Also built for x86_64-windows-gnu and run under wine. This CI is the first macOS and MSVC-ABI run.

The descriptor declared Linux only. Upstream builds the same four
sources with the same flags on all three platforms, and openmui's
TypeScript binding embeds the engine on every desktop. macOS needs
nothing more (libSystem has libm and pthreads). Windows adds
_CRT_SECURE_NO_WARNINGS, as upstream's CMake does for MSVC-ABI builds.

The test is no longer gated to Linux, so it now evaluates the same
JavaScript on macOS and Windows. Checked locally on x86_64-linux-gnu,
and for x86_64-windows-gnu under wine.
@Sunrisepeak
Sunrisepeak merged commit e76554c into main Oct 27, 2026
21 checks passed
@Sunrisepeak
Sunrisepeak deleted the quickjs-ng-desktop branch October 27, 2026 05:31
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.

1 participant