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
migrate: map {0} initializers and memset-to-zero to T.zeroed() (D101) #2214
D101 (2026-10-06): C's struct T x = {0}; and memset(&x, 0, sizeof x) mean exactly T.zeroed(). The migrator should emit that. Migrated code that relied on a struct literal written through an alias now meets the restored missing-field check (§4.3 rule 2), and T.zeroed() is the spelling that reads better. Refuse loudly when the record is not zero-valid (the error names the field), never fall back to a partial literal.
Activity
D101: T.zeroed() is safe on zero-valid C records; the facade's in-pla…
D100: a field without pub is private to its package (#2209) (#2212)
migrate: C's {0} on a record and memset-to-zero of a record are T.zer…
corpus tests print the provenance of what they run (#2230) (#2232)
migrate_diff: the migration differential; the 97 fallback discards pa…