-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 9 pull requests #79122
Closed
Closed
Rollup of 9 pull requests #79122
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR allows using `#[repr(simd)]` on ADTs containing a single array field: ```rust #[repr(simd)] struct S0([f32; 4]); #[repr(simd)] struct S1<const N: usize>([f32; N]); #[repr(simd)] struct S2<T, const N: usize>([T; N]); ``` This should allow experimenting with portable packed SIMD abstractions on nightly that make use of const generics.
The memory allocation in vec might panic in the case of capacity overflow. Move the allocation outside the function to fix the test.
Backtrace frames might include column numbers. Print them if they are included.
…ackline in source rendering
…backline, r=jyn514 Ensure that the source code display is working with DOS backline Fixes rust-lang#76361. cc ```@lzutao``` r? ```@jyn514```
…r=oli-obk Introduce `TypeVisitor::BreakTy` Implements MCP rust-lang/compiler-team#383. r? `@ghost` cc `@lcnr` `@oli-obk` ~~Blocked on FCP in rust-lang/compiler-team#383.~~
Support repr(simd) on ADTs containing a single array field This is a squash and rebase of `@gnzlbg's` rust-lang#63531 I've never actually written code in the compiler before so just fumbled my way around until it would build 😅 I imagine there'll be some work we need to do in `rustc_codegen_cranelift` too for this now, but might need some input from `@bjorn3` to know what that is. cc `@rust-lang/project-portable-simd` ----- This PR allows using `#[repr(simd)]` on ADTs containing a single array field: ```rust #[repr(simd)] struct S0([f32; 4]); #[repr(simd)] struct S1<const N: usize>([f32; N]); #[repr(simd)] struct S2<T, const N: usize>([T; N]); ``` This should allow experimenting with portable packed SIMD abstractions on nightly that make use of const generics.
Make codegen tests compatible with extra inlining
Add column number support to Backtrace Backtrace frames might include column numbers. Print them if they are included.
…r=oli-obk Limit storage duration of inlined always live locals Closes rust-lang#76375.
document that __rust_alloc is also magic to our LLVM fork Based on [comments](rust-lang#79045 (comment)) by ```@tmiasko``` and ```@bjorn3.```
clarify `span_label` documentation Fixes rust-lang#71857. r? `@estebank` cc `@RalfJung`
…tml-tag-lint, r=jyn514 Code block invalid html tag lint Fixes rust-lang#79095 r? `@jyn514`
@bors r+ rollup=never p=5 |
📌 Commit da0319b has been approved by |
bors
added
the
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
label
Nov 17, 2020
⌛ Testing commit da0319b with merge 95719fa85f35513f584f732b9c66c432bf6bfe95... |
💔 Test failed - checks-actions |
bors
added
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
and removed
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
labels
Nov 17, 2020
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
rollup
A PR which is a rollup
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Successful merges:
TypeVisitor::BreakTy
#78779 (IntroduceTypeVisitor::BreakTy
)span_label
documentation #79088 (clarifyspan_label
documentation)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup