I was using opencode + GLM 5.3 to edit something today and it went
into debugging checkpatch failures and found a funny aside:

>From GLM 5.3:

Bonus finding while re-checking:
Moving the dev_info! exposed a latent issue: the message line was 133
columns against checkpatch's 100-column limit for .rs files. It had
been silently passing in driver.rs because of a fun checkpatch quirk I
bisected down: the Core<'_> lifetime in the new function signature
contains a ', which checkpatch's C-oriented sanitizer reads as an
unterminated character literal — so everything after it in the hunk
gets scrubbed, the string quotes don't survive into the sanitized
line,  and the "line is only a string" length exemption stops
matching. The line was always over-length; the exemption was masking
it. I shortened the message to 99 columns, which is robust regardless
of the exemption.

Dave.

Reply via email to