Skip to content

cmd/dist: don't rebuild the toolchain and stdlib with a clean cache in make.bash #80773

Description

@matloob

cc @rsc @dmitshur

After make.bash produces toolchain3, which is the converged, fixed point toolchain, it rebuilds the exact same toolchain (with cgo off) and the stdlib (with cgo on) in the user's cache to prime the cache for the next set of builds. This is often wasted unnecessary work. Instead of doing that, let the builds happen when they're needed. We should still check for staleness to verify that toolchain does actually converge.

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

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions