about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-11-14 10:04:55 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-11-18 21:45:58 -0800
commit508b7b996e5d557ec1c49e1d11563ecf4fc9d287 (patch)
tree56afc4b9b834d4496c175a3ab701823dbba72e15 /src/libstd/rt
parente8bf0788027932a0b547819cc9edd13c40426e36 (diff)
downloadrust-508b7b996e5d557ec1c49e1d11563ecf4fc9d287.tar.gz
rust-508b7b996e5d557ec1c49e1d11563ecf4fc9d287.zip
Move runtime files to C instead of C++
Explicitly have the only C++ portion of the runtime be one file with exception
handling. All other runtime files must now live in C and be fully defined in C.
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/args.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rt/args.rs b/src/libstd/rt/args.rs
index b9238224d6e..0d32d2d7dba 100644
--- a/src/libstd/rt/args.rs
+++ b/src/libstd/rt/args.rs
@@ -63,6 +63,7 @@ pub unsafe fn init(argc: int, argv: **u8) { realargs::init(argc, argv) }
 #[cfg(target_os = "android")]
 #[cfg(target_os = "freebsd")]
 mod imp {
+    use cast;
     use libc;
     use option::{Option, Some, None};
     use iter::Iterator;