no1wudi commented on PR #2487: URL: https://github.com/apache/nuttx-apps/pull/2487#issuecomment-2579119138
@lupyuen I had submitted a fix for this issue: https://github.com/rust-lang/libc/pull/4222 For now, please modify the file, add a force cast locally /home/luppy/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1047:33: ``` #[cfg(not(any( target_os = "android", target_os = "linux", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "aix", target_os = "nto", target_os = "vita", target_os = "hurd", )))] fn name_cstr(&self) -> &CStr { **unsafe { CStr::from_ptr(self.entry.d_name.as_ptr() as *const u8) }** } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org