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

Closed
wants to merge 28 commits into from
Closed

Rollup of 9 pull requests #41522

wants to merge 28 commits into from

Commits on Apr 18, 2017

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

Commits on Apr 21, 2017

  1. Specify behavior of write_all for ErrorKind::Interrupted errors

    Also spell out that read and write operations should be retried on
    `ErrorKind::Interrupted` errors.
    
    Fixes rust-lang#38494.
    tbu- committed Apr 21, 2017
    Configuration menu
    Copy the full SHA
    c49d090 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2017

  1. Add Vec::splice and String::splice

    SimonSapin authored and mattico committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    2111aff View commit details
    Browse the repository at this point in the history
  2. Update splice impl

    mattico committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    b85e2e4 View commit details
    Browse the repository at this point in the history
  3. Improve splice docs and tests

    mattico committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    cec00ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c3baa8c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b86ba0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f852e3f View commit details
    Browse the repository at this point in the history
  7. Add Splice forget test

    mattico committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    feae5a0 View commit details
    Browse the repository at this point in the history
  8. Run tests for the cargo submodule in tree

    Previously the `cargotest` suite would run some arbitrary revision of Cargo's
    test suite, but now that we're bundling it in tree we should be running the
    Cargo submodule's test suite instead.
    alexcrichton committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    009f45f View commit details
    Browse the repository at this point in the history
  9. Pass --format-version 1 to cargo metadata.

    Suppress warning introduced by rust-lang/cargo#3841.
    kennytm committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    bd5e56c View commit details
    Browse the repository at this point in the history
  10. Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin.

    ASan and TSan are supported on macOS, and this commit enables their
    support.
    
    The sanitizers are always built as *.dylib on Apple platforms, so they
    cannot be statically linked into the corresponding `rustc_?san.rlib`. The
    dylibs are directly copied to `lib/rustlib/x86_64-apple-darwin/lib/`
    instead.
    
    Note, although Xcode also ships with their own copies of ASan/TSan dylibs,
    we cannot use them due to version mismatch.
    
    There is a caveat: the sanitizer libraries are linked as @rpath, so the
    user needs to additionally pass `-C rpath`:
    
        rustc -Z sanitizer=address -C rpath file.rs
                                   ^~~~~~~~
    
    Otherwise there will be a runtime error:
    
        dyld: Library not loaded: @rpath/libclang_rt.asan_osx_dynamic.dylib
          Referenced from: /path/to/executable
          Reason: image not found
        Abort trap: 6
    
    The next commit includes a temporary change in compiler to force the linker
    to emit a usable @rpath.
    kennytm committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    3c8118d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ec4c9b9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    957d51a View commit details
    Browse the repository at this point in the history
  13. Adds rust-windbg.cmd script

    AndrewGaspar authored and alexcrichton committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    70e6739 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a765dca View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aab87e3 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2017

  1. Configuration menu
    Copy the full SHA
    76397ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c168d8b View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#39983 - AndrewGaspar:rust-windbg, r=brson

    Adds rust-windbg.cmd script
    
    Adds rust-gdb/rust-lldb equivalent for windbg that loads the Rust .natvis files on start.
    
    This change modifies the bootstrap code to add rust-windbg to bin and the .natvis files to lib/rustlib/etc.
    
    Example usage from cmd or PowerShell:
    ```
    rust-windbg -c "bu rs_f442289d74765418!rs::main;g" target\debug\rs.exe
    ```
    frewsxcv authored Apr 25, 2017
    Configuration menu
    Copy the full SHA
    2ac3d6a View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40434 - mattico:splice-update, r=alexcrichton

    Implement Vec::splice and String::splice (RFC 1432)
    
    RFC: rust-lang/rfcs#1432, tracking issue: rust-lang#32310
    A rebase of rust-lang#32355 with a few more tests.
    
    Let me know if you have any ideas for more tests.
    
    cc @SimonSapin
    frewsxcv authored Apr 25, 2017
    Configuration menu
    Copy the full SHA
    5947cec View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41352 - kennytm:macos-sanitizers, r=alexcri…

    …chton
    
    Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin
    
    [ASan](https://clang.llvm.org/docs/AddressSanitizer.html#supported-platforms) and [TSan](https://clang.llvm.org/docs/ThreadSanitizer.html#supported-platforms) are supported on macOS, and this commit enables their support.
    
    The sanitizers are always built as `*.dylib` on Apple platforms, so they cannot be statically linked into the corresponding `rustc_?san.rlib`. The dylibs are directly copied to `lib/rustlib/x86_64-apple-darwin/lib/` instead.
    
    Note, although Xcode also ships with their own copies of ASan/TSan dylibs, we cannot use them due to version mismatch.
    
    ----
    
    ~~There is a caveat: the sanitizer libraries are linked as `@rpath/` (due to https://reviews.llvm.org/D6018), so the user needs to additionally pass `-C rpath`:~~
    
    **Edit:** Passing rpath is now automatic.
    frewsxcv authored Apr 25, 2017
    Configuration menu
    Copy the full SHA
    fc37cc0 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#41362 - alexcrichton:run-cargot-ests, r=aturon

    Run tests for the cargo submodule in tree
    
    Previously the `cargotest` suite would run some arbitrary revision of Cargo's
    test suite, but now that we're bundling it in tree we should be running the
    Cargo submodule's test suite instead.
    frewsxcv authored Apr 25, 2017
    Configuration menu
    Copy the full SHA
    05cf1dd View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#41370 - malbarbo:android-bootstrap, r=alexc…

    …richton
    
    Add bootstrap support for android
    frewsxcv authored Apr 25, 2017
    Configuration menu
    Copy the full SHA
    429f8ff View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#41442 - tbu-:pr_writeall_interrupted, r=aturon

    Specify behavior of `write_all` for `ErrorKind::Interrupted` errors
    
    Also spell out that read and write operations should be retried on
    `ErrorKind::Interrupted` errors.
    
    Fixes rust-lang#38494.