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

Add flag to check for uninitialized numbers #1904

Merged
merged 5 commits into from
Nov 10, 2021
Merged

Commits on Nov 10, 2021

  1. Update Miri for detecting uninitialized numbers

    This commit adds a `-Zmiri-check-number-initialization` flag to check
    that integers and floats are initialized.
    
    This commit also changes some shims to write at type `MaybeUninit<...>`
    in order to prevent spurious errors from the uninit check.
    camelid committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    e6a9b2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1659ef4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3be6b4 View commit details
    Browse the repository at this point in the history
  4. Add test for uninit raw ptrs

    camelid committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    1cca2ac View commit details
    Browse the repository at this point in the history
  5. rustup

    So that we get rust-lang/rust#88670.
    camelid committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    6dd1082 View commit details
    Browse the repository at this point in the history