You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying build the linux-next tree today with Rust support enabled and ran into the following issue:
$ LLVM=1 make -j8
[...]
RUSTC L rust/kernel.o
error[E0428]: the name `maple_enode` is defined multiple times
--> /home/mortona/workspaces/linux/kernels/next/linux/rust/bindings_generated.rs:41359:1
|
41356 | pub struct maple_enode {
| ---------------------- previous definition of the type `maple_enode` here
...
41359 | pub type maple_enode = *mut maple_enode;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `maple_enode` redefined here
|
= note: `maple_enode` must be defined only once in the type namespace of this module