ckb_std/syscalls/
mod.rs

1// re-export to maintain compatible with old versions
2pub use crate::error::SysError;
3
4mod internal;
5pub mod traits;
6
7#[cfg(not(any(feature = "native-simulator", feature = "stub-syscalls")))]
8mod native;
9#[cfg(not(any(feature = "native-simulator", feature = "stub-syscalls")))]
10pub use native::*;
11
12#[cfg(feature = "native-simulator")]
13mod simulator;
14#[cfg(feature = "native-simulator")]
15pub use simulator::*;
16
17#[cfg(feature = "stub-syscalls")]
18mod stub;
19#[cfg(feature = "stub-syscalls")]
20pub use stub::*;