Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constrain safety preconditions of layout_for_ptr functionality #117185

Closed
wants to merge 1 commit into from

Commits on Oct 26, 2023

  1. constrain safety preconditions of layout_for_ptr functionality

    This commit implements the recommendation of [1] to make the
    safety preconditions of the raw pointer layout utilities more
    conservative, to ease the path towards stabilization. In the
    future, we may (if we choose) remove some of these restrictions
    without breaking forwards compatibility.
    
    [1]: rust-lang#69835 (comment)
    jswrenn committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7cbdc9c View commit details
    Browse the repository at this point in the history