# Proposal I propose to replace the stringly-typed `Target::arch: Cow<'static, str>` with a new `Architecture` enum. The work is already [done](https://github.com/rust-lang/rust/pull/147645). The change is mechanical but large, and this MCP is filed per @nnethercote's [request](https://github.com/rust-lang/rust/pull/147645#issuecomment-3399188828). # Mentors or Reviewers - @nnethercote (reviewer). # Process The main points of the [Major Change Process][MCP] are as follows: * [x] File an issue describing the proposal. * [x] A compiler team member who is knowledgeable in the area can **second** by writing `@rustbot second` or kickoff a team FCP with `@rfcbot fcp $RESOLUTION`. * Refer to [Proposals, Approvals and Stabilization](https://forge.rust-lang.org/compiler/proposals-and-stabilization.html) docs for when a second is sufficient, or when a full team FCP is required. * [x] Once an MCP is seconded, the **Final Comment Period** begins. * Final Comment Period lasts for 10 days after all outstanding concerns are solved. * Outstanding concerns will block the Final Comment Period from finishing. Once all concerns are resolved, the 10 day countdown is restarted. * If no concerns are raised after 10 days since the resolution of the last outstanding concern, the MCP is considered **approved**. You can read [more about Major Change Proposals on forge][MCP]. [MCP]: https://forge.rust-lang.org/compiler/proposals-and-stabilization.html#how-do-i-submit-an-mcp <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_CONCERN-ISSUE_START --> > [!NOTE] > # Concerns (0 active) > > - ~~[rust-gpu-use-case](https://github.com/rust-lang/compiler-team/issues/926#issuecomment-3403414340)~~ resolved in [this comment](https://github.com/rust-lang/compiler-team/issues/926#issuecomment-3430459774) > > *Managed by `@rustbot`—see [help](https://forge.rust-lang.org/triagebot/concern.html) for details.* <!-- TRIAGEBOT_CONCERN-ISSUE_END --> <!-- TRIAGEBOT_END -->
Proposal
I propose to replace the stringly-typed
Target::arch: Cow<'static, str>with a newArchitectureenum. The work is already done.The change is mechanical but large, and this MCP is filed per @nnethercote's request.
Mentors or Reviewers
Process
The main points of the Major Change Process are as follows:
@rustbot secondor kickoff a team FCP with@rfcbot fcp $RESOLUTION.You can read more about Major Change Proposals on forge.
Note
Concerns (0 active)
rust-gpu-use-caseresolved in this commentManaged by
@rustbot—see help for details.