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

Miri subtree update #122952

Merged
merged 30 commits into from
Mar 23, 2024
Merged

Miri subtree update #122952

merged 30 commits into from
Mar 23, 2024

Commits on Mar 17, 2024

  1. Preparing for merge from rustc

    The Miri Cronjob Bot committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    96674fc View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Cronjob Bot committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    0dff16a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    caa57dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4cb2ee View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#3386 - RalfJung:ci, r=RalfJung

    fix Zulip topic for PR-creation message
    bors committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    dd5b4f5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a6f362f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    c99c314 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#3388 - RalfJung:exposed, r=RalfJung

    add exposed-provenance example where we miss UB
    
    Example by `@saethlin`
    bors committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    d7864d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    311024c View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#3387 - RalfJung:bench, r=RalfJung

    make 'invalidate' benchmark shorter
    
    This is currently by far the slowest benchmark in our suite, taking >9s, when the second slowest takes 2.7s. So let's speed this up to 2.3s, making it still the second-slowest in the benchmark suite.
    
    `@saethlin` any objections? Also, why is this called "invalidate"? It got added in rust-lang/miri#3083 but I can't figure out the point of that name even after looking at the PR.^^ There should be a comment in the benchmark explaining what it is testing.
    bors committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b648a9a View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Preparing for merge from rustc

    The Miri Cronjob Bot committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    74b68af View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Cronjob Bot committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    be6c170 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#3390 - rust-lang:rustup-2024-03-19, r=oli-obk

    Automatic Rustup
    bors committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    bca5e2c View commit details
    Browse the repository at this point in the history
  4. remove duplicate test

    RalfJung committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    92a841d View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#3391 - RalfJung:dedup, r=RalfJung

    remove duplicate test
    
    This is basically the same as `tests/pass/imported_main.rs`.
    bors committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    67966f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. run full mono-item collection on all MIRI_BE_RUSTC=target builds

    this fixes compile_fail doctests with post-mono errors
    RalfJung committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e539804 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#3392 - RalfJung:post-mono, r=oli-obk

    fix compile_fail doctests with post-mono errors
    
    Fixes rust-lang/miri#2423
    bors committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    6bcd9bc View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Allow llvm.x86.sse2.pause instrinsic to be called without SSE2

    The instrinsic is compiled to a `pause` instruction, which behaves like a no-op when SSE2 is not available.
    
    https://www.felixcloutier.com/x86/pause.html
    eduardosm committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    89bc81f View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#3393 - eduardosm:x86-pause-without-sse2, r=Ra…

    …lfJung
    
    Allow `llvm.x86.sse2.pause` instrinsic to be called without SSE2
    
    The instrinsic is compiled to a `pause` instruction, which behaves like a no-op when SSE2 is not available.
    
    https://www.felixcloutier.com/x86/pause.html
    bors committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    f61f45f View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    5719d09 View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    RalfJung committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ee57d2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2fae357 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Preparing for merge from rustc

    The Miri Cronjob Bot committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    0115f73 View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Cronjob Bot committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    89b9b67 View commit details
    Browse the repository at this point in the history
  3. fmt

    The Miri Cronjob Bot committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    5039f8b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0d864f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c87ec61 View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#3396 - RalfJung:simd-float, r=RalfJung

    add support for missing SIMD float intrinsics
    
    These are being exposed by `core::simd`  with rust-lang#122905.
    bors committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e19cc5e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2d610f7 View commit details
    Browse the repository at this point in the history
  8. Auto merge of rust-lang#3385 - Zoxc:read-types, r=RalfJung

    Report retags as distinct from real memory accesses for data races
    
    This changes the error reporting for data races such that reference invariants are no longer reported as real read and writes.
    
    Before:
    ```
    Data race detected between (1) non-atomic write on thread `unnamed-6` and (2) non-atomic read on thread `unnamed-5` at alloc1034971+0x10c. (2) just happened here
    ```
    
    After:
    ```
    Data race detected between (1) non-atomic write on thread `unnamed-8` and (2) shared reference invariant on thread `unnamed-6` at alloc1018329+0x190. (2) just happened here
    ```
    
    Non-atomic read accesses from the *other* thread don't have this information tracked so those are called `some potential non-atomic read access` here.
    bors committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    59b2945 View commit details
    Browse the repository at this point in the history