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
struct Pref { static bool sX; };
$ bindgen test.hpp -- --target=i686-pc-win32
extern "C" { #[link_name = "sX@Pref@@2_NA"] pub static mut Pref_sX: bool; }
extern "C" { #[link_name = "?sX@Pref@@2_NA"] pub static mut Pref_sX: bool; }
The text was updated successfully, but these errors were encountered:
The prefix ? shouldn't be removed in this case.
?
Sorry, something went wrong.
I have idea about how to fix it.
Auto merge of #822 - upsuper:mangling-fix, r=emilio
63de24e
Stop Rust from prepending underscore before '?' for win32 This fixes #819. It also includes tests for different platforms which are not supposed to be affected, so that we won't regress them in the future either. The prefix `\x01` char is necessary for Win32. See also [msvc32_symbolify function in regen_atoms.py](https://github.com/servo/servo/blob/1b6d29e31996c87218352b825aa93e01909a6a24/components/style/gecko/regen_atoms.py#L35-L38).
upsuper
Successfully merging a pull request may close this issue.
Input C/C++ Header
Bindgen Invocation
Actual Results
Expected Results
The text was updated successfully, but these errors were encountered: