• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 alloc;
14 pub mod small_c_string;
15 pub mod thread_local;
16 
17 #[cfg(test)]
18 mod tests;
19