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

Closed
wants to merge 21 commits into from
Closed

Rollup of 10 pull requests #40059

wants to merge 21 commits into from

Commits on Feb 16, 2017

  1. [rustbuild] add a way to run command after failure

    This is a simple way to workaround the debugging issues caused by the rustc
    wrapper used in the bootstrap process. Namely, it uses some obscure environment
    variables and you can’t just copy the failed command and run it in the shell or
    debugger to examine the failure more closely.
    
    With `--on-fail` its possible to run an arbitrary command within exactly the
    same environment under which rustc failed. Theres’s multiple ways to use this
    new flag:
    
    $ python x.py build --stage=1 --on-fail=env
    
        would print a list of environment variables and the failed command, so a
        few copy-pastes and you now can run the same rust in your shell outside the
        bootstrap system.
    
    $ python x.py build --stage=1 --on-fail=bash
    
        Is a more useful variation of the command above in that it launches a whole
        shell with environment already in place! All that’s left to do is copy-paste
        the command just above the shell prompt!
    
    Fixes rust-lang#38686
    Fixes rust-lang#38221
    nagisa committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    0e45a5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2ac1c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2017

  1. add solaris sparcv9 support

    * Update bootstrap to recognize the cputype 'sparcv9' (used on Solaris)
    * Change to never use -fomit-frame-pointer on Solaris or for sparc
    * Adds rust target sparcv9-sun-solaris
    
    Fixes rust-lang#39901
    binarycrusader committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    2e756e2 View commit details
    Browse the repository at this point in the history
  2. 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
    0c4c6fd View commit details
    Browse the repository at this point in the history
  2. 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 21, 2017

  1. Configuration menu
    Copy the full SHA
    58a9dd3 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

Commits on Feb 23, 2017

  1. Update exception-safety.md

    Fix variable name typo
    DaseinPhaos authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    84ca464 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    729948f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    088b727 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#39886 - mbrubeck:doc-edit, r=steveklabnik

    Additional docs for Vec, String, and slice trait impls
    
    r? @steveklabnik
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    b8ccf59 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#39888 - nagisa:on-fail-bootstrap, r=alexcri…

    …chton
    
    [rustbuild] add a way to run command after failure
    
    This is a simple way to workaround the debugging issues caused by the rustc
    wrapper used in the bootstrap process. Namely, it uses some obscure environment
    variables and you can't just copy the failed command and run it in the shell or
    debugger to examine the failure more closely.
    
    With `--on-fail` its possible to run an arbitrary command within exactly the
    same environment under which rustc failed. Theres's multiple ways to use this
    new flag:
    
    $ python x.py build --stage=1 --on-fail=env
    
        would print a list of environment variables and the failed command, so a
        few copy-pastes and you now can run the same rust in your shell outside the
        bootstrap system.
    
    $ python x.py build --stage=1 --on-fail=bash
    
        Is a more useful variation of the command above in that it launches a whole
        shell with environment already in place! All that's left to do is copy-paste
        the command just above the shell prompt!
    
    Fixes rust-lang#38686
    Fixes rust-lang#38221
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    6f16bc3 View commit details
    Browse the repository at this point in the history
  6. 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.
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    d611b42 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#39903 - binarycrusader:issue-39901, r=alexc…

    …richton
    
    add solaris sparcv9 support
    
    Fixes rust-lang#39901
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    15330bf View commit details
    Browse the repository at this point in the history
  8. 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.
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    a83511e View commit details
    Browse the repository at this point in the history
  9. 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">
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    b4cae7a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40010 - GuillaumeGomez:barrier-docs, r=frew…

    …sxcv
    
    Add missing urls and examples into Barrier structs
    
    r? @frewsxcv
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    b1b5bcd View commit details
    Browse the repository at this point in the history
  11. 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
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    ff96ca1 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40050 - DaseinPhaos:patch-3, r=steveklabnik

    Update exception-safety.md
    
    Fix variable name typo
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    efa4d80 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40052 - GuillaumeGomez:sunc_docs, r=frewsxcv

    Add missing urls in MutexGuard docs
    
    r? @frewsxcv
    frewsxcv authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    a5e2cce View commit details
    Browse the repository at this point in the history