Skip to content

incremental = true as the default in config.toml? #65060

Description

@anp

I'm curious whether it would make sense for incremental = true to be the default for rustbuild in the absence of another setting.

Per @eddyb on IRC:

07:53 <eddyb> it used to be bad for a bit until a few months ago (that is, it would produce a very slow compiler) but nowadays we should just turn it on by default lol
07:53 <eddyb> (feel free to open an issue about it)
07:53 <eddyb> it would need to not be turned on for {stable,beta,nightly} builds (as opposed to regular dev builds), but idk how that's handled (I assume it's still possible to make that distinction)

Searching around for incremental-related compiler perf issues it does seem to me that most of them are closed.

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

    A-incr-compArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions