diff --git a/src/libstd/path.rs b/src/libstd/path.rs index af2565ec67a36..5d932ca54b549 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -253,7 +253,7 @@ pub trait GenericPath : Clone + Eq + ToStr { #[cfg(target_os = "linux")] #[cfg(target_os = "android")] -mod stat { +pub mod stat { #[cfg(target_arch = "x86")] pub mod arch { use libc; @@ -373,7 +373,7 @@ mod stat { } #[cfg(target_os = "freebsd")] -mod stat { +pub mod stat { #[cfg(target_arch = "x86_64")] pub mod arch { use libc; @@ -408,7 +408,7 @@ mod stat { } #[cfg(target_os = "macos")] -mod stat { +pub mod stat { pub mod arch { use libc; @@ -442,7 +442,7 @@ mod stat { } #[cfg(target_os = "win32")] -mod stat { +pub mod stat { pub mod arch { use libc; pub fn default_stat() -> libc::stat {