From 4c3a8f17cc4bb4b68a910e028b50463d73429add Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Fri, 19 Dec 2014 22:19:37 +0100 Subject: [PATCH] load_self() needs to be public --- src/libstd/sys/unix/os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/sys/unix/os.rs b/src/libstd/sys/unix/os.rs index 4c1ec4cc85890..f1663df6a9b5c 100644 --- a/src/libstd/sys/unix/os.rs +++ b/src/libstd/sys/unix/os.rs @@ -199,7 +199,7 @@ pub fn load_self() -> Option> { } #[cfg(target_os = "dragonfly")] -fn load_self() -> Option> { +pub fn load_self() -> Option> { use std::io; match io::fs::readlink(&Path::new("/proc/curproc/file")) {