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 714bc81 + e3f1e94 commit e9ca834Copy full SHA for e9ca834
library/std/src/sys/pal/unix/os.rs
@@ -447,7 +447,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
447
unsafe {
448
let result = libc::find_path(
449
crate::ptr::null_mut(),
450
- libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
+ libc::B_FIND_PATH_IMAGE_PATH,
451
452
name.as_mut_ptr(),
453
name.len(),
0 commit comments