Skip to content

Tracking issue for customizing CRT linkage #37406

Closed
@alexcrichton

Description

@alexcrichton
Member

Tracking issue for rust-lang/rfcs#1721

  • - Add the crt-static target-feature
    - Update Cargo to pass through target-feature to build scripts - Expose rustc cfg values to build scripts cargo#3243
    - Implement "lazy link attributes" and implement in a gated fashion in liblibc.

Be aware that "lazy link attributes" (#[link(name = "foo", cfg(foo))]) will never be stable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @steveklabnik@alexcrichton@nikomatsakis@tombruijn@binarycrusader

        Issue actions

          Tracking issue for customizing CRT linkage · Issue #37406 · rust-lang/rust