Re: [PATCH] rust: macros: allow non-ASCII characters in `authors`

From: Miguel Ojeda

Date: Wed Sep 30 2026 - 11:27:00 EST


On Wed, Sep 30, 2026 at 3:16 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> I'm not sure that this should be considered a fix. More like a feature.

Yeah, I had the same thought, but given we discussed the topic in the
past and we supported non-ASCII on purpose on commit b13c9880f909
("rust: macros: take string literals in `module!`"), I thought it
counted as such (that is why I mentioned it was unintentional in my
previous message).

Having said that, it has been quite a while, and it is also true that
for 6.18.y it may not be worth to change it since it does not apply
cleanly given the `syn` rewrite. It is easy, but requires creating a
next `expect_` helper.

Cheers,
Miguel