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
On Windows, in order to link to a .dll you actually link to an import library instead, either .a or .lib. When creating a .dll with rustc --crate-type=dylib however, no such import library is created, thus making it difficult to link to from C/C++.
If an import library is created, the metadata could be moved from the .dll to the library, thus solving #23366.
The text was updated successfully, but these errors were encountered:
On Windows, in order to link to a
.dll
you actually link to an import library instead, either.a
or.lib
. When creating a.dll
withrustc --crate-type=dylib
however, no such import library is created, thus making it difficult to link to from C/C++.If an import library is created, the metadata could be moved from the
.dll
to the library, thus solving #23366.The text was updated successfully, but these errors were encountered: