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

Merged
merged 25 commits into from
Feb 24, 2022
Merged

Rollup of 9 pull requests #94314

merged 25 commits into from
Feb 24, 2022

Commits on Feb 22, 2022

  1. Configuration menu
    Copy the full SHA
    da3b2ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2098ea6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f1bcb0f View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. add matching to errorkind

    Dylan-DPC committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    4905814 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37cbc7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    057dc09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    516e965 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c403424 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    65614e9 View commit details
    Browse the repository at this point in the history
  7. ⬆️ rust-analyzer

    lnicola committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    dbe0007 View commit details
    Browse the repository at this point in the history
  8. Change char type in debuginfo to DW_ATE_UTF

    Rust previously encoded the `char` type as DW_ATE_unsigned_char. The more
    appropriate encoding is DW_ATE_UTF.
    
    Clang uses this same debug encoding for char32_t.
    
    This fixes the display of `char` types in Windows debuggers as well as LLDB.
    arlosi committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    be454f0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    715262f View commit details
    Browse the repository at this point in the history
  10. Miri: relax fn ptr check

    RalfJung committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    182d335 View commit details
    Browse the repository at this point in the history
  11. Update library/std/src/io/error.rs

    Co-authored-by: Josh Triplett <josh@joshtriplett.org>
    Dylan-DPC and joshtriplett committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    c46d9f6 View commit details
    Browse the repository at this point in the history
  12. word wrpa

    Dylan-DPC committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    eb795c2 View commit details
    Browse the repository at this point in the history
  13. word wrpa

    Dylan-DPC committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    3f4b039 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Rollup merge of rust-lang#89887 - arlosi:char-debug, r=wesleywiser

    Change `char` type in debuginfo to DW_ATE_UTF
    
    Rust previously encoded the `char` type as DW_ATE_unsigned_char. The more appropriate encoding is `DW_ATE_UTF`.
    
    Clang also uses the DW_ATE_UTF for `char32_t` in C++.
    
    This fixes the display of the `char` type in the Windows debuggers. Without this change, the variable did not show in the locals window.
    ![image](https://user-images.githubusercontent.com/704597/137368067-9b3e4dc8-a075-44ba-a687-bf3810a44e5a.png)
    
    LLDB 13 is also able to display the char value, when before it failed with `need to add support for DW_TAG_base_type 'char' encoded with DW_ATE = 0x8, bit_size = 32`
    
    r? `@wesleywiser`
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    77a8e60 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#94267 - pierwill:fast-reject-bound, r=micha…

    …elwoerister
    
    Remove unused ordering derivations and bounds for `SimplifiedTypeGen`
    
    This is another small PR clearing the way for work on rust-lang#90317.
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    8a42e3d View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#94270 - RalfJung:fn-ptrs, r=oli-obk

    Miri: relax fn ptr check
    
    As discussed in rust-lang/unsafe-code-guidelines#72 (comment), the function pointer check done by Miri is currently overeager: contrary to our usual principle of only checking rather uncontroversial validity invariants, we actually check that the pointer points to a real function.
    
    So, this relaxes the check to what the validity invariant probably will be (and what the reference already says it is): the function pointer must be non-null, and that's it.
    
    The check that CTFE does on the final value of a constant is unchanged -- CTFE recurses through references, so it makes some sense to also recurse through function pointers. We might still want to relax this in the future, but that would be a separate change.
    
    r? `@oli-obk`
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    3cd1dc1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#94273 - Dylan-DPC:doc/errorkind, r=joshtrip…

    …lett
    
    add matching doc to errorkind
    
    Rework of rust-lang#90706
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    aa0b7ac View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#94283 - hellow554:stable_flow_control, r=Dy…

    …lan-DPC
    
    remove feature gate in control_flow examples
    
    Stabilization was done in rust-lang#91091, but the two examples weren't updated accordingly.
    
    Probably too late to put it into stable, but it should be in the next release :)
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    f3433d1 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#94288 - Mark-Simulacrum:ser-opt, r=nnethercote

    Cleanup a few Decoder methods
    
    This is just some simple follow up to rust-lang#93839.
    
    r? `@nnethercote`
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    ae27c4a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#94292 - esp-rs:riscv32imc-esp-espidf-64bit-…

    …atomics, r=petrochenkov
    
    riscv32imc_esp_espidf: set max_atomic_width to 64
    
    For espidf targets without native atomics, there is atomic emulation inside [the newlib component of espidf](https://github.com/espressif/esp-idf/blob/master/components/newlib/stdatomic.c), this has been extended to support emulation up to 64bits therefore we are safe to increase the atomic width for the `riscv32imc_esp_espidf` target.
    
    Closes esp-rs#107
    
    cc: `@ivmarkov`
    matthiaskrgr committed Feb 24, 2022
    3 Configuration menu
    Copy the full SHA
    a93be6d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#94296 - lnicola:rust-analyzer-2022-02-23, r…

    …=lnicola
    
    ⬆️ rust-analyzer
    
    r? `@ghost`
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    fe9d909 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#94300 - WaffleLapkin:patch-4, r=scottmcm

    Fix a typo in documentation of `array::IntoIter::new_unchecked`
    
    🌸
    matthiaskrgr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    bdcdd1b View commit details
    Browse the repository at this point in the history