summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-09-16 14:28:21 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-09-16 14:32:32 +0200
commit6f6bb16718ffd4b143762be576b237efbedd38b4 (patch)
treec55c9d40eb3d92ddf79a6caf9db1cdb17b20be47 /library/std/src/lib.rs
parent2b5ddf36fdc784106b3a064d93dd054c32b1f10f (diff)
downloadrust-6f6bb16718ffd4b143762be576b237efbedd38b4.tar.gz
rust-6f6bb16718ffd4b143762be576b237efbedd38b4.zip
Merge sys_common::rt into rt
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 83c6ba0e6ea..6380631cf0d 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -518,8 +518,12 @@ pub mod task {
     pub use alloc::task::*;
 }
 
-// Platform-abstraction modules
+// The runtime entry point and a few unstable public functions used by the
+// compiler
 #[macro_use]
+pub mod rt;
+
+// Platform-abstraction modules
 mod sys_common;
 mod sys;
 
@@ -528,10 +532,6 @@ pub mod alloc;
 // Private support modules
 mod panicking;
 
-// The runtime entry point and a few unstable public functions used by the
-// compiler
-pub mod rt;
-
 #[path = "../../backtrace/src/lib.rs"]
 #[allow(dead_code, unused_attributes)]
 mod backtrace_rs;