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

Merged
merged 22 commits into from
Sep 17, 2022
Merged

Rollup of 9 pull requests #101946

merged 22 commits into from
Sep 17, 2022

Commits on Sep 11, 2022

  1. array docs - advertise how to get array from slice

    On my first Rust project, I spent more time than I care to admit
    figuring out how to efficiently get an array from a slice. Update the
    array documentation to explain this a bit more clearly.
    
    (As a side note, it's a bit unfortunate that get-array-from-slice is
    only available via trait since that means it can't be used from const
    functions yet.)
    Doug Cook (WINDOWS) committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    705a766 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

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

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    44506f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89fd6ae View commit details
    Browse the repository at this point in the history
  3. Update stdarch

    stdarch updated their version of `cfg-if` so we need to update the one
    used by libstd as well.
    wesleywiser committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    9286c3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    532e3a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. Configuration menu
    Copy the full SHA
    9c3c88c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c65997 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d449a0 View commit details
    Browse the repository at this point in the history
  4. Remove the allow-list for dynamic linking of LLVM tools

    This commit removes an allow-list for the dynamic linking of the LLVM
    tools and instead relies on the builder's linking preference only.
    chriswailes committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    9995029 View commit details
    Browse the repository at this point in the history
  5. rustdoc: clean up CSS for All Items and All Crates lists

    This reduces the amount of CSS, and makes these two pages more consistent
    (which, necessarily, means changing them a bit).
    notriddle committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    b72de9b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a87a883 View commit details
    Browse the repository at this point in the history
  7. Improve handing of env vars during bootstrap process

    This CL modifies the handing of env vars during the bootstrap process in
    two ways:
    1. Replaces '-' characters with '_' characters in target names to
       increase compatibility with different shells
    2. Passes Stage0 snapshot compiler related env vars to early invocations
       of Cargo
    chriswailes committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    d1291dc View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2022

  1. Rollup merge of rust-lang#101672 - idigdoug:array_try_into, r=Mark-Si…

    …mulacrum
    
    array docs - advertise how to get array from slice
    
    On my first Rust project, I spent more time than I care to admit figuring out how to efficiently get an array from a slice. Update the array documentation to explain this a bit more clearly.
    
    (As a side note, it's a bit unfortunate that get-array-from-slice is only available via trait since that means it can't be used from const functions yet.)
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    00d88bd View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#101781 - chriswailes:dynamic-llvm-on-musl, …

    …r=jyn514
    
    Extend list of targets that support dyanmic linking for llvm tools
    
    This commit adds `linux-musl` to the list of targets that support dynamic linking for the LLVM tools.
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    ec61047 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#101783 - chriswailes:env-vars, r=jyn514

    Improve handing of env vars during bootstrap process
    
    This CL modifies the handing of env vars during the bootstrap process in two ways:
    1. Replaces '-' characters with '_' characters in target names to increase compatibility with different shells
    2. Passes Stage0 snapshot compiler related env vars to early invocations of Cargo
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    9c32773 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#101801 - SparrowLii:query_depth_note, r=est…

    …ebank
    
    add note for `layout_of` when query depth overflows
    
    Fixes rust-lang#101747
    Added `try_find_layout_root` function to add a note for `layout_of` when query depth overflows. This would make the error in rust-lang#101747 look like this:
    ```
    error: queries overflow the depth limit!
       |
    note: Query depth increased by 66 when computing layout of `core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<core::option::Option<alloc::boxed::Box<alloc::string::String>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>`!
      --> D:\rust-backup\parallel_rust\query_depth.rs:40:1
       |
    40 | fn main() {
       | ^^^^^^^^^
    
    error: aborting due to previous error
    ```
    
    cc ``@semicoleon``
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    4757d2d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#101824 - notriddle:notriddle/html-as-generi…

    …cs-intra-doc-links, r=Mark-Simulacrum
    
    rustdoc: add test cases for turning ``[Vec<T>]`` into ``[`Vec<T>`]``
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    030f453 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101861 - wesleywiser:update_stdarch, r=Amanieu

    Update stdarch
    
    This pulls in the following changes:
    
    - [Use simd_bitmask intrinsic in a couple of places](rust-lang/stdarch@9f09287)
    - [Remove simd_shuffle<n> usage in favor of simd_shuffle](rust-lang/stdarch@3fd17e4)
    - [Remove late specifiers in __cpuid_count](rust-lang/stdarch@f1db941)
      - Helps with rust-lang#101346
    - [Use mov and xchg instead of movl(q) and xchgl(q)](rust-lang/stdarch@3049a31)
    - [Bump cfg-if dependency to 1.0](rust-lang/stdarch@f305cc8)
    - [Fix documentation of __m256bh and __m512bh structs](rust-lang/stdarch@699c093)
    
    r? ``@Amanieu``
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    92d8bf9 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#101873 - WaffleLapkin:x-build-proc-macro-sr…

    …v, r=jyn514
    
    Allow building `rust-analyzer-proc-macro-srv` as a standalone tool
    
    This PR allows building `rust-analyzer-proc-macro-srv` as a standalone tool via `x b proc-macro-srv-cli` (I thought that `x b rust-analyzer-proc-macro-srv` should work, but it doesn't for some reason...). Also this PR adds a copy of `rust-analyzer-proc-macro-srv` binary to `build/{triple}/{stage}/libexec/` when building `rust-analyzer-proc-macro-srv`, so that r-a can pick it up.
    
    This is useful to make r-a (and I assume Intellij IDEA) to expand macros when using a custom, build from source toolchain.
    
    r? ``@jyn514``
    [_zulip thread_](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/How.20to.20fix.20.60UnsupportedABI.60.20for.20custom.20toolchains.3F/near/299040175)
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    179fd13 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9702c6c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101934 - GuillaumeGomez:theme-links-cleanup…

    …, r=notriddle
    
    Continue migration of CSS themes
    
    Now that rust-lang#101898 has been merged, we can move forward.
    
    This PR moves more CSS theme rules as CSS variables. I also added a GUI test to prevent regressions.
    
    Part of rust-lang#98460.
    
    r? ``@notriddle``
    matthiaskrgr committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    1f31bee View commit details
    Browse the repository at this point in the history