Re: linux-next: build failure after merge of the rust tree

From: Miguel Ojeda
Date: Fri Jan 10 2025 - 05:08:31 EST


On Fri, Jan 10, 2025 at 10:41 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> You can take it as a real patch. That will make your tree compile both
> with and without rust-next merged.

I don't think it builds without `rust-next` since the tree does not
have `build_error!` imported (from the prelude).

Greg: if you want to pick it as a patch, please do instead:

- kernel::build_error(VTABLE_DEFAULT_ERROR)
+ kernel::build_error!(VTABLE_DEFAULT_ERROR).

Cheers,
Miguel