Re: [PATCH] rust: disallow use of `CStr::as_ptr`

From: Miguel Ojeda

Date: Wed Jan 21 2026 - 15:55:25 EST


On Wed, Jan 21, 2026 at 9:02 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> Well, what is "it"? Do you know the upstream issue?

I think Gary is referring to this one:

https://github.com/rust-lang/rust/issues/15701

We have had several times where we could have used attributes for
`allow`s and `cfg`s and such.

I think it is fair to add it to the wishlist (i.e.
https://github.com/Rust-for-Linux/linux/issues/354).

Cheers,
Miguel