Skip to content

Tracking Issue for const_exposed_provenance #144538

Closed

Description

@RalfJung

Feature gate: #![feature(const_exposed_provenance)]

This is a tracking issue for calling with_exposed_provenance in const fn.

Public API

// core::ptr
pub const fn with_exposed_provenance<T>(addr: usize) -> *const T;
pub const fn with_exposed_provenance_mut<T>(addr: usize) -> *mut T;

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  • None yet.

Cc @rust-lang/wg-const-eval

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩

Activity

  1. added
    T-libs-api
    C-tracking-issue
    S-tracking-unimplemented
    on Jul 27, 2025
  2. clarfonthey commented on Jul 28, 2025

    @clarfonthey
  3. added a commit that references this issue on Jul 28, 2025
  4. added 4 commits that reference this issue on Jul 29, 2025
  5. added a commit that references this issue on Jul 29, 2025
  6. added
    I-libs-api-nominated
    on Jul 29, 2025
  7. RalfJung commented on Jul 29, 2025

    @RalfJung
    MemberAuthor

    @rust-lang/libs-api this has just landed in nightly, but given that int-to-ptr casts have been allowed in const fn since forever (for better or worse) and we document this as equivalent, there seems to be no reason to wait with stabilizing this.

  8. Amanieu commented on Jul 29, 2025

    @Amanieu
    Member

    This seems fairly straightforward.

    @rfcbot merge

  9. rfcbot commented on Jul 29, 2025

    @rfcbot

    Team member @Amanieu has proposed to merge this. The next step is review by the rest of the tagged team members:

    No concerns currently listed.

    Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

    See this document for info about what commands tagged team members can give me.

  10. removed
    I-libs-api-nominated
    on Jul 29, 2025
  11. 1 remaining item

  12. added
    disposition-merge
    on Jul 29, 2025
  13. added a commit that references this issue on Jul 30, 2025
  14. added
    final-comment-period
    and removed
    proposed-final-comment-period
    on Aug 5, 2025
  15. rfcbot commented on Aug 5, 2025

    @rfcbot

    🔔 This is now entering its final comment period, as per the review above. 🔔

  16. added
    finished-final-comment-period
    to-announce
    and removed
    final-comment-period
    on Aug 15, 2025
  17. rfcbot commented on Aug 15, 2025

    @rfcbot

    The final comment period, with a disposition to merge, as per the review above, is now complete.

    As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed.

    This will be merged soon.

  18. added a commit that references this issue on Aug 15, 2025
  19. added a commit that references this issue on Aug 16, 2025
  20. added a commit that references this issue on Aug 18, 2025
  21. removed
    to-announce
    on Aug 22, 2025
  22. added this to the 1.91.0 milestone on Sep 25, 2025
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

    C-tracking-issueS-tracking-unimplementedT-libs-apidisposition-mergefinished-final-comment-period

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions