| 1 | // This module contains code that is shared between all platforms, mostly utility or fallback code. |
| 2 | // This explicitly does not include code that is shared between only a few platforms, |
| 3 | // such as when reusing an implementation from `unix` or `unsupported`. |
| 4 | // In those cases the desired code should be included directly using the #[path] attribute, |
| 5 | // not moved to this module. |
| 6 | // |
| 7 | // Currently `sys_common` contains a lot of code that should live in this module, |
| 8 | // ideally `sys_common` would only contain platform-independent abstractions on top of `sys`. |
| 9 | // Progress on this is tracked in #84187. |
| 10 | |
| 11 | #![allow (dead_code)] |
| 12 | |
| 13 | pub mod small_c_string; |
| 14 | |
| 15 | #[cfg (test)] |
| 16 | mod tests; |
| 17 | |