1. 08 3月, 2022 4 次提交
  2. 05 3月, 2022 3 次提交
    • B
      Merge build_helper into util · e657da72
      bjorn3 提交于
      e657da72
    • B
      Remove build_helper · 0cfc3e10
      bjorn3 提交于
      The majority of the code is only used by either rustbuild or
      rustc_llvm's build script. Rust_build is compiled once for rustbuild and
      once for every stage. This means that the majority of the code in this
      crate is needlessly compiled multiple times. By moving only the code
      actually used by the respective crates to rustbuild and rustc_llvm's
      build script, this needless duplicate compilation is avoided.
      0cfc3e10
    • R
      Support RelWithDebInfo for lld. · 6a50572c
      ridwanabdillahi 提交于
      6a50572c
  3. 04 3月, 2022 5 次提交
  4. 02 3月, 2022 1 次提交
  5. 27 2月, 2022 2 次提交
    • B
      Use the first codegen backend in the config.toml as default · 7ad4297a
      bjorn3 提交于
      It is currently hard coded to llvm if enabled and cranelift otherwise.
      This made some sense when cranelift was the only alternative codegen
      backend. Since the introduction of the gcc backend this doesn't make
      much sense anymore. Before this PR bootstrapping rustc using a backend
      other than llvm or cranelift required changing the source of
      rustc_interface. With this PR it becomes a matter of putting the right
      backend as first enabled backend in config.toml.
      7ad4297a
    • R
      avoid rebuilding bootstrap when PATH changes · 35e3aaf8
      Ralf Jung 提交于
      35e3aaf8
  6. 24 2月, 2022 1 次提交
  7. 22 2月, 2022 2 次提交
  8. 20 2月, 2022 1 次提交
  9. 17 2月, 2022 2 次提交
  10. 16 2月, 2022 1 次提交
  11. 12 2月, 2022 3 次提交
  12. 11 2月, 2022 1 次提交
  13. 10 2月, 2022 1 次提交
  14. 07 2月, 2022 5 次提交
  15. 06 2月, 2022 1 次提交
  16. 02 2月, 2022 1 次提交
  17. 31 1月, 2022 1 次提交
    • M
      Hide failed command unless in verbose mode · 9bf6a5de
      Mark Rousskov 提交于
      This is particularly intended for invoking compiletest; the command line there
      is long (3,350 characters on my system) and takes up a lot of screen real estate
      for little benefit to the majority of those running bootstrap. This moves
      printing it to verbose mode (-v must be passed) which means that it's still
      possible to access when needed for debugging.
      
      The main downside is that CI logs will by-default become less usable for
      debugging (particularly) spurious failures, but it is pretty rare for us to
      really need the information there -- it's usually fairly obvious what is being
      run with a little investigation.
      9bf6a5de
  18. 28 1月, 2022 2 次提交
  19. 21 1月, 2022 3 次提交
    • P
      allow excluding paths only from a single module · b3ad4053
      Pietro Albini 提交于
      x.py has support for excluding some steps from the invocation, but
      unfortunately that's not granular enough: some steps have the same name
      in different modules, and that prevents excluding only *some* of them.
      
      As a practical example, let's say you need to run everything in `./x.py
      test` except for the standard library tests, as those tests require IPv6
      and need to be executed on a separate machine. Before this commit, if
      you were to just run this:
      
          ./x.py test --exclude library/std
      
      ...the execution would fail, as that would not only exclude running the
      tests for the standard library, it would also exclude generating its
      documentation (breaking linkchecker).
      
      This commit adds support for an optional module annotation in --exclude
      paths, allowing the user to choose which module to exclude from:
      
          ./x.py test --exclude test::library/std
      
      This maintains backward compatibility, but also allows for more ganular
      exclusion. More examples on how this works:
      
      | `--exclude`         | Docs    | Tests   |
      | ------------------- | ------- | ------- |
      | `library/std`       | Skipped | Skipped |
      | `doc::library/std`  | Skipped | Run     |
      | `test::library/std` | Run     | Skipped |
      
      Note that the new behavior only works in the `--exclude` flag, and not
      in other x.py arguments or flags yet.
      b3ad4053
    • P
      b27d59d0
    • T
      Override rustc version in ui and mir-opt tests to get stable hashes · 8985e5ee
      The 8472 提交于
      Building a dozen separate regexps for each test in compiletest consumes significant amounts of CPU cycles.
      Using `RUSTC_FORCE_INCR_COMP_ARTIFACT_HEADER` stabilizes hashes calcuated for the individual tests so
      no test-dependent normalization is needed. Hashes for the standard library still change so some
      normalizations are still needed.
      8985e5ee