-
Notifications
You must be signed in to change notification settings - Fork 14k
Do not use dlltool to create DLL Import Libraries for Windows #147274
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
base: main
Are you sure you want to change the base?
Conversation
|
Some changes occurred in compiler/rustc_codegen_ssa These commits modify compiler targets. |
|
r? @davidtwco rustbot has assigned @davidtwco. Use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand it, this will break support for binutils < 2.40.
| default_linker_libraries: bool = (false, parse_bool, [UNTRACKED], | ||
| "allow the linker to link its default libraries (default: no)"), | ||
| dlltool: Option<PathBuf> = (None, parse_opt_pathbuf, [UNTRACKED], | ||
| "import library generation tool (ignored except when targeting windows-gnu)"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a stable option, so it can't be removed, only deprecated and ignored.
Yes. This change was suggested in the discussion on the bug report, but landing is uncertain and complicated. I wanted to send a change anyway as a concrete point of discussion. |
|
r? @wesleywiser |
|
|
|
☔ The latest upstream changes (presumably #147645) made this pull request unmergeable. Please resolve the merge conflicts. |
Motivation and context: #147229