Crafter.Graphics/tests/Win32Link
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 8c9a588083
test(win32): drop the __libc_single_threaded stand-in, which crafter-build 5.0.0 made unneeded
Tests
- Win32Link linked under the Flatpak only with a C file defining
  __libc_single_threaded. crafter-build gave clang the host's /usr as
  the MinGW sysroot, which put glibc's headers on the include path, and
  libstdc++'s shared_ptr, inlined from nlohmann/json in Crafter.Asset's
  GLB loader, then read the symbol. crafter-build 5.0.0 shows clang only
  the mingw-w64 parts of /usr (Catcrafts/Crafter.Build#43), so nothing
  references it any more. Under 5.0.0 Win32Link links without it, and so
  does examples/HelloUI, which no stand-in covered. The native
  crafter-build on the host, which never had the problem, still builds
  PointerWin32, TextWin32 and Win32Link and runs them under Wine.

Docs
- AGENTS.template.md and AGENTS.consumer.md: linking for Win32 under the
  Flatpak needs crafter-build 5.0.0, and the workaround is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 00:37:41 +01:00
..
main.cpp fix(win32): link the Vulkan loader without a Vulkan SDK, link libuuid, and check that a Win32 executable links 2026-10-31 20:27:09 +01:00