Skip to content
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

Add c_char definition for loongarch64 #127

Merged
merged 3 commits into from
Aug 16, 2024
Merged

Add c_char definition for loongarch64 #127

merged 3 commits into from
Aug 16, 2024

Conversation

k0tran
Copy link
Contributor

@k0tran k0tran commented Aug 6, 2024

This PR sets c_char value to signed for loongarch64

For all base ABI types of LoongArch, the char datatype is signed by default.

https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html

Copy link
Contributor

@heiher heiher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@sunfishcode
Copy link
Owner

It looks like this is missing a comma after the target_arch = "loongarch64".

@k0tran
Copy link
Contributor Author

k0tran commented Aug 15, 2024

Sorry, fixed it. I also wonder why diff is so long. Hope it's fine still

@sunfishcode
Copy link
Owner

The CI failure is due to unrelated issues that are now fixed on main. Would you mind rebasing on top of #128?

@k0tran
Copy link
Contributor Author

k0tran commented Aug 16, 2024

If it's critical I can try rebasing, I'm just used to merging

@sunfishcode
Copy link
Owner

Thanks!

@sunfishcode sunfishcode merged commit 2e4cfcd into sunfishcode:main Aug 16, 2024
4 of 5 checks passed
@sunfishcode
Copy link
Owner

This is now released in linux-raw-sys 0.6.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants