Skip to content

Linking an rlib to a dylib may not include native deps #25185

@alexcrichton

Description

@alexcrichton

An example showing off this behavior in a gist: https://gist.github.com/anonymous/633c83a89bb6bf479573

This is similar to #15460 which was fixed with the whole-archive option to the linker, and it will likely require the same fix when linking rlibs to a dynamic library to solve this problem as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions