-
Notifications
You must be signed in to change notification settings - Fork 694
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
AArch64 Linux va_list not FFI-safe #2845
Comments
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 17, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 17, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 17, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 17, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 17, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 17, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/stratisd
that referenced
this issue
Oct 18, 2024
rust-lang/rust-bindgen#2845 Signed-off-by: mulhern <[email protected]> (cherry picked from commit fb78ef7)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello folks,
We noticed that for AArch64 Linux, va_list was being translated to a type that was not FFI-safe.
Whilst we aren't aware of any cases where va_list would be used by Rust, this does result in warnings appearing for some projects when built for Arm and not other architectures. Rather than try to block these functions from being translated in various crates, I thought it best to raise something here as a general solution may be better.
I suspect there is some subtle interaction with clang and the builtin va_list type for AArch64 Linux.
Input C/C++ Header
Bindgen Invocation
Actual Results
and/or
Expected Results
We don't expect the warning to appear. Maybe something like this would be better?
The text was updated successfully, but these errors were encountered: