Skip to content

Removing the unstable ptx linker flavor #990

@kjetilkjeka

Description

@kjetilkjeka

Proposal

Since the introduction of the llvm-bitcode-linker, it has become the recommended linker for nvptx64-nvidia-cuda in the official Rust documentation, and was later made the default linker.

While llvm-bitcode-linker is now the default and recommended choice for the nvptx64-nvidia-cuda target, there still exists an unstable PTX linker flavor that was used with rust-ptx-linker. Since the upstream rust-ptx-linker project has been broken since 2022 and is effectively unmaintained and unusable, it can be assumed that there are close to no users of this linker flavor.

Given that:

  • llvm-bitcode-linker is the recommended solution and is actively maintained,
  • rust-ptx-linker is no longer functional or maintained,
  • and there are close to no rust-ptx-linker users,

I propose removing the unstable PTX linker flavor.

Note that this provides little direct benefit to Rust users and is primarily motivated by cleaning up obsolete infrastructure that no longer provides value.

Mentors or Reviewers

The actual engineering work is trivial, and I will do it. I have not asked yet, but I hope @ZuseZ4 will be available for review.

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 teammajor-changeA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was accepted

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions