Debian Codegraph @

src/qurt/mod.rs

raw
1 //! Interface to QuRT (Qualcomm Real-Time OS) C library
2 //!
3 //! This module re-exports items from the new module structure.
4 //! QuRT was introduced after the `src/new/` module structure was established,
5 //! so all definitions live in `src/new/qurt/` and are re-exported here
6 //! for compatibility with the existing libc structure.
7
8 // Re-export everything from the new qurt module
9 pub use crate::new::qurt::*;
10
11 // Architecture-specific modules (if any are needed in the future)
12 cfg_if! {
13 if #[cfg(target_arch = "hexagon")] {
14 // Currently no hexagon-specific items needed beyond what's in new/qurt
15 } else {
16 // Add other architectures as needed
17 }
18 }