We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe55364 + e3f1e94 commit 1d0aeeeCopy full SHA for 1d0aeee
library/std/src/sys/pal/unix/os.rs
@@ -469,7 +469,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
469
unsafe {
470
let result = libc::find_path(
471
crate::ptr::null_mut(),
472
- libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
+ libc::B_FIND_PATH_IMAGE_PATH,
473
474
name.as_mut_ptr(),
475
name.len(),
0 commit comments