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 7 pull requests #112716

Merged
merged 19 commits into from
Jun 17, 2023
Merged

Rollup of 7 pull requests #112716

merged 19 commits into from
Jun 17, 2023

Commits on May 1, 2023

  1. Configuration menu
    Copy the full SHA
    e77b14e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a497533 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29302a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. std: available_parallelism using native netbsd api first

    before falling back to existing code paths like FreeBSD does.
    devnexen committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    25b3751 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    204bfb6 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2023

  1. Fix codegen tests

    ldm0 committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    859bac7 View commit details
    Browse the repository at this point in the history
  2. Add test

    ldm0 committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    ea19243 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    b4ba7c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    c54672e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc3e91c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73c5c97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ef316f View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#111074 - WaffleLapkin:🌟unsizes_your_buf_rea…

    …der🌟, r=Amanieu
    
    Relax implicit `T: Sized` bounds on `BufReader<T>`, `BufWriter<T>` and `LineWriter<T>`
    
    TL;DR:
    ```diff,rust
    -pub struct BufReader<R> { /* ... */ }
    +pub struct BufReader<R: ?Sized> { /* ... */ }
    
    -pub struct BufWriter<W: Write> { /* ... */ }
    +pub struct BufWriter<W: ?Sized + Write> { /* ... */ }
    
    -pub struct LineWriter<W: Write> { /* ... */ }
    +pub struct LineWriter<W: ?Sized + Write> { /* ... */ }
    ```
    
    This allows using `&mut BufReader<dyn Read>`, for example.
    
    **This is an insta-stable change**.
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    c55af41 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#112226 - devnexen:netbsd_affinity, r=cuviper

    std: available_parallelism using native netbsd api first
    
    before falling back to existing code paths like FreeBSD does.
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    4d5e7cd View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#112474 - ldm0:ldm_enum_debuginfo_128_suppor…

    …t, r=compiler-errors
    
    Support 128-bit enum variant in debuginfo codegen
    
    fixes rust-lang#111600
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    3eb8c2a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#112662 - Vanille-N:symbol_unique, r=RalfJung

    `#[lang_item]` for `core::ptr::Unique`
    
    Tree Borrows is about to introduce experimental special handling of `core::ptr::Unique` in Miri to give it a semantics.
    As of now there does not seem to be a clean way (i.e. other than `&format!("{adt:?}") == "std::ptr::Unique"`) to check if an `AdtDef` represents a `Unique`.
    
    r? `@RalfJung`
    
    Draft: making a lang item
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    38fc6be View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#112665 - compiler-errors:assumption-takes-c…

    …lause, r=lcnr
    
    Make assumption functions in new solver take `Binder<'tcx, Clause<'tcx>>`
    
    We just use an if-let to match on an optional clause at all the places where we transition from `Predicate` -> `Clause`, but I assume that when things like item-bounds and param-env start to only store `Clause`s then those can just be trivially dropped.
    
    r? ``@lcnr``
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    cef94ec View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#112684 - saethlin:ignore-windows-alignment,…

    … r=wesleywiser
    
    Disable alignment checks on i686-pc-windows-msvc
    
    r? `@wesleywiser` Because you were in the Zulip discussion of this: https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202023-06-15
    
    cc rust-lang#112480
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    a5f8859 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#112706 - WaffleLapkin:syntax_context_is_roo…

    …t, r=petrochenkov
    
    Add `SyntaxContext::is_root`
    
    Makes the code a tad nicer.
    compiler-errors committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    56c96d7 View commit details
    Browse the repository at this point in the history