load_self() needs to be public
This commit is contained in:
parent
25c1bfe175
commit
4c3a8f17cc
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ pub fn load_self() -> Option<Vec<u8>> {
|
|||
}
|
||||
|
||||
#[cfg(target_os = "dragonfly")]
|
||||
fn load_self() -> Option<Vec<u8>> {
|
||||
pub fn load_self() -> Option<Vec<u8>> {
|
||||
use std::io;
|
||||
|
||||
match io::fs::readlink(&Path::new("/proc/curproc/file")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue