fix(build-std): parse as comma-separated list#15065
Conversation
|
CI failed with no reason. Perhaps GitHub was unstable? Anyway, rerunning tests. |
|
Also failed in #15065: https://github.com/rust-lang/cargo/actions/runs/12779900907/job/35625296866. May not be flaky 🤔. |
|
But #15062 has passed… |
|
I don't understand the CI failure. I can reproduce it locally though. The commit we're using is still available: https://github.com/rust-lang/crates.io-index-archive/commits/85f7bfd61ea4fee08ec68c468762e886b2aebec6. And the latest rerun seems working… |
|
It failed on both macOS and Linux. Some observations:
|
|
Still under investigation. See https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/bench.20git.20failures. |
It doesn't parse as comma-separated list. It did before rust-lang#14899
Restore to the behavior prior to 30d11ce Also extend `build-std-features` to support comma-separated list.
e566723 to
93c764d
Compare
Update cargo 13 commits in 088d496082726091024f1689c124a0c3dccbd775..045bf21b36a2e1f3ed85e38278d1c3cc4305e134 2025-01-10 20:10:21 +0000 to 2025-01-17 14:59:36 +0000 - created a function for user defined aliases (rust-lang/cargo#15076) - took the functionality of the third party subcommand from the list_commands function (rust-lang/cargo#15075) - fix: wrong concat and field name (rust-lang/cargo#15074) - fix(publish): Report all unpublishable packages (rust-lang/cargo#15070) - docs(cargo-clippy): correct typo (rust-lang/cargo#15072) - docs(cargo-package): alwasy include the lockfile (rust-lang/cargo#15067) - docs(ref): Deprecate 'package.authors' (rust-lang/cargo#15068) - fix(build-std): parse as comma-separated list (rust-lang/cargo#15065) - Fix benchsuite issue with newer versions of git (rust-lang/cargo#15069) - Document that cargo automatically registers variables used in env! macro to trigger rebuilds (rust-lang/cargo#15062) - perf(cargo-package): match certain path prefix with pathspec (rust-lang/cargo#14997) - Clarify note in example (rust-lang/cargo#15054) - chore(deps): update msrv (3 versions) to v1.82 (rust-lang/cargo#15050)
Update cargo 13 commits in 088d496082726091024f1689c124a0c3dccbd775..045bf21b36a2e1f3ed85e38278d1c3cc4305e134 2025-01-10 20:10:21 +0000 to 2025-01-17 14:59:36 +0000 - created a function for user defined aliases (rust-lang/cargo#15076) - took the functionality of the third party subcommand from the list_commands function (rust-lang/cargo#15075) - fix: wrong concat and field name (rust-lang/cargo#15074) - fix(publish): Report all unpublishable packages (rust-lang/cargo#15070) - docs(cargo-clippy): correct typo (rust-lang/cargo#15072) - docs(cargo-package): alwasy include the lockfile (rust-lang/cargo#15067) - docs(ref): Deprecate 'package.authors' (rust-lang/cargo#15068) - fix(build-std): parse as comma-separated list (rust-lang/cargo#15065) - Fix benchsuite issue with newer versions of git (rust-lang/cargo#15069) - Document that cargo automatically registers variables used in env! macro to trigger rebuilds (rust-lang/cargo#15062) - perf(cargo-package): match certain path prefix with pathspec (rust-lang/cargo#14997) - Clarify note in example (rust-lang/cargo#15054) - chore(deps): update msrv (3 versions) to v1.82 (rust-lang/cargo#15050)
What does this PR try to resolve?
Restore to the behavior prior to 30d11ce
Also extend
build-std-featuresto support comma-separated list.Fixes #15064
How should we test and review this PR?
A test has been added.