You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently accept both extern "C" and extern "C++" and treat them the same.
However with #4 we may end up wanting to translate the two languages somewhat differently, in particular mapping Rust references to pointers in C and references in C++.
We can't make this change in the near term because until recently Rustfmt would silently rewrite extern "C++" into extern "Rust" (rust-lang/rustfmt#4086). 🤦🤦♀️🤦♂️
The text was updated successfully, but these errors were encountered:
We currently accept both
extern "C"
andextern "C++"
and treat them the same.However with #4 we may end up wanting to translate the two languages somewhat differently, in particular mapping Rust references to pointers in C and references in C++.
We can't make this change in the near term because until recently Rustfmt would silently rewrite
extern "C++"
intoextern "Rust"
(rust-lang/rustfmt#4086). 🤦🤦♀️🤦♂️The text was updated successfully, but these errors were encountered: