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
Note that for MSVC targets the compiler now places dllexport on all exported functions from a library. It does not, however deal with dllimport at all, and in general the situation is unfortunately a bit of a mess.
I've written up a comment about this, but I'm going to use this bug to track a more proper implementation of using dllimport and dllexport, many of the concerns of which are outlined in that bug.
Issue by kvanberendonck
Monday Jun 17, 2013 at 06:52 GMT
For earlier discussion, see rust-lang/rust#7196
This issue was labelled with: A-codegen, A-windows, E-easy, P-low in the Rust repository
It currently does not seem to be possible to export a function from a DLL on Windows. It's not done as one would expect when building with --lib.
The text was updated successfully, but these errors were encountered: