Skip to content

rustc-1.83 tarball contains a GCC checkout #135606

@maurer

Description

@maurer

While I understand the motivation for putting a GCC in dev environments / CI (it's good to keep the GCC backend tested), I think it might be overkill to ship it in the source tarball. This has a number of downsides:

  1. It puts GPL source code into the rustc release tarball.
  2. It's a significant increase in the size of the tarball (part of the reason we noticed was that one of the ingestion systems was unhappy with the file count).
  3. To the best of my knowledge, the GCC backend is not stable - providing the ability to build it out of the stable tarball without an additional library doesn't seem necessary.
  4. I suspect that most people who want the GCC backend (e.g. distros, specialized environments) will want to provide their own GCC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-gccThings relevant to the [future] GCC backendC-discussionCategory: Discussion or questions that doesn't represent real issues.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-releaseRelevant to the release subteam, 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