Scott Schafer
022dc5b381
chore: Address most typos
2025-09-02 18:15:50 -06:00
Weihang Lo
56f44bb212
test: avoid hardcoded target spec json
...
Read a real target spec JSON so we no longer need to hardcode
a target spec JSON here.
Cargo itself should not care about the spec schema.
Let's stop bothering compiler contributors.
2025-08-23 22:26:08 -04:00
Weihang Lo
9614bc251b
chore: remove x86_64-apple-darwin from CI and tests
...
RFC 3841 has merged, and x86_64-apple-darwin will be demoted to tier-2
in 1.90.0. In Cargo we usually run test against tier-1 platforms, so
x86_64-apple-darwin should be removed.
Also, that target platform is often the slowest one in CI,
we are happy to remove it to save us a couple of minutes.
https://rust-lang.github.io/rfcs/3841-demote-x86_64-apple-darwin.html
2025-08-12 16:02:16 -04:00
Ed Page
178a07231e
chore: Bump versions
2025-08-07 10:15:50 -05:00
renovate[bot]
f0379a2a8c
chore(deps): update msrv (1 version) to v1.89
2025-08-07 13:00:25 +00:00
Ed Page
539a48452a
perf: Update toml
2025-07-08 11:55:41 -05:00
Eric Huss
1ce8023626
Rustfmt 2024
2025-07-05 19:50:36 -07:00
renovate[bot]
e6740738a8
chore(deps): update msrv (1 version) to v1.88
2025-06-26 19:55:27 +00:00
Ross Sullivan
30b6707135
chore: Moved remaining cargo_exe
logic to testsuite
2025-06-25 23:18:08 +09:00
Ross Sullivan
15f755cefd
chore: Created CargoProjectExt extention trait
2025-06-25 23:18:00 +09:00
Ross Sullivan
47312c446d
chore: Moved tools and some cross compiling logic into testsuite
2025-06-24 23:51:39 +09:00
Scott Schafer
ccbe572a74
fix: Make UI tests handle hyperlinks consistently
2025-06-05 21:58:25 -06:00
Weihang Lo
c3409d5425
refactor: clean up clippy::perf
lint warnings
...
The `clippy::perf` lint group is fairly useful for catching bad
practices that might hurt performance marginally.
This PR fixes most of them except `clippy::large_enum_variant`,
which doesn't feel right at this moment and need more researches.
Anyway, overall this PR should be good.
2025-06-04 14:23:12 -07:00
renovate[bot]
bf7ac6563f
chore(deps): update alpine docker tag to v3.22
2025-06-01 00:50:52 +00:00
AudaciousAxiom
8362109b8e
chore(toml): disable toml
's default features, unless necessary
...
This reduces the build time of `cargo-util-schemas`.
2025-05-25 13:31:18 +02:00
Ed Page
31433a3094
chore: Bump package versions
2025-05-20 16:08:34 -05:00
renovate[bot]
8b5fd61ec8
chore(deps): update msrv (1 version) to v1.87
2025-05-15 23:35:57 +00:00
Arlo Siemsen
b72d6476ae
feat(network): use Retry-After header for HTTP 429 responses
2025-05-07 15:44:35 -05:00
renovate[bot]
fc88578277
chore(deps): update msrv (1 version) to v1.86
2025-04-03 12:07:38 +00:00
Weihang Lo
2080ac30df
chore(ci): add aarch64 linux runner
...
Linux arm64 hosted runners is in public preview.
Enable and see if is is something we can have now.
setting `target.linker` is required for cross-compilation
on ARM64, so disable cross compilation tests for it.
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
2025-04-01 22:07:36 -07:00
Arlo Siemsen
5f833db69b
feat: Add SBOM pre-cursor files
...
Adds a new option `build.sbom` that adds generation of a JSON file
containing dependency information alongside compiled artifacts.
2025-02-26 14:57:14 -06:00
renovate[bot]
c30d4f9293
chore(deps): update msrv (1 version) to v1.85
2025-02-20 19:37:56 +00:00
Arlo Siemsen
44de80f89c
fix: build warning in windows_reserved_names_are_allowed
2025-02-19 10:59:50 -06:00
MarcoIeni
54f97e28fd
allow windows reserved names in CI
2025-02-03 17:51:51 +01:00
renovate[bot]
7ee43a58ec
chore(deps): update msrv (1 version) to v1.84
2025-01-09 19:15:56 +00:00
Weihang Lo
4a88f924c6
test: extract checking installed target to a function
2025-01-08 17:27:25 -05:00
Ed Page
34d0bcb3e9
feat(test); Add arg_line support to Execs
2024-12-18 11:56:37 -06:00
renovate[bot]
5f42cf2873
chore(deps): update alpine docker tag to v3.21
2025-01-01 02:26:01 +00:00
Weihang Lo
562e83a443
test: track caller for .crate
file publish verification
...
This was found during some recent works around `cargo package`.
The purpose of it is showing the caller's line number when panicking.
2024-12-30 09:50:04 -05:00
Weihang Lo
0921264bc5
test: make path arguments more generic and flexible
...
So we don't need to `p.to_str().unwrap()`
and are able to pass different types for each argument
2024-12-24 10:33:21 -05:00
Ed Page
20870cea81
feat(test): Allow custom index lines
2024-12-12 11:50:54 -06:00
Ed Page
4f68299e27
fix(test)!: Clarify purpose of Package::invalid_index_line
2024-12-12 11:50:54 -06:00
Ed Page
9a8ca867e2
chore: Bump cargo-test-support's version
2024-12-12 11:50:54 -06:00
Ed Page
6da546c9e1
chore: Bump versions
2024-11-29 10:43:19 -06:00
renovate[bot]
1ec49b8947
chore(deps): update msrv
2024-11-29 03:54:45 +00:00
Ed Page
8b41a8ecbe
feat(test): Provide access to 'RawOutput' from 'Execs::run'
...
This will allow more custom assertions.
2024-11-18 20:53:50 -06:00
Ed Page
e3065568d0
docs: Focus the summary for API items
...
This was aided by `clippy::too_long_first_doc_paragraph`
2024-11-15 09:33:23 -06:00
Ed Page
878caf7447
docs: Surround identifiers in backticks
...
This was mostly done by clippy via `clippy::doc_markdown`.
I then reviewed it to fix words that shouldn't have it or where `--fix`
put the backtick in the wrong location.
2024-11-15 09:33:23 -06:00
Ed Page
af3cfd5abe
fix(test): Un-deprecate contains assertions
2024-11-07 15:55:35 -06:00
Ed Page
d20216c302
docs(test): Document Execs assertions based on port effort
...
A lot of this was pulled from #14039
2024-11-07 15:54:41 -06:00
Ed Page
84ac190045
refactor(test): Turn WildStr panic into compiler error
2024-11-07 15:22:51 -06:00
Ed Page
1b76a90343
refactor(test): Limit the scope of WildStr
2024-11-07 15:19:12 -06:00
Ed Page
2dd062fc9d
refactor(test): Move normalize functions after use
2024-11-07 15:18:42 -06:00
Ed Page
a03adcf6e2
fix(test): Make redactions consistent with snapbox
...
I'm unsure how we should be replacing these use cases, so I'm exploring
keeping them but making them use snapbox under the hood.
Part of the intent of snapbox is that it provides you the building
blocks to make what you need.
2024-11-06 20:03:53 -06:00
Ed Page
bfa097e5d5
fix(test)!: Remove unused with_stdout_unordered,with_stderr_unordered
2024-11-05 10:39:30 -06:00
Ed Page
8a8254eb1f
refactor(test): Remove dead 'expect_stdout_contains_n' check
...
This was missed when removing the assert
2024-10-31 15:59:16 -05:00
Weihang Lo
634450e4b6
fix: track version in fingerprint dep-info files
...
Encodes the version information into Cargo's fingerprint dep-info files,
so that when the format encoding changes in the future,
Cargo understands a dep-info file was outdated and doesn't bother parsing it.
Since there was no version info encoded in the old format (call it v0),
to be compatible with older cargoes,
this PR works around it with a horrible hack.
It is explained in the doc comment of `EncodedDepInfo`.
2024-10-30 18:43:30 -04:00
Ed Page
646e29abb5
feat(test): Allow setting edition on published packages
2024-10-23 15:14:08 -05:00
Ed Page
255f622299
feat(test): Allow setting resolver on published packages
2024-10-23 14:53:46 -05:00
renovate[bot]
341d619f66
chore(deps): update msrv
2024-10-19 01:35:59 -04:00