We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried this code:
extern "C" { fn vsnprintf(s: *mut c_char, n: usize, format: *const c_char, ap: VaList) -> c_int; }
Calling the above function with this signature crashes.
Instead, replacing VaList with VaListImpl works.
extern "C" { fn vsnprintf(s: *mut c_char, n: usize, format: *const c_char, ap: VaListImpl) -> c_int; }
The underlying issue seems that VaList should contain 3 u32 fields instead of being single pointer sized.
Details in PR #238
rustc --version --verbose:
rustc --version --verbose
rustc 1.81.0-nightly (02368e90f 2024-09-03) (1.81.0.0) binary: rustc commit-hash: 02368e90f28c216258b47072a65cb6b4991fc0ed commit-date: 2024-09-03 host: x86_64-unknown-linux-gnu release: 1.81.0-nightly LLVM version: 17.0.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried this code:
Calling the above function with this signature crashes.
Instead, replacing VaList with VaListImpl works.
The underlying issue seems that VaList should contain 3 u32 fields instead of being single pointer sized.
Details in PR #238
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: