Skip to content

bootstrap: Allow configuring the opt-level, not just debug vs release #112678

Closed
@Noratrieb

Description

@Noratrieb

It would be nice if we could speed up stage1 library builds by building it with less opts and no debuginfo.

@jyn514 had the idea to control this with something like rust.stage1.opt-level

Metadata

Metadata

Assignees

Labels

C-feature-requestCategory: A feature request, i.e: not implemented / a PR.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions