Skip to content

Commit e9ca834

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

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)