Ed Page
14646e6af6
test: Make edition explicit on packages
2024-02-22 11:37:03 -06:00
Ed Page
831847e5f0
fix(rustc): Always pass --edition to rustc
...
On [Internals](https://internals.rust-lang.org/t/idea-rustc-cargo-should-warn-on-unspecified-edition/20309 ),
the idea came up for warning on unset Edition.
I am working on the cargo warning but if rustc ever wants to do so,
they'd be blocked on cargo ensuring `--edition` is always set.
Hence this change.
2024-02-28 15:35:41 -06:00
Ed Page
e7e8d8748a
fix(compiler): Clarify we're showing a profile name
2024-02-08 14:01:39 -06:00
Scott Schafer
e2a6ed7984
chore: update cache_messages
test to use check
2023-02-20 12:20:26 -06:00
Eric Huss
493e8b7dd1
Deduplicate compiler diagnostics.
2021-07-09 16:20:46 -07:00
Eric Huss
7b229bbe39
Move the rustc-echo-wrapper to be shared across tests.
...
This helps avoid rebuilding the same project several times.
2021-06-09 17:13:33 -07:00
Eric Huss
0ca1767f03
Fix redundant semicolon.
2020-12-31 08:44:34 -08:00
Eduardo Broto
f838a003f1
Stabilize RUSTC_WORKSPACE_WRAPPER
2020-12-13 23:50:15 +01:00
Eric Huss
10426acb54
Fix cache_messages::rustdoc test broken on beta.
2020-08-26 11:17:57 -07:00
Eric Huss
7438770be8
Revert always computing filename Metadata.
...
When a unit does not have Metadata, the computation of fingerprints
depends on reusing the same fingerprint file to detect if the
output needs to be rebuilt. The previous change that put each unit's
fingerprint into a separate directory was wrong, and broke change
detection in this case (for example, executables on MSVC).
Instead, use a different approach to deal with compiler output caching
by using the same naming convention as the fingerprint file itself.
2020-05-06 12:06:39 -07:00
Eric Huss
eac3b66bd4
Rework how Cargo computes the rustc file outputs.
2020-05-05 14:32:52 -07:00
Jane Lusby
76797b5c2a
switch from bash script to rust program
2020-03-13 14:59:41 -07:00
Jane Lusby
b0351e4d87
Close the front door for clippy but open the back
2020-03-12 19:27:48 -07:00
Eric Huss
c67cd7a1a2
Add test for caching large output.
2020-03-10 11:23:18 -07:00
Kinrany
bc4c65c5d3
Do not run formats_source
if rustfmt
is not available
...
Generalized `clippy_is_available` and renamed as `command_is_available`.
No checks in `ignores_failure_to_format_source`, it's not supposed to
use `rustfmt` even if it's available
2020-02-05 10:09:43 +03:00
Eric Huss
7be3c2f09b
Fix cache replay including extra newlines.
2020-01-21 16:03:35 -08:00
Eric Huss
83571aee56
Minor testsuite organization.
2019-11-24 18:42:45 -08:00
Eric Huss
8149c7fbbf
Add hack for fwdansi change.
2019-11-18 17:25:47 -08:00
Eric Huss
bd73e8dab5
Stabilize cache-messages
2019-09-30 14:04:10 -07:00
Alex Crichton
9115b2c326
Extract support
directory to its own crate
...
Extract out all our test support code to its own standalone crate so it
can be shared between multiple test suites if necessary.
2019-09-16 11:47:09 -07:00
Alex Crichton
daa1bce283
Enable pipelined compilation by default
...
This commit enables pipelined compilation by default in Cargo now that
the requisite support has been stablized in rust-lang/rust#62766 . This
involved minor updates in a number of locations here and there, but
nothing of meat has changed from the original implementation (just
tweaks to how rustc is called).
2019-07-31 14:56:24 -07:00
Jane Lusby
f3d3318f9f
minor fixes
2019-07-18 13:52:28 -07:00
Jane Lusby
3a9ac3ee00
initial clippy tests
2019-06-24 21:53:11 -07:00
Jethro Beekman
0e0d968825
Update #[test] attribute on all tests in the testsuite
...
sed -i 's/^#\[test\]/#[cargo_test]/' $(rg -l '^#\[test\]')
Manual fixes:
* proc_macro::proc_macro_doctest
2019-06-07 12:41:26 -07:00
Eric Huss
f6d30e9155
Cache-messages: address some review comments.
...
- Add some comments and cleanup.
- Error out when using `short`.
2019-05-20 15:22:32 -07:00
Eric Huss
dcd4999d42
Add message caching.
2019-05-20 15:22:32 -07:00