-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Automatic linking of extern mods is not effective #3502
Comments
It's a shame that our |
Maybe |
Yeah, I think |
There have been some additional wrinkles lately. rustc now tries to propagate link args to downsteam crates, I believe in quite an ad-hoc way, filtering arguments it thinks won't work correctly. |
Link names are no longer derived automatically now that there are no |
Closing. |
…alfJung windows: basic support for GetUserProfileDirectoryW Fixes rust-lang/miri#3499
I believe that I override the automatic linkage more often than not, sometimes even inserting bogus extern mods just to have a place to stuff linker arguments
Perhaps we can remove the automatic linking behavior and replace it with a richer set of linker attributes that can be specified either on extern mods or the crate as appropriate. There are quite a lot of bindings out there now, so we can look through them for use cases.
The text was updated successfully, but these errors were encountered: