Skip to content

devices: the trait bound DummyIrqChip: GICDevice/AIADevice is not satisfied #439

@peppergrayxyz

Description

@peppergrayxyz

Build fails on arch64 (#429):

Compiling devices v0.1.0
error[E0277]: the trait bound `DummyIrqChip: GICDevice` is not satisfied
   --> src/devices/src/legacy/irqchip.rs:171:23
    |
171 |     impl IrqChipT for DummyIrqChip {
    |                       ^^^^^^^^^^^^ the trait `GICDevice` is not implemented for `DummyIrqChip`
    |
    = help: the following other types implement trait `GICDevice`:
              KvmGicV2
              KvmGicV3
              irqchip::IrqChipDevice
note: required by a bound in `irqchip::IrqChipT`
   --> src/devices/src/legacy/irqchip.rs:127:33
    |
127 | pub trait IrqChipT: BusDevice + GICDevice {
    |                                 ^^^^^^^^^ required by this bound in `IrqChipT`

and RISC-V:

Compiling devices v0.1.0
error[E0277]: the trait bound `DummyIrqChip: AIADevice` is not satisfied
   --> src/devices/src/legacy/irqchip.rs:191:23
    |
191 |     impl IrqChipT for DummyIrqChip {
    |                       ^^^^^^^^^^^^ the trait `AIADevice` is not implemented for `DummyIrqChip`
    |
    = help: the following other types implement trait `AIADevice`:
              KvmAia
              irqchip::IrqChipDevice
note: required by a bound in `irqchip::IrqChipT`
   --> src/devices/src/legacy/irqchip.rs:138:33
    |
138 | pub trait IrqChipT: BusDevice + AIADevice {
    |                                 ^^^^^^^^^ required by this bound in `IrqChipT`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions