ax-hal 0.5.18

ArceOS hardware abstraction layer, provides unified APIs for platform-specific operations
1
2
3
4
5
6
7
8
#[cfg(all(not(test), not(feature = "host-test"), not(feature = "myplat")))]
include!(concat!(env!("OUT_DIR"), "/selected_platform.rs"));

#[cfg(any(test, feature = "host-test"))]
#[path = "dummy.rs"]
mod dummy;

pub mod selected {}