-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rollup of 7 pull requests #112716
Conversation
before falling back to existing code paths like FreeBSD does.
…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**.
std: available_parallelism using native netbsd api first before falling back to existing code paths like FreeBSD does.
…t, r=compiler-errors Support 128-bit enum variant in debuginfo codegen fixes rust-lang#111600
`#[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
…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``
… 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
…t, r=petrochenkov Add `SyntaxContext::is_root` Makes the code a tad nicer.
@bors r+ rollup=never p=7 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 6bba061467 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (670a0ed): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 655.492s -> 655.939s (0.07%) |
Successful merges:
T: Sized
bounds onBufReader<T>
,BufWriter<T>
andLineWriter<T>
#111074 (Relax implicitT: Sized
bounds onBufReader<T>
,BufWriter<T>
andLineWriter<T>
)#[lang_item]
forcore::ptr::Unique
#112662 (#[lang_item]
forcore::ptr::Unique
)Binder<'tcx, Clause<'tcx>>
#112665 (Make assumption functions in new solver takeBinder<'tcx, Clause<'tcx>>
)SyntaxContext::is_root
#112706 (AddSyntaxContext::is_root
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup