Skip to content

PSP: A few corrections to types and function signatures #1864

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

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

sajattack
Copy link
Contributor

Sorry to bother you again, while implementing std we found some mistakes in our libc-facing structs and function signatures.

Changes:
sceRtc{Set,Get}Time_t incorrectly defined the types as i64 when they should have been u32
sceRtc{Set,Get}Time64_t variants added
sockaddr definition was completely wrong, corrected
in_addr changed from pub struct in_addr(u32) to pub struct in_addr { s_addr: u32 } for better compatibility with std/netc.

@rust-highfive
Copy link

r? @JohnTitor

(rust_highfive has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

Hm, CI failed to generate docs, could you take a look?

@sajattack
Copy link
Contributor Author

I saw that but couldn't make sense of it. Maybe a problem with the enum macro? @MrAwesome

@sajattack sajattack force-pushed the psp-corrections branch 2 times, most recently from 0f73eb7 to c459593 Compare August 18, 2020 22:57
@sajattack
Copy link
Contributor Author

cloudabi target not installed?

@JohnTitor
Copy link
Member

It'll be resolved by #1865. Once I merge it then you rebase, CI should work fine.

@JohnTitor
Copy link
Member

It's merged, could you rebase?

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Looks good now, thanks!

@JohnTitor JohnTitor merged commit c9ff3e9 into rust-lang:master Aug 19, 2020
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