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 10 pull requests #96096

Closed
wants to merge 26 commits into from
Closed

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    d78e3e3 View commit details
    Browse the repository at this point in the history
  2. Add missing platform support docs to sidebar

    Also sort sidebar alphabetically by document filename
    Michcioperz committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c1d5c2b View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Configuration menu
    Copy the full SHA
    f427698 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e76103 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Revert "Work around invalid DWARF bugs for fat LTO"

    Since September, the toolchain has not been generating reliable DWARF
    information for static variables when LTO is on. This has affected
    projects in the embedded space where the use of LTO is typical. In our
    case, it has kept us from bumping past the 2021-09-22 nightly toolchain
    lest our debugger break. This has been a pretty dramatic regression for
    people using debuggers and static variables. See rust-lang#90357 for more info
    and a repro case.
    
    This commit is a mechanical revert of
    d5de680 from PR rust-lang#89041, which caused
    the issue. (Note on that PR that the commit's author has requested it be
    reverted.)
    
    I have locally verified that this fixes rust-lang#90357 by restoring the
    functionality of both the repro case I posted on that bug, and debugger
    behavior on real programs. There do not appear to be test cases for this
    in the toolchain; if I've missed them, point me at 'em and I'll update
    them.
    cbiffle committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    98190b7 View commit details
    Browse the repository at this point in the history
  2. Improve debuginfo test coverage for simple statics.

    - Re-enabled basic-types-globals which has been disabled since 2018
    - Updated its now-rotted assertions about GDB's output to pass
    - Rewrote header comment describing some previous state of GDB behavior
      that didn't match either the checked-in assertions _or_ the current
      behavior, and so I assume has just been wrong for some time.
    - Copy-pasta'd the test into a version that uses LTO to check for
      regression on rust-lang#90357, because I don't see a way to matrix the same
      test into several build configurations.
    cbiffle committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    42af197 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

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

Commits on Apr 14, 2022

  1. Configuration menu
    Copy the full SHA
    1b7008d View commit details
    Browse the repository at this point in the history
  2. update: actions/checkout@v2 to actions/checkout@v3

    update: actions/checkout@v2 to actions/checkout@v3 for all yaml files
    
    Revert "update: actions/checkout@v2 to actions/checkout@v3 for all yaml files"
    
    This reverts commit 7445e582b900f0f56f5f2bd9036aacab97ef28e9.
    
    change GitHub Actions version v2 to v3
    
    change GitHub Actions
    Gumichocopengin8 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    9d319f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. clarify doc(cfg) wording

    The current "This is supported" wording implies that it's possible to
    still use the item on other configurations, but in an unsupported way.
    Changing this to "Available" removes this ambiguity.
    euclio committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    753d567 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4117e8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e162602 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f2f4a3 View commit details
    Browse the repository at this point in the history
  5. chore: formatting

    Gumichocopengin8 committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    3f46ba6 View commit details
    Browse the repository at this point in the history
  6. Update mdbook

    ehuss committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    5181422 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#94605 - Michcioperz:patch-1, r=pnkfelix

    Add missing links in platform support docs
    
    I was looking at m68k support and saw that https://doc.rust-lang.org/rustc/platform-support.html and the sidebar there were missing some links to target documentation
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    31ec2a2 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#94985 - dtolnay:constattr, r=pnkfelix

    Parse inner attributes on inline const block
    
    According to rust-lang#84414 (comment), inner attributes are intended to be supported *"in all containers for statements (or some subset of statements)"*.
    
    This PR adds inner attribute parsing and pretty-printing for inline const blocks (rust-lang#76001), which contain statements just like an unsafe block or a loop body.
    
    ```rust
    let _ = const {
        #![allow(...)]
    
        let x = ();
        x
    };
    ```
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    952a184 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#95006 - tmiasko:thread-local-static, r=wesl…

    …eywiser
    
    Reject `#[thread_local]` attribute on non-static items
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    ed0e348 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#95685 - oxidecomputer:restore-static-dwarf,…

    … r=pnkfelix
    
    Revert "Work around invalid DWARF bugs for fat LTO"
    
    Since September, the toolchain has not been generating reliable DWARF
    information for static variables when LTO is on. This has affected
    projects in the embedded space where the use of LTO is typical. In our
    case, it has kept us from bumping past the 2021-09-22 nightly toolchain
    lest our debugger break. This has been a pretty dramatic regression for
    people using debuggers and static variables. See rust-lang#90357 for more info
    and a repro case.
    
    This commit is a mechanical revert of
    d5de680 from PR rust-lang#89041, which caused
    the issue. (Note on that PR that the commit's author has requested it be
    reverted.)
    
    I have locally verified that this fixes rust-lang#90357 by restoring the
    functionality of both the repro case I posted on that bug, and debugger
    behavior on real programs. There do not appear to be test cases for this
    in the toolchain; if I've missed them, point me at 'em and I'll update
    them.
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    708923a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#95859 - rainy-me:unterminated-nested-block-…

    …comment, r=petrochenkov
    
    Improve diagnostics for unterminated nested block comment
    
    close rust-lang#95283
    
    (This is my first time try to messing around with rust compiler and might get a lot of things wrong... 🙇 )
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    c062c44 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#96004 - JakobDegen:fix-validator-ice, r=pet…

    …rochenkov
    
    Consider lifetimes when comparing types for equality in MIR validator
    
    Closes rust-lang#95978 .
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    f5c97bb View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#96035 - Gumichocopengin8:feature/update-git…

    …hub-action-version, r=pietroalbini
    
    Update GitHub Actions actions/checkout Version v2 -> v3
    
    Update `actions/checkout@v2` to `actions/checkout@v3` because of Node12 will be out of life after Aril 30, 2022 [[Reference](https://nodejs.org/en/about/releases/)].
    `actions/xxxx@v3` use Node16 whose support lasts until April 30, 2024.
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    fec05e8 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#96059 - euclio:doc-cfg, r=manishearth,guill…

    …aumegomez
    
    clarify doc(cfg) wording
    
    The current "This is supported" wording implies that it's possible to
    still use the item on other configurations, but in an unsupported way.
    Changing this to "Available" removes this ambiguity.
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    f1f2527 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#96070 - Gumichocopengin8:test/btree-map, r=…

    …thomcc
    
    [test] Add test cases for untested functions for BTreeMap
    
    - add `pop_first()`, `pop_last()`, `get_key_value()` and `try_insert()` test cases
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    4ebaf4a View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#96088 - ehuss:update-mdbook, r=Mark-Simulacrum

    Update mdbook
    
    This just brings in a few small fixes, particularly a rendering fix for chapter names with markdown in them (like the https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html page).  There's also a minor fix for the search index for duplicate headings.
    
    Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0418
    Dylan-DPC authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    9089fa8 View commit details
    Browse the repository at this point in the history