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 #93689

Merged
merged 24 commits into from
Feb 6, 2022
Merged

Rollup of 9 pull requests #93689

merged 24 commits into from
Feb 6, 2022

Commits on Dec 14, 2021

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

Commits on Jan 25, 2022

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

Commits on Jan 31, 2022

  1. [mips64-openwrt-musl] Tier 3 tuple for Mips64 OpenWrt

    This incorporates rust-lang into the OpenWrt build system for
    Mips64 targets.
    
    Signed-off-by: Donald Hoskins <[email protected]>
    Grommish committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    91fcbfa View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Remove "up here" arrow on item-infos

    Use spacing to distinguish what is related to a given heading.
    jsha committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    73d0f7c View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Add trailing comma support

    dtolnay committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    0b7e1ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bdf08f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63406ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    40fcbba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ca3057f View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Configuration menu
    Copy the full SHA
    8e99d92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3b1bc1 View commit details
    Browse the repository at this point in the history
  3. Update CPU idle tracking for apple hosts

    The previous setup did not properly consider hyperthreads (at least in local
    testing), which likely skews CI results as well. The new code is both simpler
    and hopefully will produce more accurate results.
    Mark-Simulacrum committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    6756ff9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c6f7fd View commit details
    Browse the repository at this point in the history
  5. Refactor conditional

    UltiRequiem committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    ca4296d View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2022

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

Commits on Feb 6, 2022

  1. Rollup merge of rust-lang#91939 - GKFX:feature-91866, r=cjgillot

    Clarify error on casting larger integers to char
    
    Closes rust-lang#91836 with changes to E0604.md and a `span_help`.
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    58bfe72 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#92300 - Itus-Shield:mips64-openwrt, r=nagisa

    mips64-openwrt-linux-musl: Add Tier 3 target
    
    Tier 3 tuple for Mips64 OpenWrt toolchain.
    
    This add first-time support for OpenWrt.  Future Tier3 targets will be added as I test them.
    
    Signed-off-by: Donald Hoskins <[email protected]>
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    0eda3fa View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#92383 - lancethepants:armv7-unknown-linux-u…

    …clibceabi, r=nagisa
    
    Add new target armv7-unknown-linux-uclibceabi (softfloat)
    
    This adds the new target `armv7-unknown-linux-uclibceabi (softfloat)`. It is of course similar to `armv7-unknown-linux-uclibceabihf (hardfloat)` which was just recently added to rust except that it is `softfloat`.
    
    My interest lies in the Broadcom BCM4707/4708/BCM4709 family, notably found in some Netgear and Asus consumer routers. The armv7 Cortex-A9 cpus found in these devices do not have an fpu or NEON support.
    
    With this patch I've been able to bootstrap rustc, std and host tools `(extended = true)` to run on the target device for native compilation, allowing the target to be used as a development platform.
    
    With the recent addition of `armv7-unknown-linux-uclibceabihf (hardfloat)` it looks like many of the edge cases of using the uclibc c-library are getting worked out nicely. I've been able to compile some complex projects. Some patching still needed in some crates, but getting there for sure.  I think `armv7-unknown-linux-uclibceabi` is ready to be a tier 3 target.
    
    I use a cross-toolchain from my project to bootstrap rust.
    https://github.com/lancethepants/tomatoware
    The goal of this project is to create a native development environment with support for various languages.
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    4a3be6e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#92651 - jsha:impl-spacing, r=GuillaumeGomez

    Remove "up here" arrow on item-infos
    
    Use spacing to distinguish what is related to a given heading.
    
    This was originally introduced in rust-lang#53043, in response to rust-lang#51387. The arrow is a little distracting, and leads the item-info to not be aligned properly with the text below it.
    
    Demo: https://rustdoc.crud.net/jsha/impl-spacing/std/string/struct.String.html
    
    r? ``@GuillaumeGomez``
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    05bb32d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#93556 - dtolnay:trailingcomma, r=cjgillot

    Change struct expr pretty printing to match rustfmt style
    
    This PR backports trailing comma support from https://github.com/dtolnay/prettyplease into rustc_ast_pretty and uses it to improve the formatting of struct expressions.
    
    Example:
    
    ```rust
    macro_rules! stringify_expr {
        ($expr:expr) => {
            stringify!($expr)
        };
    }
    
    fn main() {
        println!("{}", stringify_expr!(Struct {
            a: Struct { b, c },
        }));
        println!("{}", stringify_expr!(Struct {
            aaaaaaaaaa: AAAAAAAAAA,
            bbbbbbbbbb: Struct {
                cccccccccc: CCCCCCCCCC,
                dddddddddd: DDDDDDDDDD,
                eeeeeeeeee: EEEEEEEEEE,
            },
        }));
    }
    ```
    
    🤮 Before:
    
    ```console
    Struct{a: Struct{b, c,},}
    Struct{aaaaaaaaaa: AAAAAAAAAA,
        bbbbbbbbbb:
            Struct{cccccccccc: CCCCCCCCCC,
                dddddddddd: DDDDDDDDDD,
                eeeeeeeeee: EEEEEEEEEE,},}
    ```
    
    After:
    
    ```console
    Struct { a: Struct { b, c } }
    Struct {
        aaaaaaaaaa: AAAAAAAAAA,
        bbbbbbbbbb: Struct {
            cccccccccc: CCCCCCCCCC,
            dddddddddd: DDDDDDDDDD,
            eeeeeeeeee: EEEEEEEEEE,
        },
    }
    ```
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    59baf4d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#93649 - WaffleLapkin:regression_test_80309,…

    … r=oli-obk
    
    Add regression tests for issue 80309
    
    Closes rust-lang#80309 😝
    
    I'm not sure where to put the tests, is `ui/issues` the right place for this kind of tests?
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    520bd35 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#93657 - Mark-Simulacrum:apple-measurement, …

    …r=pietroalbini
    
    Update CPU idle tracking for apple hosts
    
    The previous setup did not properly consider hyperthreads (at least in local
    testing), which likely skews CI results as well. The new code is both simpler
    and hopefully will produce more accurate results; locally it matches behavior
    of the Linux version of this script.
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    9a5e937 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#93659 - UltiRequiem:refactor_conditional_st…

    …atic_rustdoc, r=GuillaumeGomez
    
    Refactor conditional
    
    Merge two `if` in just one.
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    b7287e9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#93669 - compiler-errors:const-generic-args,…

    … r=lcnr
    
    Resolve lifetimes for const generic defaults
    
    We weren't visiting the const generic default argument in `rustc_resolve::late::lifetimes`. This seems to fix the issue, and we deny any non-`'static` lifetimes anyways.
    
    Fixes rust-lang#93647
    matthiaskrgr authored Feb 6, 2022
    Configuration menu
    Copy the full SHA
    cbf4b46 View commit details
    Browse the repository at this point in the history