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

Merged
merged 17 commits into from
Jul 25, 2018
Merged

Rollup of 7 pull requests #52680

merged 17 commits into from
Jul 25, 2018

Commits on Jul 14, 2018

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

Commits on Jul 15, 2018

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

Commits on Jul 24, 2018

  1. Stablize Redox Unix Sockets

    jD91mZM2 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    1581971 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f3ab49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    727bd7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10d8213 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cbe5f1c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2e33a55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fb08915 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3cce003 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#52391 - Amanieu:volatile_unaligned, r=alexc…

    …richton
    
    Add unaligned volatile intrinsics
    
    Surprisingly enough, it turns out that unaligned volatile loads are actually useful for certain (very niche) types of lock-free code. I included unaligned volatile stores for completeness, but I currently do not know of any use cases for them.
    
    These are only exposed as intrinsics for now. If they turn out to be useful in practice, we can work towards stabilizing them.
    
    r? @alexcrichton
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    06ba69d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#52402 - crepererum:build_hasher_eq, r=sfackler

    impl PartialEq+Eq for BuildHasherDefault
    
    `BuildHasherDefault`is only one way of implementing `BuildHasher`. Clearly, every `BuildHasherDefault` for the same type `H` is identical, since it just uses `Default<H>` to construct `H`. In general, this is not true for every `BuildHasher`, so I think it is helpful to implement `PartialEq` and `Eq`.
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    dab595e View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#52645 - oli-obk:existential_in_fn_body, r=d…

    …tolnay
    
    Allow declaring existential types inside blocks
    
    fixes rust-lang#52631
    
    r? @dtolnay
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    f930017 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#52656 - jD91mZM2:stablize-uds, r=alexcrichton

    Stablize Redox Unix Sockets
    
    I don't know if I did this correctly, but I basically spammed the `#[stable]` attribute everywhere :^)
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    28f8cb5 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#52658 - Wallacoloo:topics/use-option-method…

    …s, r=cramertj
    
    Prefer `Option::map`/etc over `match` wherever it improves clarity
    
    This isn't intended to change behavior anywhere. A lot of times statements like `match x { None => None, Some(y) => [...] }` can be rewritten using `Option::map` or `Option::and_then` in a way that preserves or improves clarity, so that's what I've done here.
    
    I think it's particularly valuable to keep things in `libcore` and `libstd` pretty/idiomatic since it's not uncommon to follow the `[src]` links when browsing the rust-lang.org docs for std/core. If there's any concern about pushing style-based changes though, I'll happily back out the non-std/core commits here.
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    c7a178e View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#52668 - RalfJung:ptr-doc, r=cramertj

    clarify pointer offset function safety concerns
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    4bb8c31 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#52677 - SimonSapin:relnotes, r=Mark-Simulacrum

    Release notes: add some missing 1.28 libs stabilization
    
    Some URLs are not valid yet unless you add `beta/`, but they should be when 1.28 is released.
    Mark-Simulacrum committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    1deaed9 View commit details
    Browse the repository at this point in the history