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.
B_FIND_PATH_IMAGE_PATH
1 parent 41f2b6b commit e3f1e94Copy full SHA for e3f1e94
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