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 11 pull requests #47339

Closed
wants to merge 26 commits into from
Closed

Rollup of 11 pull requests #47339

wants to merge 26 commits into from

Commits on Jan 8, 2018

  1. Update musl to 1.1.18

    According to http://www.musl-libc.org/download.html:
    
    This release corrects regressions in glob() and armv4t build failure
    introduced in the previous release, and includes an important bug fix
    for posix_spawnp in the presence of a large PATH environment variable.
    malbarbo committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    b5a3f56 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Update jobserver to 0.1.9

    Fix for `ENOSYS` when calling `pipe2`, rust-lang/jobserver-rs#5.
    
    r? @alexcrichton
    cuviper committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b1c9b6e View commit details
    Browse the repository at this point in the history
  2. Skip linker-output-non-utf8 test on Apple

    This test fails on APFS filesystems with the following error:
    
    mkdir: /Users/ryan/Code/rust/build/x86_64-apple-darwin/test/run-make/linker-output-non-utf8.stage2-x86_64-apple-darwin/zzz�: Illegal byte sequence
    
    This is due to APFS now requiring that all paths are valid UTF-8. As
    APFS will be the default filesystem for all new Darwin-based systems the
    most straightforward fix is to skip this test on Darwin as well as
    Windows.
    etaoins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a713c67 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b420cf View commit details
    Browse the repository at this point in the history
  4. Restore the original Window comment

    The Windows situation is more complicated than I realised
    etaoins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    4cc0fe5 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    etaoins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b69c320 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Configuration menu
    Copy the full SHA
    ce4673d View commit details
    Browse the repository at this point in the history
  2. fix typo rwlock.rs

    Hi. Fixed typo: contained -> content
    bmusin authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    d0d5db6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00ce7ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44912bf View commit details
    Browse the repository at this point in the history
  5. Fix panic strings.

     - Fix panic string in `check_ast_crate`.
    dlrobertson committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    c78679d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f9c057 View commit details
    Browse the repository at this point in the history
  7. Fix typo.

    Alexis Hunt committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    9d9504a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2018

  1. Configuration menu
    Copy the full SHA
    9649c4a View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#47283 - malbarbo:musl-1.1.18, r=alexcrichton

    Update musl to 1.1.18
    
    According to http://www.musl-libc.org/download.html:
    
    This release corrects regressions in glob() and armv4t build failure
    introduced in the previous release, and includes an important bug fix
    for posix_spawnp in the presence of a large PATH environment variable.
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    173ab34 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#47288 - cuviper:jobserver-pipe2, r=alexcric…

    …hton
    
    Update jobserver to 0.1.9
    
    Fix for `ENOSYS` when calling `pipe2`, rust-lang/jobserver-rs#5.
    
    r? @alexcrichton
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    213bbde View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#47289 - etaoins:skip-linker-output-non-utf8…

    …-test-on-apple, r=kennytm
    
    Skip linker-output-non-utf8 test on Apple
    
    This test fails on APFS filesystems with the following error:
    
    ```shell
    mkdir: /Users/ryan/Code/rust/build/x86_64-apple-darwin/test/run-make/linker-output-non-utf8.stage2-x86_64-apple-darwin/zzz�: Illegal byte sequence
    ```
    
    The mkdir does succeed on an HFS+ volume mounted on the same system:
    ```shell
    $ mkdir zzz$$'\xff'
    $ ls
    zzz47432\xff
    ```
    
    This is due to APFS now requiring that all paths are valid UTF-8. As APFS will be the default filesystem for all new Darwin-based systems the most straightforward fix is to skip this test on Darwin as well as Windows.
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    55d27c8 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#47298 - cramertj:path-as-modrs, r=nikomatsakis

    Treat #[path] files as mod.rs files
    
    Fixes rust-lang#46936, cc @briansmith, @SergioBenitez, @nikomatsakis.
    
    This (insta-stable) change treats files included via `#[path = "bla.rs"] mod foo;` as though they were `mod.rs` files. Namely, it allows them to include `mod` statements and looks for the child modules in sibling directories, rather than in relative `modname/childmodule.rs` files as happens for non-`mod.rs` files.
    
    This change makes the `non_modrs_mods` feature backwards compatible with the existing usage in https://github.com/briansmith/ring, several versions of which are currently broken in beta. If we decide to merge, this change should be backported to beta.
    
    cc rust-lang#37872
    
    r? @jseyfried
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    0323654 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#47305 - cramertj:better-calendar-alone, r=e…

    …ddyb
    
    Use copy/clone closures to simplify calendar test
    
    Split out from rust-lang#47304
    
    r? @eddyb
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    c0dc4c5 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#47307 - dlrobertson:fix_panic_strings, r=ke…

    …nnytm
    
    Fix panic strings.
    
     - Fix panic string in `check_ast_crate`.
     - Update panic string for Duration subtraction on overflow/underflow.
    
    Not sure if the changes to `Duration` are helpful/needed. Mostly just a nit.
    Otherwise this is just a one character change :)
    
    On another note: I hit the panic in `check_ast_crate` when compiling
    [m-labs/smoltcp] with the following:
    
    ```
    cargo test --doc --no-default-features --features "std socket-raw"`
    ```
    
    [m-labs/smoltcp]: https://github.com/m-labs/smoltcp
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    b95f18f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#47310 - bmusin:patch-1, r=sfackler

    fix typo rwlock.rs
    
    Hi. Fixed typo: contained -> content
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    2f43a2b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#47322 - nikomatsakis:nll-ice, r=pnkfelix

    resolve type and region variables in "NLL dropck"
    
    Fixes rust-lang#47022.
    
    r? @pnkfelix
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    56e8f5d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#47324 - mbrubeck:len, r=sfackler

    Pre-allocate in fs::read and fs::read_string
    
    This is a simpler alternative to rust-lang#46340 and rust-lang#45928, as requested by the libs team.
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    da0e548 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#47328 - mbrubeck:fs_read, r=sfackler

    Use the new fs_read_write functions in rustc internals
    
    Uses `fs::read` and `fs::write` (added by rust-lang#45837) where appropriate, to simplify code and dog-food these new APIs.  This also improves performance, when combined with rust-lang#47324.
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    ab73129 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b256b83 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#47344 - topecongiro:fixed-ices, r=alexcrichton

    Add tests to fixed issues.
    
    Closes rust-lang#36792. Closes rust-lang#38091. Closes rust-lang#39687. Closes rust-lang#42148. Closes rust-lang#42956.
    kennytm authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    4551f3a View commit details
    Browse the repository at this point in the history