Skip to content

Static libs are doubling up on new lang item definitions #14355

Closed
@bharrisau

Description

@bharrisau

Since #14293 I have added the dummy lang items for the weak linking in my projects (or I am unable to build static libs). Now static libs are defining rust_eh_personality and rust_stack_exhausted which is causing linker errors due to duplicate definitions.

Note: This is only for static libs, rlibs are fine. See travis log here https://travis-ci.org/bharrisau/zinc/jobs/25774156

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions