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 9 pull requests #79122

Closed
wants to merge 36 commits into from

Commits on Nov 8, 2020

  1. Support repr(simd) on ADTs containing a single array field

    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.
    gnzlbg authored and KodrAus committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    6e88e96 View commit details
    Browse the repository at this point in the history
  2. update ui tests

    KodrAus committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    9bb4202 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Fix test checking that into_boxed_slice does not panic

    The memory allocation in vec might panic in the case of capacity
    overflow. Move the allocation outside the function to fix the test.
    tmiasko committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    899d9b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28463aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d54ea4f View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Configuration menu
    Copy the full SHA
    540b5db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    045105b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2020

  1. Configuration menu
    Copy the full SHA
    74f2941 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0f3119 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17b395d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23feec3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    29b140a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    44f7d8f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    df6e87c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    65cdc21 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    07b37cf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7565809 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

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

    KodrAus committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    e217fc4 View commit details
    Browse the repository at this point in the history
  3. Add column number support to Backtrace

    Backtrace frames might include column numbers.
    Print them if they are included.
    est31 committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    43bfbb1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6e6a15 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1861a38 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    af869c2 View commit details
    Browse the repository at this point in the history
  7. Add test to ensure that no DOS backline (\r\n) doesn't create extra b…

    …ackline in source rendering
    GuillaumeGomez committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    0c52044 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Configuration menu
    Copy the full SHA
    7986bb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbd302b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a78966d View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Rollup merge of rust-lang#77939 - GuillaumeGomez:fix-source-code-dos-…

    …backline, r=jyn514
    
    Ensure that the source code display is working with DOS backline
    
    Fixes rust-lang#76361.
    
    cc ```@lzutao```
    r? ```@jyn514```
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    0ad71f3 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#78779 - LeSeulArtichaut:ty-visitor-return, …

    …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.~~
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    975b50d View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#78863 - KodrAus:feat/simd-array, r=oli-obk

    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.
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    80c3b55 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#78967 - tmiasko:codegen-tests, r=cuviper

    Make codegen tests compatible with extra inlining
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    5a6cbaf View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#79002 - est31:backtrace_colno, r=dtolnay

    Add column number support to Backtrace
    
    Backtrace frames might include column numbers.
    Print them if they are included.
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    d037be3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#79027 - tmiasko:inline-always-live-locals, …

    …r=oli-obk
    
    Limit storage duration of inlined always live locals
    
    Closes rust-lang#76375.
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    77dc14a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#79077 - RalfJung:llvm-magic, r=Mark-Simulacrum

    document that __rust_alloc is also magic to our LLVM fork
    
    Based on [comments](rust-lang#79045 (comment)) by ```@tmiasko``` and ```@bjorn3.```
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    7c50422 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#79088 - euclio:span-label-doc, r=estebank

    clarify `span_label` documentation
    
    Fixes rust-lang#71857.
    
    r? `@estebank`
    
    cc `@RalfJung`
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    f25688b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#79097 - GuillaumeGomez:code-block-invalid-h…

    …tml-tag-lint, r=jyn514
    
    Code block invalid html tag lint
    
    Fixes rust-lang#79095
    
    r? `@jyn514`
    Dylan-DPC authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    da0319b View commit details
    Browse the repository at this point in the history