1. 15 5月, 2021 1 次提交
    • J
      Update bootstrap for in-tree rustfmt · 956e0bae
      Joshua Nelson 提交于
      - Add rustfmt to `x.py check`
      - Update Cargo.lock
      - Remove rustfmt from the toolstate list
      - Make rustfmt an in-tree tool
      - Give an error on `x.py test rustfmt` if rustfmt fails to build or if tests fail
      - Don't call `save_toolstate` when testing rustfmt
      956e0bae
  2. 12 5月, 2021 2 次提交
  3. 07 5月, 2021 1 次提交
  4. 06 5月, 2021 1 次提交
  5. 03 5月, 2021 1 次提交
  6. 01 5月, 2021 2 次提交
  7. 30 4月, 2021 1 次提交
  8. 28 4月, 2021 1 次提交
    • J
      Implement `x.py test src/tools/clippy --bless` · 8c25e27f
      Joshua Nelson 提交于
      - Add clippy_dev to the rust workspace
      
        Before, it would give an error that it wasn't either included or
        excluded from the workspace:
      
        ```
        error: current package believes it's in a workspace when it's not:
        current:   /home/joshua/rustc/src/tools/clippy/clippy_dev/Cargo.toml
        workspace: /home/joshua/rustc/Cargo.toml
      
        this may be fixable by adding `src/tools/clippy/clippy_dev` to the `workspace.members` array of the manifest located at: /home/joshua/rustc/Cargo.toml
        Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest.
        ```
      
      - Change clippy's copy of compiletest not to special-case
        rust-lang/rust. Using OUT_DIR confused `clippy_dev` and it couldn't find
        the test outputs. This is one of the reasons why `cargo dev bless` used
        to silently do nothing (the others were that `CARGO_TARGET_DIR` and
        `PROFILE` weren't set appropriately).
      
      - Run clippy_dev on test failure
      
      I tested this by removing a couple lines from a stderr file, and they
      were correctly replaced.
      
      - Fix clippy_dev warnings
      8c25e27f
  9. 26 4月, 2021 1 次提交
  10. 09 4月, 2021 1 次提交
    • T
      reduce threads spawned by ui-tests · 27868700
      The8472 提交于
      the test harness already spawns enough tests for all cores, individual
      tests should keep their own threading to a minimum to avoid context switch
      overhead
      
      some tests fail with 1 CGU, so explicit compile flags have been added
      to keep their old behavior
      27868700
  11. 04 4月, 2021 2 次提交
    • R
      ed89e6b8
    • R
      Make rust-demangler installable · 23325caf
      Rich Kadel 提交于
      Adds bootstrap rules to support installing rust-demangler.
      
      When compiling with `-Z instrument-coverage`, the coverage reports are
      generated by `llvm-cov`. `llvm-cov` includes a built-in demangler for
      C++, and an option to supply an alternate demangler. For Rust, we have
      `rust-demangler`, currently used in `rustc` coverage tests.
      
      Fuchsia's toolchain for Rust is built via `./x.py install`. Fuchsia is
      adding support for Rust coverage, and we need to include the
      `rust-demangler` in the installed `bin` directory.
      
      Configured rust-demangler as an in-tree extended tool.
      
      Added tests to support `./x.py test rust-demangler`.
      
      Install with extended tools by default only if `profiler = true`.
      23325caf
  12. 31 3月, 2021 1 次提交
  13. 28 3月, 2021 1 次提交
    • T
      bootstrap: don't run linkcheck when crosscompiling · b2a97ff4
      Tom Eccles 提交于
      When we cross compile, some things (and their documentation) are built
      for the host (e.g. rustc), while others (and their documentation) are built
      for the target. This generated documentation will have broken links
      between documentation for different platforms e.g. between rustc and
      cargo.
      b2a97ff4
  14. 27 3月, 2021 1 次提交
  15. 16 3月, 2021 1 次提交
    • F
      Make bootstrap be more informative when one does `x.py test` on a beta checkout without other mods. · d6de60fb
      Felix S. Klock II 提交于
      To be clear, by default running `x.py test` on a checkout of the beta branch
      currently fails, and with this change will continue to fail, because `x.py
      tests` runs `x.py test src/tools/tidy` which tries to run `rustfmt` and that
      will fail because the `rustfmt` binary is pinned to the current nighlty and we
      do not attempt to distribute one for the beta builds.
      
      This change gives a better error message than the current message, which is just
      "./x.py fmt is not supported on this channel" without providing any hint about
      what one might do about that problem.
      
      (update: placated tidy.)
      d6de60fb
  16. 07 3月, 2021 1 次提交
  17. 05 3月, 2021 1 次提交
  18. 02 3月, 2021 1 次提交
  19. 28 2月, 2021 1 次提交
  20. 21 2月, 2021 1 次提交
  21. 15 2月, 2021 1 次提交
  22. 01 2月, 2021 1 次提交
  23. 30 1月, 2021 1 次提交
  24. 28 1月, 2021 1 次提交
  25. 20 1月, 2021 3 次提交
  26. 04 1月, 2021 1 次提交
  27. 31 12月, 2020 2 次提交
  28. 30 12月, 2020 2 次提交
  29. 16 12月, 2020 1 次提交
  30. 02 12月, 2020 1 次提交
    • N
      Add tests for rustdoc json · 1098cce2
      Nixon Enraght-Moony 提交于
      Move rustdoc/rustdoc-json to rustdoc-json
      
      Scaffold rustdoc-json test mode
      
      Implement run_rustdoc_json_test
      
      Fix up python
      
      Make tidy happy
      1098cce2
  31. 29 11月, 2020 2 次提交
  32. 19 11月, 2020 1 次提交