You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
c_import: a c facade over a static inline whose body the translator could not render is accepted silently and traps at run time #2244
Found on #2240 while a migrator change broke the static-inline body translation: behav_c_facade_free_callback.w (c facade calls: fn maybe_apply … nullable param 0 over static inline int maybe_apply(visit_fn visit, void *ctx)) compiled with no diagnostic, the inline function got no MIR body at all (--dump-mir lists 0 of the 5 inline functions main lists), the program linked, and the call trapped at run time (exit 133). The omission is recorded (ci_record_omitted_symbol_cat … inexpressible) and nothing refuses the facade that names the omitted function. A facade clause over a function whose body could not be rendered must be a compile error naming the function and the reason (the same loudness a migration failure has); a stub that traps is the placeholder class AGENTS.md forbids. Repro: on the #2240 branch before f1 (the body-copy rule change), check that test with stage1.
Activity
D107 follow-ups the battery found: the fold and the copy rule are mig…
migrate: a definition's function-pointer parameter is Option by evide…
c_import facade over an omitted function (#2244); unsafe calls in gen…
ehartford commentedon Oct 7, 2026
Merged in db013d9 (PR #2247), battery green on 4bd97c6.