louise
The Louise language: compiler, runtime, std, tooling
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runEn cours#94 · main
0Étoiles
0Forks
40Issues
Codegen: the generated C asserts TL_XARGS (issue #62)
Codegen's XARGS was a hand copy of tilrt.h's TL_XARGS with no check. The generated C now starts with _Static_assert(TL_XARGS == 26, ...) after the prelude, so a mismatch fails at C compile time instead of corrupting arguments past the sixth (code-health L3). This line is the one intended change to every generated C file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents 4ac79a3
1 fichiers modifiés, 5 ajouts, 1 suppressions
crates/tilc_codegen_c/src/emit/mod.rs+5−1