about summary refs log tree commit diff
path: root/library/std/src/sys_common/mod.rs
diff options
context:
space:
mode:
authorChristiaan Dirkx <christiaan@dirkx.email>2021-04-14 14:03:00 +0200
committerChristiaan Dirkx <christiaan@dirkx.email>2021-04-14 14:03:00 +0200
commitcac0dd63b3514569ce79480b0cdf92335c5cf9f4 (patch)
tree913d6ab98b2a76837ce979a6e232130269f8faf0 /library/std/src/sys_common/mod.rs
parent905d23b65c07a1da4452f9a20b1891fc46533fb7 (diff)
downloadrust-cac0dd63b3514569ce79480b0cdf92335c5cf9f4.tar.gz
rust-cac0dd63b3514569ce79480b0cdf92335c5cf9f4.zip
Update documentation
Diffstat (limited to 'library/std/src/sys_common/mod.rs')
-rw-r--r--library/std/src/sys_common/mod.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/library/std/src/sys_common/mod.rs b/library/std/src/sys_common/mod.rs
index 9700d1f6daa..23a3a0e907d 100644
--- a/library/std/src/sys_common/mod.rs
+++ b/library/std/src/sys_common/mod.rs
@@ -8,9 +8,11 @@
 //! rest of `std` is complex, with dependencies going in all
 //! directions: `std` depending on `sys_common`, `sys_common`
 //! depending on `sys`, and `sys` depending on `sys_common` and `std`.
-//! Ideally `sys_common` would be split into two and the dependencies
-//! between them all would form a dag, facilitating the extraction of
-//! `std::sys` from the standard library.
+//! This is because `sys_common` not only contains platform-independent code,
+//! but also code that is shared between the different platforms in `sys`.
+//! Ideally all that shared code should be moved to `sys::common`,
+//! and the dependencies between `std`, `sys_common` and `sys` all would form a dag.
+//! Progress on this is tracked in #84187.
 
 #![allow(missing_docs)]
 #![allow(missing_debug_implementations)]