Replace rustc_target::specTarget::arch string with enum (original) (raw)

Proposal

I propose to replace the stringly-typed Target::arch: Cow<'static, str> with a new Architecture enum. 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:

You can read more about Major Change Proposals on forge.