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

Cross-compile for aarch64-linux. #96

Merged

Conversation

mutexlox-signal
Copy link
Contributor

This architecture has a different c_char: u8, rather than i8.

Due to rust-lang/rust#113735, this causes a build breakage, since CStr::from_ptr was documented to take an i8 but actually takes a c_char.

@mutexlox-signal mutexlox-signal marked this pull request as ready for review October 2, 2024 14:46
@mutexlox-signal
Copy link
Contributor Author

Note that this build currently fails due to the bug I mentioned, but #97 fixes the build.

This architecture has a different c_char: u8, rather than i8.

Due to rust-lang/rust#113735, this causes a
build breakage, since CStr::from_ptr was documented to take an i8 but
actually takes a c_char.
@mutexlox-signal
Copy link
Contributor Author

rebased, this should pass now.

@kinetiknz
Copy link
Contributor

Other than the new nightly clippy issues, systest doesn't support cross-compilation so we'll need to address that somehow.

@mutexlox-signal
Copy link
Contributor Author

Perhaps we can just build the library and not systest for now, and address that in a future PR?

@kinetiknz
Copy link
Contributor

LGTM, thanks!

@kinetiknz kinetiknz merged commit 90738b2 into mozilla:master Oct 7, 2024
7 checks passed
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