about summary refs log tree commit diff
path: root/src/libstd/os/solaris/mod.rs
diff options
context:
space:
mode:
authorNikita Baksalyar <nikita.baksalyar@gmail.com>2016-01-28 14:02:31 +0300
committerNikita Baksalyar <nikita.baksalyar@gmail.com>2016-01-31 19:01:30 +0300
commite5da5d59f817eb6a3b78134d49b80c3ed6cb42c9 (patch)
treecf136c8ed9301ce831416c08e3b3d6e3381d31fa /src/libstd/os/solaris/mod.rs
parent6d07b68f5e95debebe3983f8b2d9bfbc2afbe970 (diff)
downloadrust-e5da5d59f817eb6a3b78134d49b80c3ed6cb42c9.tar.gz
rust-e5da5d59f817eb6a3b78134d49b80c3ed6cb42c9.zip
Rename sunos to solaris
Diffstat (limited to 'src/libstd/os/solaris/mod.rs')
-rw-r--r--src/libstd/os/solaris/mod.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libstd/os/solaris/mod.rs b/src/libstd/os/solaris/mod.rs
new file mode 100644
index 00000000000..f265233bd54
--- /dev/null
+++ b/src/libstd/os/solaris/mod.rs
@@ -0,0 +1,21 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+//! Solaris-specific definitions
+
+#![stable(feature = "raw_ext", since = "1.1.0")]
+
+pub mod raw;
+
+#[stable(feature = "raw_ext", since = "1.1.0")]
+pub mod fs {
+    #[stable(feature = "raw_ext", since = "1.1.0")]
+    pub use sys::fs::MetadataExt;
+}