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 6 pull requests #96253

Merged
merged 15 commits into from
Apr 20, 2022
Merged

Rollup of 6 pull requests #96253

merged 15 commits into from
Apr 20, 2022

Commits on Mar 24, 2022

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

Commits on Apr 17, 2022

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

Commits on Apr 18, 2022

  1. Configuration menu
    Copy the full SHA
    989e747 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3bdcfb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    620c0a4 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Improve AddrParseError description

    The existing description was incorrect for socket addresses, and
    misleading: users would see “invalid IP address syntax” and suppose they
    were supposed to provide an IP address rather than a socket address.
    
    I contemplated making it two variants (IP, socket), but realised we can
    do still better for the IPv4 and IPv6 types, so here it is as six.
    
    I contemplated more precise error descriptions (e.g. “invalid IPv6
    socket address syntax: expected a decimal scope ID after %”), but that’s
    a more invasive change, and probably not worthwhile anyway.
    chris-morgan committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    0255398 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65987ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f2913c View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    cff3f1e View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#93313 - tmiasko:uninhabited, r=tmandry

    Check if call return type is visibly uninhabited when building MIR
    
    The main motivation behind the change is to expose information about diverging
    calls to the generator transform and match the precision of drop range tracking
    which already understands that call expressions with visibly uninhabited types
    diverges.
    
    This change should also accept strictly more programs than before. That is
    programs that were previously rejected due to errors raised by control-flow
    sensitive checks in a code that is no longer considered reachable.
    
    Fixes rust-lang#93161.
    Dylan-DPC authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    38e3f52 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#96160 - RalfJung:interpret-debug, r=oli-obk

    Miri/interpreter debugging tweaks
    
    Some changes I made to make debugging Miri with trace logging less terrible.
    
    r? ``@oli-obk``
    Dylan-DPC authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    72cb094 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#96167 - CAD97:weak-dlsym-less-ptr-crime, r=…

    …thomcc
    
    Replace sys/unix/weak AtomicUsize with AtomicPtr
    
    Should fix rust-lang#96163. Can't easily test on Windows though...
    Dylan-DPC authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    53f028d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#96168 - chris-morgan:AddrParseError-descrip…

    …tion-improvements, r=joshtriplett
    
    Improve AddrParseError description
    
    The existing description was incorrect for socket addresses, and misleading: users would see “invalid IP address syntax” and suppose they were supposed to provide an IP address rather than a socket address.
    
    I contemplated making it two variants (IP, socket), but realised we can do still better for the IPv4 and IPv6 types, so here it is as six.
    
    I contemplated more precise error descriptions (e.g. “invalid IPv6 socket address syntax: expected a decimal scope ID after %”), but that’s a more invasive change, and probably not worthwhile anyway.
    Dylan-DPC authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    01d4731 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#96206 - m-ou-se:wasm-futex-locks, r=alexcri…

    …chton
    
    Use sys::unix::locks::futex* on wasm+atomics.
    
    This removes the wasm-specific lock implementations and instead re-uses the implementations from sys::unix.
    
    Tracking issue: rust-lang#93740
    
    cc ``@alexcrichton``
    Dylan-DPC authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    41235ef View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#96234 - goffrie:eloop, r=thomcc

    remove_dir_all_recursive: treat ELOOP the same as ENOTDIR
    
    On older Linux kernels (I tested on 4.4, corresponding to Ubuntu 16.04), opening a symlink using `O_DIRECTORY | O_NOFOLLOW` returns `ELOOP` instead of `ENOTDIR`. We should handle it the same, since a symlink is still not a directory and needs to be `unlink`ed.
    Dylan-DPC authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    2443cf2 View commit details
    Browse the repository at this point in the history