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

Closed
wants to merge 27 commits into from
Closed

Commits on Feb 16, 2017

  1. Configuration menu
    Copy the full SHA
    b2ac1c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    047a215 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2017

  1. Follow rename of mx_handle_wait Magenta syscalls

    The mx_handle_wait_* syscalls in Magenta were renamed to
    mx_object_wait. The syscall is used in the Magenta/Fuchsia
    implementation of std::process, to wait on child processes.
    
    In addition, this patch enables the use of the system provided
    libbacktrace library on Fuchsia targets. Symbolization is not yet
    working, but at least it allows printing hex addresses in a backtrace
    and makes building succeed when the backtrace feature is not disabled.
    raphlinus committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    6091330 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2017

  1. Configuration menu
    Copy the full SHA
    5205e2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c4c6fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d65622 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    56e519d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a611bbc View commit details
    Browse the repository at this point in the history
  6. Fix indentation of error message

    So I just encountered this error for the first time. It's unclear what
    it means, why I encountered it, or how to fix it. But worst of all, it
    has a random newline and weird indentation! This commit fixes that last
    bit.
    sgrif committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    ec648a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2017

  1. Configuration menu
    Copy the full SHA
    e606a43 View commit details
    Browse the repository at this point in the history
  2. Simplify adaptive hashmap

    arthurprs committed Feb 20, 2017
    Configuration menu
    Copy the full SHA
    25b1488 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2017

  1. Configuration menu
    Copy the full SHA
    58a9dd3 View commit details
    Browse the repository at this point in the history
  2. Switch Fuchsia to readdir (instead of readdir_r)

    The readdir_r function is deprecated on newer Posix systems because of
    various problems, and not implemented at all for Fuchsia. There are
    already implementations using both, and this patch switches Fuchsia
    over to the readdir-based one.
    
    Fixes rust-lang#40021 for Fuchsia, but that issue also contains discussion of
    what should happen for other Posix systems.
    raphlinus committed Feb 21, 2017
    Configuration menu
    Copy the full SHA
    163698c View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2017

  1. Configuration menu
    Copy the full SHA
    689dc26 View commit details
    Browse the repository at this point in the history
  2. Update name_bytes, scoop up latest libc

    Update the implementation of name_bytes to use the owned string (which
    is thread safe). Also bump the src/liblibc submodule now that's merged.
    raphlinus committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    81b9b3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3ee249 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    958fbc5 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#39859 - GuillaumeGomez:rustdoc-test-relativ…

    …e-path, r=alexcrichton
    
    Set rustdoc --test files' path relative to the current directory
    
    r? @alexcrichton
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    795f929 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#39864 - cramertj:normalize-breaks, r=nikoma…

    …tsakis
    
    Normalize labeled and unlabeled breaks
    
    Part of rust-lang#39849.
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    3952bb0 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#39886 - mbrubeck:doc-edit, r=steveklabnik

    Additional docs for Vec, String, and slice trait impls
    
    r? @steveklabnik
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    8f07320 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#39892 - petrochenkov:rt, r=alexcrichton

    Fix test caching on Windows/GNU
    
    Addresses rust-lang#36385 (comment)
    
    Previously the sysroot directory was purged on every build and mingw startup objects were rebuilt unconditionally and always triggered test reruns.
    Now the sysroot directory is reused and mingw startup objects are rebuilt only when necessary, so test caching works.
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    a55c74a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#39914 - raphlinus:mx_handle_wait, r=alexcri…

    …chton
    
    Follow rename of mx_handle_wait Magenta syscalls
    
    The mx_handle_wait_* syscalls in Magenta were renamed to
    mx_object_wait. The syscall is used in the Magenta/Fuchsia
    implementation of std::process, to wait on child processes.
    
    In addition, this patch enables the use of the system provided
    libbacktrace library on Fuchsia targets. Symbolization is not yet
    working, but at least it allows printing hex addresses in a backtrace
    and makes building succeed when the backtrace feature is not disabled.
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    fd05cc3 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#39940 - sgrif:sg-indentation, r=alexcrichton

    Fix indentation of error message
    
    So I just encountered this error for the first time. It's unclear what
    it means, why I encountered it, or how to fix it. But worst of all, it
    has a random newline and weird indentation! This commit fixes that last
    bit.
    
    <img width="680" alt="screen shot 2017-02-18 at 4 35 36 pm" src="https://cloud.githubusercontent.com/assets/1529387/23097087/0ef5ac4a-f5f9-11e6-9132-18ce759f7092.png">
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    195579f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#39988 - arthurprs:hm-adapt2, r=alexcrichton

    Simplify/fix adaptive hashmap
    
    Please see rust-lang#38368 (comment) for context.
    
    The shift length math is broken. It turns out that checking for the shift length is complicated. Using simulations it's possible to see that a value of 2000 will only get probabilities down to ~1e-7 when the hashmap load factor is 90% (rust goes up to 90.9% as of today). That's probably not good enough to go into the stdlib with pluggable hashers.
    
    So this PR simplify the adaptive behavior to only consider displacement, which is much safer and very useful by itself.
    
    There's two comments because one of them is already being tested to be merged by bors.
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    b013fb0 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40010 - GuillaumeGomez:barrier-docs, r=frew…

    …sxcv
    
    Add missing urls and examples into Barrier structs
    
    r? @frewsxcv
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    92f1cac View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40024 - raphlinus:readdir, r=alexcrichton

    Switch Fuchsia to readdir (instead of readdir_r)
    
    The readdir_r function is deprecated on newer Posix systems because of
    various problems, and not implemented at all for Fuchsia. There are
    already implementations using both, and this patch switches Fuchsia
    over to the readdir-based one.
    
    Fixes rust-lang#40021 for Fuchsia, but that issue also contains discussion of
    what should happen for other Posix systems.
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    7e544c2 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#40030 - matklad:stack-docs, r=alexcrichton

    Clarify thread::Builder::stack_size docs
    
    Add two pieces of information:
    
    * the size is in bytes
    * the actual stack size might be bigger.
    
    Also change the example to use a more realistic value of 32 kilobytes.
    
    r? @steveklabnik
    GuillaumeGomez committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    708da3e View commit details
    Browse the repository at this point in the history