- 15 5月, 2021 1 次提交
-
-
由 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
-
- 12 5月, 2021 2 次提交
-
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
- 07 5月, 2021 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 06 5月, 2021 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 03 5月, 2021 1 次提交
-
-
由 Vadim Petrochenkov 提交于
MinGW driver for COFF LLD doesn't currently translate GNU-style `--threads=N` to native `/threads:N`, so we have to pass the option in its native form to avoid an error. Also pass the `threads` flag to lld-link as well
-
- 01 5月, 2021 2 次提交
-
-
由 Joshua Nelson 提交于
-
由 Joshua Nelson 提交于
This allows running a single test without having to wait for all tests to complete.
-
- 30 4月, 2021 1 次提交
-
-
由 Tyler Mandry 提交于
-
- 28 4月, 2021 1 次提交
-
-
由 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
-
- 26 4月, 2021 1 次提交
-
-
由 Ryan Levick 提交于
-
- 09 4月, 2021 1 次提交
-
-
由 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
-
- 04 4月, 2021 2 次提交
-
-
由 Rich Kadel 提交于
-
由 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`.
-
- 31 3月, 2021 1 次提交
-
-
由 Tom Eccles 提交于
We don't need to complain to the user about linkcheck having different hosts and targets when it is already excluded. This can be achieved by moving the check to when the step is run instead of in should_run.
-
- 28 3月, 2021 1 次提交
-
-
由 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.
-
- 27 3月, 2021 1 次提交
-
-
由 Ralf Jung 提交于
-
- 16 3月, 2021 1 次提交
-
-
由 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.)
-
- 07 3月, 2021 1 次提交
-
-
由 Rune Tynan 提交于
-
- 05 3月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
Rustdoc almost never needs a full stage 2 compiler, and requiring rustdoc tests to be in run-make-fulldeps adds a lot of compile time for no reason.
-
- 02 3月, 2021 1 次提交
-
-
由 The8472 提交于
-
- 28 2月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
-
- 21 2月, 2021 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 15 2月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
Previously, there two different ways to encode the same info: `None` or `Some(&[])`. Now there is only one way, `&[]`.
-
- 01 2月, 2021 1 次提交
-
-
由 Eric Huss 提交于
-
- 30 1月, 2021 1 次提交
-
-
由 Tomasz Miąsko 提交于
-
- 28 1月, 2021 1 次提交
-
-
由 Amanieu d'Antras 提交于
Newly added targets aren't available on the stage0 toolchain.
-
- 20 1月, 2021 3 次提交
-
-
由 Rune Tynan 提交于
-
由 Rune Tynan 提交于
-
由 Rune Tynan 提交于
-
- 04 1月, 2021 1 次提交
-
-
由 Dániel Buga 提交于
-
- 31 12月, 2020 2 次提交
-
-
由 Pietro Albini 提交于
The struct will allow to store more context on the generated tarballs.
-
由 Matthias Krüger 提交于
addresses: clippy::or_fun_call clippy::single_char_add_str clippy::comparison_to_empty clippy::or_fun_call
-
- 30 12月, 2020 2 次提交
-
-
由 Pietro Albini 提交于
-
由 Vadim Petrochenkov 提交于
-
- 16 12月, 2020 1 次提交
-
-
由 David Wood 提交于
This commit adds a Split DWARF compare mode to compiletest so that debuginfo tests are also tested using Split DWARF in split mode (and manually in single mode). Signed-off-by: NDavid Wood <david@davidtw.co>
-
- 02 12月, 2020 1 次提交
-
-
由 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
-
- 29 11月, 2020 2 次提交
-
-
由 Joshua Nelson 提交于
This also changes the builder to allow using `x.py test src/test/rustdoc-ui/intra-doc`; before, it would panic that no paths were found.
-
由 Eric Huss 提交于
-
- 19 11月, 2020 1 次提交
-
-
由 Josh Stone 提交于
We already set `compiletest` to use the local sysroot in #68019, but that missed the configuration for testing `compiletest` itself.
-