From 4cfe73c9eb1f077933b49b12c5383207180017e9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 1 Oct 2026 21:27:28 +0200 Subject: [PATCH] Fix AGENTS.md gotcha ordering Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 2117e4d..ab65cf6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -33,8 +33,8 @@ Commands (see `justfile`): `just run`, `just check`, `just test`, `just package 2. **Old font failure root cause**: `DroidSansJapanese.ttf` was a GitHub HTML page saved from a blob URL, not a font. Always download fonts from raw URLs and check them with `file`. 3. **Thai shaping**: raylib does no text shaping, so Thai combining vowels/tone marks may be misplaced. Prefer standalone consonants on Thai cards. 4. Tests share the memory game's global state, so they must run single-threaded (`just test` sets `ODIN_TEST_THREADS=1`). -6. **Windows builds are cross-compiled**: Odin can't link Windows binaries on Linux, so `just windows` builds objects with `-build-mode:obj` and links with `lld-link` against an xwin SDK. The VC runtime is linked statically; only Windows system DLLs are needed. Not yet tested on a real Windows machine. 5. The game changes directory to the executable's folder at startup so `assets/` is found from anywhere. +6. **Windows builds are cross-compiled**: Odin can't link Windows binaries on Linux, so `just windows` builds objects with `-build-mode:obj` and links with `lld-link` against an xwin SDK. The VC runtime is linked statically; only Windows system DLLs are needed. Not yet tested on a real Windows machine. ## File Structure ```