Skip to content

Changing profile.*.lto in Cargo.toml shouldn't rebuild everything #3244

Closed as not planned
@japaric

Description

@japaric

Neither should adding, modifying or removing linker flags via -C link-arg or -C link-args in .cargo/config (build.rustflags or target.*.rustflags).

These only affect the compilation of the top crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linker issues, dylib, cdylib, shared libraries, soA-ltoArea: link-time optimizationA-rebuild-detectionArea: rebuild detection and fingerprintingC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-buildS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions