Skip to content
New issue

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

Add support for DllExport on Windows #826

Closed
steveklabnik opened this issue Feb 11, 2015 · 2 comments
Closed

Add support for DllExport on Windows #826

steveklabnik opened this issue Feb 11, 2015 · 2 comments
Labels
T-dev-tools Relevant to the development tools team, which will review and decide on the RFC.

Comments

@steveklabnik
Copy link
Member

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.

@retep998 retep998 mentioned this issue Apr 17, 2015
47 tasks
@alexcrichton alexcrichton added the T-dev-tools Relevant to the development tools team, which will review and decide on the RFC. label May 18, 2015
@alexcrichton
Copy link
Member

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.

@alexcrichton
Copy link
Member

er actually, I'm going to move this back to rust-lang/rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-dev-tools Relevant to the development tools team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

2 participants