Files
qemu/rust/system/src/lib.rs
Paolo Bonzini 1713498c0d rust: move hwcore::sysbus to system crate
This inverts the dependency from hwcore to system, replacing it with
a dependency from system to hwcore.  It also matches how hw/core/sysbus.h
is part of the system-sys crate, and hw/core/sysbus.c is part of system_ss
on the C side.

This fixes a linker error in hwcore integration tests on msys2.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2026-01-27 08:57:52 +01:00

15 lines
258 B
Rust

// SPDX-License-Identifier: GPL-2.0-or-later
pub use system_sys as bindings;
mod memory;
pub use memory::*;
// preserve one-item-per-"use" syntax, it is clearer
// for prelude-like modules
#[rustfmt::skip]
pub mod prelude;
mod sysbus;
pub use sysbus::*;