-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Duplicate DllMain symbols cause linkage failure using Rust 1.61 #97318
Comments
So, to be clear, it fails on 1.60? Or did you not test that version? |
That's my bad, sorry. It also fails with 1.60 with the same error. We did not try using 1.60 (upgrading from 1.59 to 1.61) but I can reproduce the problem with it too. I'll update the issue,
|
I've been trying to narrow this one down more. I haven't had any success with
|
|
@complexspaces: since the problem seems to be fixed now and it's hard to pin down in the absence of an MCVE, would you be okay with this being closed? |
@inquisitivecrystal Yes, I'm fine closing this one since we were unable to extract a minimal reproduction from our codebase. |
As of Rust 1.60+, my work codebase no longer compiles correctly when trying to build a workspace package.
I believe this may be related to #95604.Code
I do not yet have a reproduction example as the crate that fails to build is heavy on internal dependencies.
I expected to see this happen: The crate would build correctly.
Instead, this happened: The linker fails with a duplicate
DllMain
symbol issue.Version it worked on
It most recently worked on: 1.59
Version with regression
Link Error
Error
The text was updated successfully, but these errors were encountered: