Skip to content

Expose target_abi = "v8plus" on sparc-unknown-linux-gnu #1028

Description

@RalfJung

Proposal

(Disclaimer: I am not a SPARC expert, this is my summary based om what I learned in rust-lang/rust#157083 and rust-lang/rust#160562.)

32bit SPARC has (at least) two different ABIs: V8 (used by default by LLVM) and V8+. In such a situation we usually distinguish the ABI by setting target_abi (so the user can cfg on it should that be needed). So I propose we add a new possible value to target_abi: "v8plus" to indicate V8+. We could possibly also add "v8" for the standard V8 ABI, if we want to not leave this as an implicit default.

Cc @taiki-e @jonathanpallant

Mentors or Reviewers

If you have a reviewer or mentor in mind for this work, mention them here. You can put your own name here if you are planning to mentor the work.

Process

The main points of the Major Change Process are as follows:

  • File an issue describing the proposal.
  • 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.
  • 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.

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

    T-compilerAdd this label so rfcbot knows to poll the compiler teammajor-changeA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions