-
-
Notifications
You must be signed in to change notification settings - Fork 15k
statics in closures returned using impl Trait: undefined symbols #40839
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
I have Code like the following:
When I'm calling
Docker::newfrom another crate I get the following linker error:Related symbols from the linked rlib:
And from the object file in question:
I hope this is enough for someone to get an idea, where the problem might be, other wise I can see about publishing a smaller testcase.
cc @michaelwoerister I guess this is related to the collector, which I believe is your area of expertise.