1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: MIT
//

use sel4_config::sel4_cfg_if;

sel4_cfg_if! {
    if #[sel4_cfg(ARCH_AARCH64)] {
        #[path = "aarch64/mod.rs"]
        mod imp;
    } else if #[sel4_cfg(ARCH_AARCH32)] {
        #[path = "aarch32/mod.rs"]
        mod imp;
    }
}

// HACK for rustfmt
#[cfg(any())]
mod aarch32;
#[cfg(any())]
mod aarch64;

pub(crate) use imp::*;