about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-14 13:40:34 -0800
committerAaron Turon <aturon@mozilla.com>2014-11-20 17:19:13 -0800
commitad022b1a1bcdb8d2e6d1f200f5824f16de2c2193 (patch)
tree338f3174030da4f17c484a27536f75f6ee97786b /src/libstd/rt
parent770378a313a573776b16237a46b75bafa49072c1 (diff)
downloadrust-ad022b1a1bcdb8d2e6d1f200f5824f16de2c2193.tar.gz
rust-ad022b1a1bcdb8d2e6d1f200f5824f16de2c2193.zip
Remove Runtime trait
This commit removes most of the remaining runtime infrastructure related
to the green/native split. In particular, it removes the `Runtime` trait
and instead inlines the native implementation.

Closes #17325

[breaking-change]
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs
index b97e80d0dc1..8701fadf65c 100644
--- a/src/libstd/rt/mod.rs
+++ b/src/libstd/rt/mod.rs
@@ -54,6 +54,8 @@ Several modules in `core` are clients of `rt`:
 // FIXME: this should not be here.
 #![allow(missing_docs)]
 
+#![allow(dead_code)]
+
 use failure;
 use rustrt;