[PATCH v4 2/4] rust: generate a fatal error if BINDGEN_TARGET is undefined

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Sun Nov 23 17:24:31 PST 2025


On Mon, Nov 24, 2025 at 1:23 AM Asuna Yang <spriteovo at gmail.com> wrote:
>
> Generate a friendly fatal error if the target triplet is undefined for
> bindgen, rather than having the compiler generate obscure error messages
> during the build stage.

I normally suggest putting in the log the errors in case someone
searches for them and for future reference etc.

Acked-by: Miguel Ojeda <ojeda at kernel.org>

Cheers,
Miguel



More information about the linux-riscv mailing list