Commits on Apr 28, 2016

Commits on Apr 30, 2016

Commits on May 1, 2016

  1. dep_graph: avoid panicking in thread when channel closed

    On my system, when the processor is already loaded, and I try to
    run the test suite, e.g. compile-fail/dep-graph-assoc-type-trans.rs
    fails because of undecodable JSON.
    
    Running the compiler manually, I can see that the dep graph thread
    panics (and puts non-JSON on stderr) while `send`ing on `swap_out`,
    presumably because the other end has already quit.  I think that in
    this case, we can just gracefully exit the thread.
    birkenfeld committed May 1, 2016

Commits on May 2, 2016

  1. std::thread docs: spawn() returns not a Thread anymore

    Also move the "Thread type" section down a bit, since it is
    not so important anymore.
    
    Fixes: #33321
    birkenfeld committed May 2, 2016
  2. parser: do not try to continue with unsafe on foreign fns

    The changed line makes it look like `unsafe` is allowed, but the
    first statement of `parse_item_foreign_fn` is:
    
    `self.expect_keyword(keywords::Fn)?;`
    
    So we get the strange "expected one of `fn`, `pub`, `static`, or
    `unsafe`, found `unsafe`".
    
    Fixes: #27361
    birkenfeld committed May 2, 2016

Commits on May 4, 2016

  1. errors in the doc

    kindlychung committed May 4, 2016
  2. Update iterator.rs

    kindlychung committed May 4, 2016

Commits on May 5, 2016

  1. Add detailed error explanation for E0504

    Removed unnecessary use of threads from E0504
    
    Cleaned up line ending on E0504
    
    Added more examples for E0504
    
    Changed to erroneous code wording
    
    Switched Rc example to thread/Arc example
    
    Added comments describing why errors no longer occur
    cramertj committed May 5, 2016
  2. mk: Fix building with --enable-ccache

    We will no longer use `ccache` in the makefiles for our local dependencies like
    miniz, but they're so small anyway it doesn't really matter.
    
    Closes #33285
    alexcrichton committed May 5, 2016
  3. doc: Update reference with better description of target_env

    The definition of this value recently changed slightly. It no
    longer corresponds directly to the target triple.
    
    Also shuffled things around to make the order of cfg descriptions more
    logical and added text related them to the target triple.
    
    cc #33403
    brson committed May 5, 2016
  4. make orbit the default

    nikomatsakis committed May 5, 2016
  5. Rollup merge of #33129 - GuillaumeGomez:fmt_doc, r=steveklabnik

    Doc improvement on std::fmt module
    
    Part of #29355.
    
    r? @steveklabnik
    steveklabnik committed May 5, 2016
  6. Rollup merge of #33256 - pnkfelix:add-rustc-specific-tags-files, r=ni…

    …komatsakis
    
    Add `TAGS.rustc.emacs`/`TAGS.rustc.vi` make targets
    
    Add `TAGS.rustc.emacs`/`TAGS.rustc.vi` make targets, (re-)including rustc source.
    steveklabnik committed May 5, 2016
  7. Rollup merge of #33283 - GuillaumeGomez:process_doc, r=steveklabnik

    Add process types documentation
    
    Part of #29370.
    
    r? @steveklabnik
    steveklabnik committed May 5, 2016
  8. Rollup merge of #33313 - birkenfeld:depgraph-panic, r=nikomatsakis

    dep_graph: avoid panicking in thread when channel closed
    
    On my system, when the processor is already loaded, and I try to
    run the test suite, e.g. compile-fail/dep-graph-assoc-type-trans.rs
    fails because of undecodable JSON.
    
    Running the compiler manually, I can see that the dep graph thread
    panics (and puts non-JSON on stderr) while `send`ing on `swap_out`,
    presumably because the other end has already quit.  I think that in
    this case, we can just gracefully exit the thread.
    steveklabnik committed May 5, 2016
  9. Rollup merge of #33314 - alexcrichton:fix-enable-ccache, r=pnkfelix

    mk: Fix building with --enable-ccache
    
    We will no longer use `ccache` in the makefiles for our local dependencies like
    miniz, but they're so small anyway it doesn't really matter.
    
    Closes #33285
    steveklabnik committed May 5, 2016
  10. Rollup merge of #33326 - birkenfeld:issue-33321, r=GuillaumeGomez

    std::thread docs: spawn() does not return a Thread anymore
    
    Also move the "Thread type" section down a bit, since it is not so important anymore.
    
    Fixes: #33321
    steveklabnik committed May 5, 2016
  11. Rollup merge of #33336 - birkenfeld:issue-27361, r=sfackler

    parser: do not try to continue with `unsafe` on foreign fns
    
    The changed line makes it look like `unsafe` is allowed, but the first statement of `parse_item_foreign_fn` is:
    
    ```
    self.expect_keyword(keywords::Fn)?;
    ```
    
    So we get the strange "expected one of `fn`, `pub`, `static`, or `unsafe`, found `unsafe`".
    
    Fixes: #27361
    steveklabnik committed May 5, 2016
  12. Rollup merge of #33386 - cramertj:E0504, r=steveklabnik

    Add detailed error explanation for E0504
    
    Part of #32777
    steveklabnik committed May 5, 2016
  13. Rollup merge of #33402 - shepmaster:copied-variable-name, r=Manishearth

    Replace copy-pasted variable name with relevant one
    steveklabnik committed May 5, 2016
  14. Rollup merge of #33409 - kindlychung:patch-2, r=steveklabnik

    errors in the doc
    steveklabnik committed May 5, 2016
  15. Rollup merge of #33410 - GuillaumeGomez:explain, r=Manishearth

    Remove rust flags from doc block
    
    Fixes #33405
    
    r? @Manishearth
    steveklabnik committed May 5, 2016
  16. Rollup merge of #33428 - fiveop:wrapping_example, r=steveklabnik

    Add an example to Wrapping's documentation.
    
    Such an example would have helped me understand `Wrapping` quicker.
    
    r? @steveklabnik
    steveklabnik committed May 5, 2016
  17. Rollup merge of #33437 - brson:trips, r=Manishearth

    doc: Update reference with better description of target_env
    
    The definition of this value recently changed slightly. It no
    longer corresponds directly to the target triple.
    
    Also shuffled things around to make the order of cfg descriptions more
    logical and added text related them to the target triple.
    
    cc #33403
    steveklabnik committed May 5, 2016
  18. Rollup merge of #33438 - birkenfeld:dup-words, r=steveklabnik

    Fix some some duplicate words.
    steveklabnik committed May 5, 2016
  19. Auto merge of #33441 - steveklabnik:rollup, r=steveklabnik

    Rollup of 15 pull requests
    
    - Successful merges: #33129, #33256, #33283, #33313, #33314, #33326, #33336, #33386, #33402, #33409, #33410, #33428, #33430, #33437, #33438
    - Failed merges:
    bors committed May 5, 2016