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 7 pull requests #119764

Closed
wants to merge 19 commits into from

Commits on Nov 26, 2023

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

Commits on Dec 8, 2023

  1. std: getrandom simplification for freebsd.

    it is in the libcs' crate too now.
    devnexen committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    bc6a5c7 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Update stdarch submodule

    Amanieu committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    a6942ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53ac39c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2426b62 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e7fedd View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

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

Commits on Jan 7, 2024

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

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    c949dbd View commit details
    Browse the repository at this point in the history
  2. rustdoc-search: reuse empty map/array in function signatures

    Map is implemented as a pointer to a mutable object.
    Rustdoc never mutates function signatures after constructing them,
    but the JS engine doesn't know that.
    
    To save a bunch of memory, use a single immutable map
    for every decoded type object with no bindings or generics.
    notriddle committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    e61be1b View commit details
    Browse the repository at this point in the history
  3. Remove -Zdont-buffer-diagnostics.

    It was added in rust-lang#54232. It seems like it was aimed at NLL development,
    which is well in the past. Also, it looks like `-Ztreat-err-as-bug` can
    be used to achieve the same effect. So it doesn't seem necessary.
    nnethercote committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    a2b765f View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. rustdoc-search: intern function search types

    This takes advantage of more reuse opportunities.
    Along with the empty object commit, they
    bringing memory usage down about 20% over the original.
    notriddle committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    c3cd657 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#117372 - Amanieu:stdarch_update, r=Mark-Sim…

    …ulacrum
    
    Update stdarch submodule
    
    Splits up rust-lang#27731 into multiple tracking issues.
    
    Closes rust-lang#27731
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    0a67562 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#118241 - fortanix:raoul/rust-langgh-530-mak…

    …e_userspace_types_send, r=Nilstrieb,dtolnay
    
    Making `User<T>` and `User<[T]>` `Send`
    
    All `User` types in SGX point to owned memory in userspace. Special care is always needed when accessing this memory as it must be assumed that an attacker is always able to change its content. Therefore, we can also easily transfer this memory between thread boundaries.
    
    cc: `@mzohreva` `@vn971` `@belalH` `@jethrogb`
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    3c7473f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#118748 - devnexen:fbsd_getrandom_simpl, r=N…

    …ilstrieb,dtolnay
    
    std: getrandom simplification for freebsd.
    
    it is in the libcs' crate too now.
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    12760ed View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#119527 - klensy:ordering, r=compiler-errors

    don't reexport atomic::ordering via rustc_data_structures, use std import
    
    This looks simpler.
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4a79e39 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#119699 - cjgillot:simplify-unreachable, r=o…

    …li-obk
    
    Merge dead bb pruning and unreachable bb deduplication.
    
    Both routines share the same basic structure: iterate on all bbs to identify work, and then renumber bbs.
    
    We can do both at once.
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5ac5eb6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#119723 - nnethercote:rm-Zdont-buffer-diagno…

    …stics, r=compiler-errors
    
    Remove `-Zdont-buffer-diagnostics`.
    
    It was added in rust-lang#54232. It seems like it was aimed at NLL development, which is well in the past. Also, it looks like `-Ztreat-err-as-bug` can be used to achieve the same effect. So it doesn't seem necessary.
    
    r? `@pnkfelix`
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    06971d6 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#119756 - notriddle:notriddle/reuse-map, r=G…

    …uillaumeGomez
    
    rustdoc-search: reuse individual types in function signatures
    
    Because `search.js` never mutates the function signature after loading it,
    they can be safely and easily reused across functions.
    
    This change doesn't change the format of the search index.
    It only changes `search.js`.
    
    Profiler output: https://notriddle.com/rustdoc-html-demo-9/fn-signature-opti2/index.html
    
    <table><tr><th>benchmark<th>before<th>after
    
    <tr><th>arti<td>
    
    ```
    user: 002.228 s
    sys:  000.315 s
    wall: 001.663 s
    child_RSS_high:     315668 KiB
    group_mem_high:     285948 KiB
    ```
    
    <td>
    
    ```
    user: 001.805 s
    sys:  000.231 s
    wall: 001.398 s
    child_RSS_high:     235864 KiB
    group_mem_high:     203056 KiB
    ```
    
    <tr><th>cortex-m<td>
    
    ```
    user: 000.143 s
    sys:  000.035 s
    wall: 000.140 s
    child_RSS_high:      59168 KiB
    group_mem_high:      23000 KiB
    ```
    
    <td>
    
    ```
    user: 000.138 s
    sys:  000.031 s
    wall: 000.133 s
    child_RSS_high:      58944 KiB
    group_mem_high:      22220 KiB
    ```
    
    <tr><th>sqlx<td>
    
    ```
    user: 000.792 s
    sys:  000.115 s
    wall: 000.536 s
    child_RSS_high:     156716 KiB
    group_mem_high:     122948 KiB
    ```
    
    <td>
    
    ```
    user: 000.824 s
    sys:  000.084 s
    wall: 000.535 s
    child_RSS_high:     136668 KiB
    group_mem_high:     101792 KiB
    ```
    
    <tr><th>stm32f4<td>
    
    ```
    user: 006.665 s
    sys:  003.533 s
    wall: 008.624 s
    child_RSS_high:    1037660 KiB
    group_mem_high:    1022516 KiB
    ```
    
    <td>
    
    ```
    user: 005.997 s
    sys:  003.185 s
    wall: 007.987 s
    child_RSS_high:     832068 KiB
    group_mem_high:     810908 KiB
    ```
    
    <tr><th>stm32f4xx-hal<td>
    
    ```
    user: 000.317 s
    sys:  000.051 s
    wall: 000.203 s
    child_RSS_high:      77060 KiB
    group_mem_high:      41776 KiB
    ```
    
    <td>
    
    ```
    user: 000.287 s
    sys:  000.046 s
    wall: 000.180 s
    child_RSS_high:      75216 KiB
    group_mem_high:      39200 KiB
    ```
    
    <tr><th>ripgrep<td>
    
    ```
    user: 000.463 s
    sys:  000.063 s
    wall: 000.295 s
    child_RSS_high:     101288 KiB
    group_mem_high:      66364 KiB
    ```
    
    <td>
    
    ```
    user: 000.472 s
    sys:  000.036 s
    wall: 000.247 s
    child_RSS_high:      82708 KiB
    group_mem_high:      47056 KiB
    ```
    
    </tr></table>
    GuillaumeGomez committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    caba673 View commit details
    Browse the repository at this point in the history