-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify pointer type from i8 to c_char #1792
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1792 +/- ##
=======================================
Coverage 68.63% 68.63%
=======================================
Files 121 121
Lines 13325 13325
=======================================
Hits 9146 9146
Misses 4179 4179 |
maybe fixed :) |
Now I realized that #1579 is related. |
Hey @kemkemG0 changes looks good. Can you please rebase to get rid of the merge commits? The integration test is failing because of a clippy lint. Would you like to fix that as well or should we do it separately? |
Hi, @Furisto thanks for your review. I will rebase to get rid of the merge commits. However, I don't see why the clippy lint fails as I didn't modify the part clippy is warning. Should I fix that part as it suggests? I apologize if I misunderstood the point ;) |
Signed-off-by: kemkemG0 <[email protected]>
Though some logs are here, I see only one commit now. Is it fixed? |
Now, the test has passed somehow :) |
Thanks @kemkemG0 |
[Environment Info]
Description
When running the command:
I encountered the following error:
I found a similar error in another repository, which can be found here: remacs/remacs#1393 (comment)
My understanding is that the pointer type on ARM and x86 is defined differently. Following the advice on the issue, I used the c_char type instead of i8.
I also noticed that while the issue uses libc::c_char, this repository uses ::std::os::raw::c_char in some other parts. After reading this thread: https://users.rust-lang.org/t/libc-c-char-vs-std-os-c-char/21198, I decided to use ::std::os::raw::*.
Therefore, I used ::std::os::raw::c_char in my modifications.