On Sun, 2026-02-15 at 13:47 +0100, Miguel Ojeda wrote: > Hi all, > > In mainline and next, for UML with Rust stable (but not with Rust > minimum), I am seeing: > > RUSTC L rust/kernel.o - due to target missing > error: unused import: `define_read` > --> rust/kernel/io.rs:229:16 > | > 229 | pub(crate) use define_read; > | ^^^^^^^^^^^ > | > = note: `-D unused-imports` implied by `-D warnings` > = help: to override `-D warnings` add `#[allow(unused_imports)]` > > error: unused import: `define_write` > --> rust/kernel/io.rs:262:16 > | > 262 | pub(crate) use define_write; > | ^^^^^^^^^^^
Not sure I understand, the cfg() seems to only be fore 64-bit, but it _is_ possible to build UML without IO accessors at all, since it's just virtual, but I don't see how that would reflect in io.rs. Not sure I can say anything else about it, sorry. johannes
