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 4 pull requests #116501

Merged
merged 12 commits into from
Oct 7, 2023
Merged

Rollup of 4 pull requests #116501

merged 12 commits into from
Oct 7, 2023

Commits on Sep 30, 2023

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

Commits on Oct 3, 2023

  1. Detect missing => after match guard during parsing

    ```
    error: expected one of `,`, `:`, or `}`, found `.`
      --> $DIR/missing-fat-arrow.rs:25:14
       |
    LL |         Some(a) if a.value == b {
       |                               - while parsing this struct
    LL |             a.value = 1;
       |             -^ expected one of `,`, `:`, or `}`
       |             |
       |             while parsing this struct field
       |
    help: try naming a field
       |
    LL |             a: a.value = 1;
       |             ++
    help: you might have meant to start a match arm after the match guard
       |
    LL |         Some(a) if a.value == b => {
       |                                 ++
    ```
    
    Fix rust-lang#78585.
    estebank committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    745c1ea View commit details
    Browse the repository at this point in the history
  2. Move some tests around

    estebank committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    18ec4e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. review comments

    estebank committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8fd345d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Properly export function defined in test which uses global_asm!()

    Currently the test passes with the LLVM backend as the codegen unit
    partitioning logic happens to place both the global_asm!() and the
    function which calls the function defined by the global_asm!() in the
    same CGU. With the Cranelift backend it breaks however as it will place
    all assembly in separate codegen units to be passed to an external
    linker.
    bjorn3 committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    9facf0b View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Use pushsection/popsection

    bjorn3 committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    ecf271c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa248cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3abef68 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#116277 - RalfJung:post-mono, r=oli-obk

    dont call mir.post_mono_checks in codegen
    
    It seems like all tests are still passing when I remove this... let's see what CI says.
    workingjubilee committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    6d1c3a4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#116400 - estebank:issue-78585, r=WaffleLapkin

    Detect missing `=>` after match guard during parsing
    
    ```
    error: expected one of `,`, `:`, or `}`, found `.`
      --> $DIR/missing-fat-arrow.rs:25:14
       |
    LL |         Some(a) if a.value == b {
       |                               - while parsing this struct
    LL |             a.value = 1;
       |             -^ expected one of `,`, `:`, or `}`
       |             |
       |             while parsing this struct field
       |
    help: try naming a field
       |
    LL |             a: a.value = 1;
       |             ++
    help: you might have meant to start a match arm after the match guard
       |
    LL |         Some(a) if a.value == b => {
       |                                 ++
    ```
    
    Fix rust-lang#78585.
    workingjubilee committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    0d68e41 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#116458 - bjorn3:fix_global_asm_test, r=work…

    …ingjubilee
    
    Properly export function defined in test which uses global_asm!()
    
    Currently the test passes with the LLVM backend as the codegen unit partitioning logic happens to place both the global_asm!() and the function which calls the function defined by the global_asm!() in the same CGU. With the Cranelift backend it breaks however as it will place all assembly in separate codegen units to be passed to an external linker.
    workingjubilee committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    5268120 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#116500 - simlay:tvos-support-for-register_d…

    …tor, r=workingjubilee
    
    Add tvOS to target_os for register_dtor
    
    Closes rust-lang#116491.
    workingjubilee committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    4b102b0 View commit details
    Browse the repository at this point in the history