Skip to content

Commit 4c3a8f1

Browse files
committed
load_self() needs to be public
1 parent 25c1bfe commit 4c3a8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/os.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ pub fn load_self() -> Option<Vec<u8>> {
199199
}
200200

201201
#[cfg(target_os = "dragonfly")]
202-
fn load_self() -> Option<Vec<u8>> {
202+
pub fn load_self() -> Option<Vec<u8>> {
203203
use std::io;
204204

205205
match io::fs::readlink(&Path::new("/proc/curproc/file")) {

0 commit comments

Comments
 (0)