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

Implement RFC 2580: Pointer metadata & VTable #81172

Merged
merged 12 commits into from
Feb 18, 2021

Commits on Feb 15, 2021

  1. Configuration menu
    Copy the full SHA
    696b239 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1e15fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ab83b9 View commit details
    Browse the repository at this point in the history
  4. Add ptr::from_raw_parts, ptr::from_raw_parts_mut, and `NonNull::f…

    …rom_raw_parts`
    
    The use of module-level functions instead of associated functions
    on `<*const T>` or `<*mut T>` follows the precedent of
    `ptr::slice_from_raw_parts` and `ptr::slice_from_raw_parts_mut`.
    SimonSapin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    937d580 View commit details
    Browse the repository at this point in the history
  5. Add to_raw_parts methods to *const, *mut, and NonNull

    These are not named `into_` because they do not consume their receiver
    since raw pointers are `Copy`.
    SimonSapin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    c0e3a1b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    787f4de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3ea7f15 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    642486c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    21ceebf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5ade3fe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cf000f0 View commit details
    Browse the repository at this point in the history
  12. Use local path for already-imported function

    This module has `use super::*;` at the top.
    
    Co-authored-by: Oli Scherer <[email protected]>
    SimonSapin and oli-obk committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    cac71bf View commit details
    Browse the repository at this point in the history