1. 31 7月, 2020 1 次提交
  2. 29 7月, 2020 1 次提交
  3. 28 7月, 2020 1 次提交
  4. 18 7月, 2020 1 次提交
    • R
      Generating the coverage map · a6f8b8a2
      Rich Kadel 提交于
      rustc now generates the coverage map and can support (limited)
      coverage report generation, at the function level.
      
      Example:
      
      $ BUILD=$HOME/rust/build/x86_64-unknown-linux-gnu
      $ $BUILD/stage1/bin/rustc -Zinstrument-coverage \
      $HOME/rust/src/test/run-make-fulldeps/instrument-coverage/main.rs
      $ LLVM_PROFILE_FILE="main.profraw" ./main
      called
      $ $BUILD/llvm/bin/llvm-profdata merge -sparse main.profraw -o main.profdata
      $ $BUILD/llvm/bin/llvm-cov show --instr-profile=main.profdata main
          1|      1|pub fn will_be_called() {
          2|      1|    println!("called");
          3|      1|}
          4|       |
          5|      0|pub fn will_not_be_called() {
          6|      0|    println!("should not have been called");
          7|      0|}
          8|       |
          9|      1|fn main() {
         10|      1|    let less = 1;
         11|      1|    let more = 100;
         12|      1|
         13|      1|    if less < more {
         14|      1|        will_be_called();
         15|      1|    } else {
         16|      1|        will_not_be_called();
         17|      1|    }
         18|      1|}
      a6f8b8a2
  5. 17 7月, 2020 1 次提交
    • J
      Teach bootstrap about target files vs target triples · e2b337dc
      Jake Goulding 提交于
      `rustc` allows passing in predefined target triples as well as JSON
      target specification files. This change allows bootstrap to have the
      first inkling about those differences. This allows building a
      cross-compiler for an out-of-tree architecture (even though that
      compiler won't work for other reasons).
      
      Even if no one ever uses this functionality, I think the newtype
      around the `Interned<String>` improves the readability of the code.
      e2b337dc
  6. 08 7月, 2020 1 次提交
  7. 06 7月, 2020 1 次提交
  8. 30 6月, 2020 1 次提交
  9. 26 6月, 2020 1 次提交
  10. 23 6月, 2020 1 次提交
  11. 16 6月, 2020 1 次提交
  12. 15 6月, 2020 1 次提交
    • E
      Switch bootstrap metadata to --no-deps. · 607e8511
      Eric Huss 提交于
      This should run much faster.
      
      There are also some drive-by cleanups here to try to simplify things.
      Also, the paths for in-tree crates are now displayed as relative
      in `x.py test -h -v`.
      607e8511
  13. 14 6月, 2020 1 次提交
  14. 13 6月, 2020 1 次提交
  15. 12 6月, 2020 1 次提交
  16. 07 6月, 2020 1 次提交
    • M
      Try_run must only be used if toolstate is populated · 6f015768
      Mark Rousskov 提交于
      Clippy's tests were failing the build, but that failure was ignored in favor of
      checking toolstate. This is the correct behavior for toolstate-checked tools,
      but Clippy no longer updates its toolstate status as it should always build.
      6f015768
  17. 02 6月, 2020 1 次提交
  18. 31 5月, 2020 1 次提交
  19. 28 5月, 2020 1 次提交
    • M
      Clippy should always build · b1063b83
      Mark Rousskov 提交于
      This just unwraps clippy's build step instead of skipping tests if clippy didn't
      build. This matches e.g. cargo's behavior and seems more correct, as we always
      expect clippy to successfully build.
      b1063b83
  20. 24 5月, 2020 1 次提交
  21. 11 5月, 2020 2 次提交
  22. 06 5月, 2020 1 次提交
  23. 03 5月, 2020 1 次提交
  24. 02 5月, 2020 1 次提交
  25. 22 4月, 2020 1 次提交
  26. 14 4月, 2020 1 次提交
  27. 11 4月, 2020 1 次提交
  28. 31 3月, 2020 1 次提交
    • J
      Ensure LLVM is in the link path for "fulldeps" tests · 6067315d
      Josh Stone 提交于
      This is a follow-up to #70123, which added `llvm-config --libdir` to the
      `LIBRARY_PATH` for rustc tools. We need the same for "run-make-fulldeps"
      and "ui-fulldeps" tests which depend on compiler libraries, implicitly
      needing to link to `-lLLVM` as well.
      6067315d
  29. 25 3月, 2020 1 次提交
  30. 24 3月, 2020 1 次提交
  31. 20 3月, 2020 1 次提交
  32. 14 3月, 2020 1 次提交
  33. 13 3月, 2020 1 次提交
  34. 04 3月, 2020 1 次提交
  35. 22 2月, 2020 1 次提交
  36. 17 2月, 2020 1 次提交
  37. 16 2月, 2020 1 次提交
    • O
      Fix running rustdoc-js test suite individually · 33007253
      Oliver Middleton 提交于
      Without `Compiletest.path` set running `x.py test src/test/rustdoc-js` would run the `rustdoc-js` test suite with everything filtered out.
      
      As this was the only place setting `Compiletest.path` to `None` this removes the `Option` wrapper as well.
      33007253
  38. 14 2月, 2020 1 次提交
  39. 09 2月, 2020 1 次提交