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

From: Miguel Ojeda

Date: Sun Nov 23 2025 - 20:24:44 EST


On Mon, Nov 24, 2025 at 1:23 AM Asuna Yang <spriteovo@xxxxxxxxx> 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@xxxxxxxxxx>

Cheers,
Miguel