Skip to content

Disable incremental for std crates #44

Closed
rust-lang/cargo
#8177
@ehuss

Description

@ehuss

Incremental is not needed for std crates, so it should probably not be used.

I'm torn on exactly how to implement. Some options:

  • Pass a flag to Profiles::get_profile
  • Add an is_std flag to Unit, and check that when generating flags. This flag may be needed for other reasons, and would end up being the simplest change, but a bit of a hack.
  • Mutate the std unit profiles after they have all been created (very hacky).

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementationImplementation exploration and tracking issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions