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

Rollup of 8 pull requests #125541

Merged
merged 20 commits into from
May 25, 2024
Merged

Rollup of 8 pull requests #125541

merged 20 commits into from
May 25, 2024

Commits on May 19, 2024

  1. Configuration menu
    Copy the full SHA
    e7772f2 View commit details
    Browse the repository at this point in the history
  2. fix typo

    Co-authored-by: Jubilee <[email protected]>
    RalfJung and workingjubilee authored May 19, 2024
    Configuration menu
    Copy the full SHA
    3c2d9c2 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    1eda580 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02eada8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9dc7620 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5eb7a7 View commit details
    Browse the repository at this point in the history
  5. Stop using the avx512er and avx512pf x86 target features

    They are no longer supported by LLVM 19.
    
    Fixes rust-lang#125492
    zmodem committed May 24, 2024
    Configuration menu
    Copy the full SHA
    3fe3157 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ebd9f35 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1af490d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    61aac55 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Configuration menu
    Copy the full SHA
    f4b9ac6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    045f448 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#125271 - RalfJung:posix_memalign, r=working…

    …jubilee
    
    use posix_memalign on almost all Unix targets
    
    Seems nice to be able to use a single common codepath for all of them. :) The `libc` crate says this symbol exists for all Unix targets. I did locally do check-builds to ensure this still builds, but I can't really test more than that.
    
    - For redox, I found indications posix_memalign really exists [here](https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/271)
    - For esp-idf, I found indications [here](playable-tech/esp-idf@c5b297a)
    - ~~For horizon and vita (these seem to be gaming console OSes? "Horizon OS" also has some hits for a Facebook product but that seems unrelated), they seem to be based on "newlib", where posix_memalign [seems to exist](https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=3ba2c39fb2a12cd7332ef16b1b3e3df994f7c6f5).~~ Turns out no, this 20-year-old standard POSIX function is unfortunately [not supported](rust-lang#125271 (comment)) here.
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    f28d368 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#125451 - oli-obk:const_type_mismatch, r=com…

    …piler-errors
    
    Fail relating constants of different types
    
    fixes rust-lang#121585
    fixes rust-lang#121858
    fixes rust-lang#124151
    
    I gave this several attempts before, but we lost too many important diagnostics until I managed to make compilation never bail out early. We have reached this point, so now we can finally fix all those ICEs by bubbling up an error instead of continueing when we encounter a bug.
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    7ea507e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#125478 - Urgau:check-cfg-config-bump-stage0…

    …, r=Mark-Simulacrum
    
    Bump bootstrap compiler to the latest beta compiler
    
    This PR updates the bootstrap compiler, aka stage0 to the latest beta version, since it contains rust-lang/cargo#13925.
    
    It removes those unconditional Cargo warnings:
    
    ```
    warning: [...]/rust/library/core/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg
    warning: [...]/rust/library/std/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg
    warning: [...]/rust/library/alloc/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg
    ```
    
    for all contributors/users of this repository (including CI).
    
    I don't know if that's something we do, or if it's even advisable, feel free to close.
    
    r? `@Mark-Simulacrum`
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    e58a0a8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#125498 - zmodem:avx512er, r=workingjubilee

    Stop using the avx512er and avx512pf x86 target features
    
    They are no longer supported by LLVM 19.
    
    Fixes rust-lang#125492
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    4d13c96 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#125510 - lcnr:change-proof-trees-to-be-shal…

    …low, r=compiler-errors
    
    remove proof tree formatting, make em shallow
    
    Debugging via tracing `RUSTC_LOG=rustc_trait_selection::solve=debug` is now imo slightly more readable then the actual proof tree formatter. Removing everything that's not needed for the `analyse` visitor allows us to remove a bunch of code.
    
    I personally believe that we should continue to use tracing over proof trees for debugging:
    - it eagerly prints, allowing us to debug ICEs
    - the proof tree builder ends up going out of sync with the actual runtime behavior, which is confusing
    - using shallow proof trees is a lot more performant as we frequently do not recurse into all nested goals when using an analyse visitor
    - this allows us to clean up the implementation and remove some code
    
    r? ```@compiler-errors```
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    00c51bd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#125513 - compiler-errors:impossible-drop, r…

    …=jackh726
    
    Don't eagerly monomorphize drop for types that are impossible to instantiate
    
    Self-explanatory title I think
    
    Fixes rust-lang#125509
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    3fc8fe0 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#125514 - compiler-errors:builtin-index, r=lcnr

    Structurally resolve before `builtin_index` in EUV
    
    r? lcnr
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    d747148 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#125527 - programmerjake:patch-2, r=workingj…

    …ubilee
    
    Add manual Sync impl for ReentrantLockGuard
    
    Fixes: rust-lang#125526
    Tracking Issue: rust-lang#121440
    
    this impl is even shown in the summary in the tracking issue, but apparently was forgotten in the actual implementation
    matthiaskrgr authored May 25, 2024
    Configuration menu
    Copy the full SHA
    1d54ba8 View commit details
    Browse the repository at this point in the history