1. 13 8月, 2017 12 次提交
    • M
      Correct code to not run host-only tests. · 65719683
      Mark Simulacrum 提交于
      65719683
    • M
      Clean tools after building libstd/libtest/librustc. · cec68167
      Mark Simulacrum 提交于
      This fixes the bug we previously had where we'd build a libtest tool
      after building a libstd tool and clear out the libstd tool. Since we
      clear out all tools for a given stage on invocations of CleanTools after
      lib{std, test, rustc} change, we need to make sure that all tools built
      with that stage will be built after the clearing is done.
      
      The fix contained here technically isn't perfect; there is still an edge
      case of compiling a libstd tool, then compiling libtest, which will
      clear out the libstd tool and it won't ever get rebuilt within that
      session of rustbuild. This is where the caching system used today shows
      it's problems -- in effect, all tools depend on a global counter of the
      stage being cleared out. We can implement such a counter in a future
      patch to ensure that tools are rebuilt as needed, but it is deemed
      unlikely that it will be required in practice, since most if not all
      tools are built after the relevant stage's std/test/rustc are built,
      though this is only an opinion and hasn't been verified.
      cec68167
    • M
      Build rustdoc only at the top stage · facf5a91
      Mark Simulacrum 提交于
      facf5a91
    • M
      Build rustdoc with the stageN compiler in N >= 2. · ad4acbaa
      Mark Simulacrum 提交于
      This permits proc macro crates to correctly work with rustdoc.
      ad4acbaa
    • M
      83b68125
    • M
      Add ability to ignore git when building rust. · 40dea65e
      Mark Simulacrum 提交于
      Some users of the build system change the git sha on every build due to
      utilizing git to push changes to a remote server. This allows them to
      simply configure that away instead of depending on custom patches to
      rustbuild.
      40dea65e
    • M
      Allow overriding build triple via flag. · 5290c6c8
      Mark Simulacrum 提交于
      We first check the configuration, then passed parameters (--build), then
      fall back to the auto-detection that bootstrap.py does.
      
      Fixes #39673.
      5290c6c8
    • M
      Allow specifiying targets and hosts not in the config file. · 84d9a6ee
      Mark Simulacrum 提交于
      We no longer care about the source of this information, so there is no
      reason to restrict users.
      84d9a6ee
    • M
      Unify flags into config. · 44ffb616
      Mark Simulacrum 提交于
      This introduces a slight change in behavior, where we unilaterally
      respect the --host and --target parameters passed for all sanity
      checking and runtime configuration.
      44ffb616
    • B
      Auto merge of #43724 - lukaramu:std-ops-docs, r=QuietMisdreavus · f774bced
      bors 提交于
      Improve std::ops docs
      
      Fixes #29365. (This fixes all but one point from @steveklabnik's list, but that point was referring to examples of implementing range traits, but there are no range traits in std::ops.)
      
      The main changes are quite a bit of copyediting, adding more "real" examples for some of the traits, incorporating some guidance from the API docs, more linking (cross-docs and to the book & reference), cleaning up examples, moving things around, and so on. Refer to the commit messages for more details.
      
      Note: I decided to link to the second edition of the book since I think it's more appropriate now for the sections I linked, if this is not okay, please say so!
      f774bced
    • L
      std::ops docs: incorporated changes suggested in review · 6bdba82b
      lukaramu 提交于
      * fixed link typos and copy-paster errors
      * rewrote Fn* explanations
      * `RHS = Self` -> `RHS` is `Self` (added that to all applicable places as
        well)
      * fixed up some links
      * s/MutDeref/DerefMut
      * removed remaining superfluous `fn main()`s
      * fixed some minor phrasings and factual errors and inaccuracies
      
      std::ops docs: Fix phrasing and factual errors/inaccuracies
      6bdba82b
    • B
      Auto merge of #43820 - sfackler:move-config-template, r=alexcrichton · 0269acbb
      bors 提交于
      Move config.toml.example to the root dir
      
      It's way more discoverable here.
      
      r? @alexcrichton
      0269acbb
  2. 12 8月, 2017 14 次提交
  3. 11 8月, 2017 14 次提交