Skip to content

Implement standard traits on C-unwind ABI function pointers #100

Closed
@lopopolo

Description

@lopopolo

Proposal

Implement the standard set of core traits on C-unwind ABI function pointers:

Problem statement

I would like to stabilize RFC rust-lang/rfcs#2945 which has tracking Issue rust-lang/rust#74990. Implementing common traits like fmt::Debug on these function pointers is blocking stabilization of the c_unwind feature.

Motivation, use-cases

The lack of common traits like fmt::Debug on C-unwind ABI function pointers prevents them from being used with common tools like bindgen.

Solution sketches

rust-lang/rust#101263 has been filed and signed off on by the compiler team.

Links and related work

What happens now?

This issue is part of the libs-api team API change proposal process. Once this issue is filed the libs-api team will review open proposals in its weekly meeting. You should receive feedback within a week or two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ACP-acceptedAPI Change Proposal is accepted (seconded with no objections)T-libs-apiapi-change-proposalA proposal to add or alter unstable APIs in the standard libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions