public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* Mainline UML Rust stable io.rs unused imports
@ 2026-02-15 12:47 Miguel Ojeda
  2026-02-16 10:19 ` Johannes Berg
  2026-02-16 10:34 ` Danilo Krummrich
  0 siblings, 2 replies; 4+ messages in thread
From: Miguel Ojeda @ 2026-02-15 12:47 UTC (permalink / raw)
  To: David Gow, Danilo Krummrich, Alice Ryhl, Daniel Almeida
  Cc: Richard Weinberger, Anton Ivanov, Johannes Berg, driver-core,
	linux-um, rust-for-linux

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;
        |                ^^^^^^^^^^^

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-16 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-15 12:47 Mainline UML Rust stable io.rs unused imports Miguel Ojeda
2026-02-16 10:19 ` Johannes Berg
2026-02-16 10:34 ` Danilo Krummrich
2026-02-16 13:22   ` Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox