tobogganSe connecter

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>

olivier · il y a 1 mois · aae1336b6a30c5908c696f4d246dc783a6029e08

Parents 4ac79a3

1 fichiers modifiés, 5 ajouts, 1 suppressions

Mcrates/tilc_codegen_c/src/emit/mod.rs+5−1