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

Fix: make UUID retrieval more portable #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Sep 29, 2022

The CUuuid byte type is std::os::raw::c_char and it depends on the platform, whether it is i8 or u8 in Rust. With just passing in 0 without a type identifier, both cases are handled. This makes the code more portable.

The `CUuuid` byte type is `std::os::raw::c_char` and it depends on
the platform, whether it is `i8` or `u8` in Rust. With just passing
in `0` without a type identifier, both cases are handled. This makes
the code more portable.
@vmx
Copy link
Contributor Author

vmx commented Nov 7, 2022

A friendly ping if this PR could perhaps get a review (and ideally a release :) This would enable me to get off a fork and use the upstream version.

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.

1 participant