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 build on arm64 linux. #97

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

mutexlox-signal
Copy link
Contributor

On arm64 linux, c_char is u8. CStr::from_ptr is documented to take an i8, but this is not accurate (see
rust-lang/rust#113735); instead, it takes c_char, which is sometimes but not always the same. One time it is different is on aarch64 Linux, so without this commit, cubeb-rs fails to build there.

On arm64 linux, c_char is u8. CStr::from_ptr is documented to take an
i8, but this is not accurate (see
rust-lang/rust#113735); instead, it takes
c_char, which is sometimes but not always the same. One time it is
different is on aarch64 Linux, so without this commit, cubeb-rs fails to
build there.
@mutexlox-signal
Copy link
Contributor Author

@mutexlox-signal
Copy link
Contributor Author

gentle ping -- @padenot , if you're around could you please take a look when you get a chance?

@padenot padenot merged commit d9be0bf into mozilla:master Oct 7, 2024
6 checks passed
@mutexlox-signal mutexlox-signal deleted the mutexlox/build-fix-i8 branch October 16, 2024 21:40
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.

2 participants