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 #130130

Merged
merged 19 commits into from
Sep 9, 2024
Merged

Miri subtree update #130130

merged 19 commits into from
Sep 9, 2024

Commits on Sep 1, 2024

  1. Preparing for merge from rustc

    The Miri Cronjob Bot committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    3a693f2 View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Cronjob Bot committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    a9477c7 View commit details
    Browse the repository at this point in the history
  3. fmt

    The Miri Cronjob Bot committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    b71297f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53451c2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c0996b View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Preparing for merge from rustc

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

    The Miri Cronjob Bot committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9fe4539 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0f23b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Enable native libraries on macOS

    Fixes rust-lang#3595 by using -fvisibility=hidden and the visibility attribute supported by both gcc and clang rather than the previous gcc-only mechanism for symbol hiding. Also brings over cfg changes from rust-lang#3594 which enable native-lib functionality on all unixes.
    jder committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    de96082 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#3856 - jder:mac-native-libs, r=RalfJung

    Enable native libraries on macOS
    
    Fixes rust-lang#3595 by using `-fvisibility=hidden` and the visibility attribute supported by both gcc and clang rather than the previous gcc-only mechanism for symbol hiding. Also brings over cfg changes from rust-lang#3594 which enable native-lib functionality on all unixes.
    
    Thanks for taking a look, feedback very welcome!
    
    cc `@RalfJung`
    bors committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    989f63b View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    5f22103 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#3784 - Mandragorian:detect_moved_mutexes, r=R…

    …alfJung
    
    Detect when pthread_mutex_t is moved
    
    What I am not sure about this PR is how to support storing the additional mutex data like its address and kind. If I understand correctly the `concurrency::sync::Mutex` struct is to be used by any mutex implementation. This possibly means that different implementation might want to store different data in the mutex. So any additional data should be implementation defined somehow. Solutions that come to mind:
    
    - Store the additional data as `Box<dyn Any>` and the implementations can downcast their data when they fetch them.
    - Have each shim implementation define a `static mut` map between `MutexID`s and the additional data.
    
    Let me know
    
    Fixes rust-lang#3749
    bors committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    18d358c View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Preparing for merge from rustc

    The Miri Cronjob Bot committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    81a08bc View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Cronjob Bot committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    2fccb4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0903724 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d6489e View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#3864 - RalfJung:miri-bat-nightly, r=RalfJung

    miri.bat: use nightly toolchain
    
    Hopefully fixes rust-lang/miri#3863 (but I can't test that)
    bors committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    72aa65b View commit details
    Browse the repository at this point in the history
  6. Fix comment in mutex_id_offset

    We no longer store the kind inside the pthread_mutex_t, so this comment
    is outdated.
    Mandragorian committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    4dfafb1 View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#3865 - Mandragorian:doc_fixes_pthreads, r=Ral…

    …fJung
    
    Fix comment in mutex_id_offset
    
    We no longer store the kind inside the pthread_mutex_t, so this comment is outdated.
    Sorry I didn't catch this in the original PR.
    bors committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    59cb24d View commit details
    Browse the repository at this point in the history