Skip to content

Extend the x.py policy for TODO and FIXME to other in-tree projects #963

@lcnr

Description

@lcnr

Proposal

It is not allowed to merge changes referencing TODO, meaning that while working on a change, one can use TODO for things which still have to be fixed before merging the PR. It's nice that this means one can simply grep for TODO in the code base or at least in ./compiler.

There are currently the following uses of TODO:

I would like us to change the uses in rustc_codegen_cranelift and rustc_codegen_gcc to FIXME and ideally add a CI check to these projects as well. cc @bjorn3 @antoyo I think.

There are a lot more uses in /library and /src. While I would like to do that change there as well, I am not proposing this as part of this MCP.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerAdd this label so rfcbot knows to poll the compiler teamfinal-comment-periodThe FCP has started, most (if not all) team members are in agreementmajor-changeA proposal to make a major change to rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions