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

scx_utils: use c_char to prevent build failures #137

Merged
merged 1 commit into from
Feb 11, 2024
Merged

Conversation

arighi
Copy link
Collaborator

@arighi arighi commented Feb 11, 2024

Use c_char to convert C strings, that is more portable across different architectures.

This prevents a build failure on arm64 and ppc64el.

Fixes: d57a23f ("rust/scx_utils: Add user_exit_info support")

Use c_char to convert C strings, that is more portable across different
architectures.

This prevents a build failure on arm64 and ppc64el.

Fixes: d57a23f ("rust/scx_utils: Add user_exit_info support")
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
@Byte-Lab Byte-Lab merged commit 37dde8a into main Feb 11, 2024
1 check failed
@Byte-Lab Byte-Lab deleted the scx-utils-fix-build branch March 14, 2024 18:20
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.

None yet

2 participants