Commit Graph
12 Commits
Author SHA1 Message Date
waozi ccec103ebc k2b: report call kinds the KRB vocabulary cannot express
A cartridge that comes out thin (inbe's pet screen: an egg widget,
locale text, Paragraphs) was silently missing everything k2b cannot
lower. The builder now tracks dropped call kinds per file and prints
one stderr line: 'k2b: <file>: N call kinds not in KRB: Paragraph x2
draw_egg x1 ...' - pet_screen.kry reports seven, which is the honest
content of the gap.
2026-08-16 07:52:09 -05:00
waozi ed512eae71 raylib build: purge stale .o/.a from vendored sources before recompiling
The vendored raylib copy could ship leftover .o/.a files that shadow a
recompile, causing symbol/link mismatches (the CUSTOM_CFLAGS rename drop).
Delete any prebuilt objects right after copying the sources, before the
prepare script and sub-make run, for native, web, and both Windows targets.
2026-08-12 19:02:11 -05:00
waozi d60cd4303e Add raylib rename-check post-build step to fix symbol collision
Some build environments cause the nested raylib sub-make to drop the
CUSTOM_CFLAGS rename header, leaving unrenamed symbols in libraylib.a
(GetCodepoint, TextSplit, LoadUTF8, etc.) that collide with kryon's
forwarders at link time. The root cause is an environment-specific
interaction between the nested make and the compiler that I could not
fully pin down despite extensive investigation (the flags are correct,
manual compiles with identical flags rename correctly, but the make-driven
compile does not).

The fix: a post-build check in KRYON_RAYLIB_DESKTOP_RULE (mk/raylib.mk)
that verifies the rename took effect and, if not, recompiles rtext.o
directly with the rename header and replaces it in the archive. Proven
correct in isolation — the recompiled rtext.o has correctly-renamed
symbols and ar rcs replaces the member cleanly.
2026-08-12 11:35:39 -05:00
waozi e6bb5e7372 Add compiler diagnostics and UI text backend fixes 2026-07-27 12:14:20 -03:00
waozi 137f6ac413 Rename Flint runtime to Kryon 2026-07-20 11:25:19 -03:00
waozi 76c8916320 Fix icon slider popup and raylib build lock 2026-07-11 20:37:41 -03:00
waozi 2d08e7a4cc Track raylib source prep in build rules 2026-07-11 17:50:55 -03:00
waozi a3837ff3bb Fix release build dependency checks 2026-07-11 17:12:24 -03:00
waozi 06d0d82ec3 Generate Raylib backend wrappers 2026-07-10 23:51:06 -03:00
waozi 9c26a1c1df Delegate platform Raylib rules 2026-07-10 23:07:30 -03:00
waozi 97e1ceaa89 Share Raylib build rules across Flint apps 2026-07-10 22:55:24 -03:00
waozi 7dc8c90f7c Vendor raylib through Flint build rules 2026-06-26 23:55:07 -03:00