Skip to content

Commit a1941a0

Browse files
authored
Rollup merge of #145991 - GrigorenkoPV:haiku, r=tgross35
std: haiku: fix `B_FIND_PATH_IMAGE_PATH` Fixes #145952, which was caused by rust-lang/libc#4575 `````@rustbot````` label T-libs O-haiku
2 parents 9eb9d7d + e3f1e94 commit a1941a0

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/unix/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
447447
unsafe {
448448
let result = libc::find_path(
449449
crate::ptr::null_mut(),
450-
libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
450+
libc::B_FIND_PATH_IMAGE_PATH,
451451
crate::ptr::null_mut(),
452452
name.as_mut_ptr(),
453453
name.len(),

0 commit comments

Comments
 (0)