Skip to content

Commit 1d0aeee

Browse files
authored
Unrolled build for #145991
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 fe55364 + e3f1e94 commit 1d0aeee

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
@@ -469,7 +469,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
469469
unsafe {
470470
let result = libc::find_path(
471471
crate::ptr::null_mut(),
472-
libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
472+
libc::B_FIND_PATH_IMAGE_PATH,
473473
crate::ptr::null_mut(),
474474
name.as_mut_ptr(),
475475
name.len(),

0 commit comments

Comments
 (0)