Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from rust-lang:master #64

Merged
merged 145 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
879efa6
Remove requirement for --target when invoking Cargo with -Zbuild-std
harmou01 Jul 16, 2024
3597f4c
test: build-std proc_macro test case without --target requirement
harmou01 Aug 1, 2024
b6e1942
test: mock-std test case for shared dependencies without --target req
harmou01 Sep 3, 2024
5a66672
docs: update documentation for removal of build-std --target requirement
harmou01 Sep 4, 2024
0498e84
feat: Stabilize MSRV-aware resolver config
epage Sep 19, 2024
498d4df
docs(ref): Document MSRV-aware resolver
epage Oct 3, 2024
cf53cc5
Auto merge of #14639 - epage:stabilize-msrv-config, r=weihanglo
bors Oct 18, 2024
449d6cb
fix(renovate): Switch matchPackageNames to matchDepNames
Muscraft Oct 19, 2024
23c36f5
Auto merge of #14704 - Muscraft:fix-renovate, r=weihanglo
bors Oct 19, 2024
341d619
chore(deps): update msrv
renovate[bot] Oct 19, 2024
45ad483
Auto merge of #14705 - rust-lang:renovate/msrv, r=weihanglo
bors Oct 19, 2024
a8153f2
refactor: use `Iterator::is_sorted`
weihanglo Oct 18, 2024
af9b2d7
test: Avoid creating duplicate variables in the sat resolver
x-hgg-x Oct 19, 2024
c85d832
test: Avoid needlessly cloning in the sat resolver
x-hgg-x Oct 19, 2024
446e3f0
chore(rustfix): bump to 0.8.8
weihanglo Oct 21, 2024
6ac20fd
refactor(rustfix): remove unnecessary indentations
weihanglo Oct 20, 2024
f483dc0
refactor(rustfix): simplify debug print for `Span`
weihanglo Oct 20, 2024
c9102e5
refactor(rustfix): only compute snippets when needed
weihanglo Oct 20, 2024
90aee40
Auto merge of #14710 - weihanglo:rustfix, r=epage
bors Oct 21, 2024
b44c54d
Auto merge of #14702 - weihanglo:1.82, r=epage
bors Oct 21, 2024
65aff1f
docs(ci): Don't constrainty latest_deps job by MSRV
epage Oct 21, 2024
edd36eb
Auto merge of #14711 - epage:msrc-ci, r=weihanglo
bors Oct 21, 2024
42f4143
Auto merge of #14707 - x-hgg-x:sat-fixes, r=Eh2406
bors Oct 22, 2024
92cf813
Switch CI from bors to merge queue
Kobzol Oct 22, 2024
c847992
test: add test case to check `replace-with` error message
chentodd Oct 23, 2024
255f622
feat(test): Allow setting resolver on published packages
epage Oct 23, 2024
646e29a
feat(test): Allow setting edition on published packages
epage Oct 23, 2024
49f096e
test(install): Verify resolver=3 is ignored
epage Oct 23, 2024
487bbc8
test(install): Verify edition=2024 is ignored
epage Oct 23, 2024
0d2ada8
docs(resolver): Make room for v3 resolver
epage Oct 23, 2024
944559f
Auto merge of #14725 - epage:resolver-docs, r=weihanglo
bors Oct 23, 2024
56f008d
feat(complete): Include descriptions in zsh
epage Oct 24, 2024
692d830
refactor(fingerprint): avoid unnecessary fopen calls
weihanglo Oct 24, 2024
e0fda67
Auto merge of #14728 - weihanglo:checksum, r=ehuss
bors Oct 24, 2024
1a2df63
Auto merge of #14726 - epage:zsh, r=weihanglo
bors Oct 24, 2024
11f84a9
fix: use Registry::describe_source to fix error message and related t…
chentodd Oct 24, 2024
7571e92
Auto merge of #14715 - chentodd:error_message_fix, r=epage
bors Oct 24, 2024
21ce69e
feat: unstable-json-schema generation for Cargo.toml
dacianpascu06 Oct 24, 2024
cf91520
Auto merge of #14683 - dacianpascu06:355adcad7, r=epage
bors Oct 24, 2024
02d2c77
test: add test to describe the issue#13280
linyihai Oct 16, 2024
edd0732
refactor: Use `Arc` wraps `GlobalContext::env_config` and resolve val…
linyihai Oct 25, 2024
668d82e
fix: trace `[env]` config table into fingerprint.
linyihai Oct 25, 2024
8315873
Auto merge of #14701 - linyihai:trace-env-table, r=weihanglo
bors Oct 25, 2024
28274d0
Auto merge of #14724 - epage:resolver, r=weihanglo
bors Oct 25, 2024
ce95009
refactor(env): remove unnecessary clones
weihanglo Oct 25, 2024
e75214e
Auto merge of #14730 - weihanglo:env, r=ehuss
bors Oct 25, 2024
7a517af
Deprecate `cargo verify-project`
766974616c79 Oct 27, 2024
eb2be13
Auto merge of #14736 - MoskalykA:deprecate-cargo-verify-project, r=we…
bors Oct 28, 2024
d81752c
docs: a page for deprecated and removed commands
weihanglo Oct 28, 2024
488713c
fix: remove shell completions for verify-project/read-manifest
weihanglo Oct 28, 2024
642453a
fix: hide deprecated cmd for excluding them from shell completions
weihanglo Oct 28, 2024
886e55b
fix: make deprecated cmds more obvious in help and `--list`
weihanglo Oct 28, 2024
f95eeb6
Auto merge of #14739 - weihanglo:cmd, r=epage
bors Oct 28, 2024
198c1d8
docs(ref): Clarify when warnings are shown
epage Aug 22, 2024
3e59d08
test: Update to snapshot style.
torhovland Aug 23, 2024
3fade07
test: cargo::error build script directive.
torhovland Aug 21, 2024
032bc29
feat: cargo::error build script directive.
torhovland Aug 21, 2024
a94bce6
Add MSRV note.
torhovland Aug 23, 2024
9ce30a6
Update tests to resolve recent changes
ehuss Oct 29, 2024
ae6b279
test(publish): Verify version-exists error in dry-run
epage Oct 29, 2024
947e1ff
fix(publish): Downgrade version-exists error to warning on dry-run
epage Oct 29, 2024
deb028f
Add a note to library authors regarding cargo::error
ehuss Oct 29, 2024
8639d7b
Update MSRV for cargo::error
ehuss Oct 29, 2024
92f94a5
Auto merge of #14742 - epage:publish, r=ehuss
bors Oct 29, 2024
4f74477
Auto merge of #14743 - ehuss:build-script-errors, r=epage
bors Oct 29, 2024
bf2cc7c
docs(fingerprint): document the format of depinfo files
weihanglo Oct 28, 2024
7c26c29
refactor(fingerprint): move fingerprint dep-info to a module
weihanglo Oct 29, 2024
06e0ef4
Auto merge of #14745 - weihanglo:depinfo-compat, r=epage
bors Oct 29, 2024
1fcf5ee
test(depinfo): basic serialization round-trip test
weihanglo Oct 30, 2024
9abcaef
Auto merge of #14317 - harmou01:dev/harmou01/remove-target-flag-req, …
bors Oct 30, 2024
51f634b
test: Remove unused msrv-policy
epage Oct 30, 2024
0ba1240
docs(resolver): Specify MSRV for package.resolver
epage Oct 30, 2024
3157465
docs(resolver): Simplify package.resolver default text
epage Oct 30, 2024
1f8b294
test(util): Show relative path behavior for normalize_path
epage Oct 30, 2024
c53bdc4
refactor(util): Clarify intent of normalize_path
epage Oct 30, 2024
7a6eaf9
fix(util): Respect all `..`s in `normalize_path`
epage Oct 30, 2024
7ec86a1
un-ignore test: proc_macro_in_artifact_dep with a network error
elchukc Oct 30, 2024
24738d8
refactor download_accessible in package.rs
epage Oct 30, 2024
d125262
download transitive deps of artifact deps on target platform
epage Oct 30, 2024
e09a5b8
Auto merge of #14723 - elchukc:enhance_download_accessible, r=epage
bors Oct 30, 2024
6f2b5d9
test(depinfo): current cargo unable to parse v0 or v1
weihanglo Oct 30, 2024
634450e
fix: track version in fingerprint dep-info files
weihanglo Oct 30, 2024
5f9257e
Auto merge of #14748 - epage:msrv-policy, r=Rustin170506
bors Oct 30, 2024
de5832f
Auto merge of #14751 - weihanglo:depinfo-format, r=epage
bors Oct 30, 2024
497c228
Auto merge of #14753 - epage:resoler-prep, r=ehuss
bors Oct 31, 2024
573ff00
add tests in preparation for root-dir flag that changes their behavior
RalfJung Oct 31, 2024
c2be327
add unstable -Zroot-path flag to configure the path from which rustc …
RalfJung Oct 31, 2024
8a8254e
refactor(test): Remove dead 'expect_stdout_contains_n' check
epage Oct 31, 2024
0f80faf
add unstable feature docs
RalfJung Oct 31, 2024
40d804b
Auto merge of #14752 - RalfJung:rustc-root-path, r=epage
bors Oct 31, 2024
35baa73
test(doc): Resolve flaky test
epage Oct 31, 2024
dd0e396
Auto merge of #14759 - epage:test-contains-n, r=ehuss
bors Oct 31, 2024
b5acf4c
Add more metadata to `rustc_fingerprint`
cuviper Oct 31, 2024
7421ccf
Auto merge of #14760 - epage:test-flake, r=ehuss
bors Oct 31, 2024
48b1638
chore(deps): update rust crate gix to 0.67.0
renovate[bot] Nov 1, 2024
8aec0a4
test(rustfix): switch to a simpler case for dedup-suggestions
weihanglo Nov 1, 2024
2fcc375
Auto merge of #14750 - epage:normalize, r=weihanglo
bors Nov 1, 2024
1fad901
chore(deps): update rust crate security-framework to v3
renovate[bot] Nov 1, 2024
f8df39b
test: Add a test for issue #14227
linyihai Sep 5, 2024
dff17c2
Auto merge of #14762 - rust-lang:renovate/gix-0.x, r=epage
bors Nov 1, 2024
57ffbb6
Auto merge of #14766 - rust-lang:renovate/security-framework-3.x, r=e…
bors Nov 1, 2024
40d6078
Auto merge of #14765 - weihanglo:rustfix, r=epage
bors Nov 1, 2024
0310497
Auto merge of #14761 - cuviper:rustc-meta, r=epage
bors Nov 1, 2024
9b4f03a
chore: update handlebars to v6, fix build error
hcbarker Nov 1, 2024
3728f06
Auto merge of #14772 - hcbarker:issue-14764-fix, r=weihanglo
bors Nov 1, 2024
4b12ff9
doc: fix `GlobalContext` reference
emmanuel-ferdman Nov 2, 2024
94c2703
Auto merge of #14773 - emmanuel-ferdman:master, r=weihanglo
bors Nov 2, 2024
f73b1d8
add transactional semantics to rustfix
saites Oct 30, 2024
3dedb85
Auto merge of #14747 - saites:rustfix-transactional, r=weihanglo
bors Nov 2, 2024
bd47da1
Change config paths to only check CARGO_HOME for cargo-script
Rustin170506 Oct 30, 2024
fa9ac47
Enable transfer feature in triagebot
Urgau Nov 3, 2024
ac43777
Auto merge of #14777 - Urgau:triagebot_transfer, r=ehuss
bors Nov 4, 2024
ad3cdb4
Auto merge of #14749 - Rustin170506:rustin-patch-cargo-script, r=epage
bors Nov 4, 2024
9909069
test(clean): Update remaining unordered test to snapbox
epage Nov 4, 2024
6ba8315
test(freshness): Update remaining unordered tests to snapbox
epage Nov 4, 2024
f7f7abc
test(gc): Update remaining unordered tests to snapbox
epage Oct 31, 2024
7d6889b
replace special-case duplicate handling with error
saites Oct 30, 2024
91809c4
Auto merge of #14781 - epage:to, r=weihanglo
bors Nov 5, 2024
bfa097e
fix(test)!: Remove unused with_stdout_unordered,with_stderr_unordered
epage Nov 5, 2024
765a6f1
Auto merge of #14782 - saites:rustfix-duplicate-errors, r=weihanglo
bors Nov 5, 2024
a456c22
fix: Apply `path::normalize_path` to targets in toml::normalize_toml …
linyihai Oct 31, 2024
d050945
Auto merge of #14497 - linyihai:issue-14227, r=epage
bors Nov 6, 2024
be87c96
Auto merge of #14785 - epage:test-unordered, r=ehuss
bors Nov 6, 2024
a03adcf
fix(test): Make redactions consistent with snapbox
epage Nov 7, 2024
91a58e2
Auto merge of #14790 - epage:test-compare, r=weihanglo
bors Nov 7, 2024
2dd062f
refactor(test): Move normalize functions after use
epage Nov 7, 2024
1b76a90
refactor(test): Limit the scope of WildStr
epage Nov 7, 2024
84ac190
refactor(test): Turn WildStr panic into compiler error
epage Nov 7, 2024
d20216c
docs(test): Document Execs assertions based on port effort
epage Nov 7, 2024
af3cfd5
fix(test): Un-deprecate contains assertions
epage Nov 7, 2024
cb088dc
Auto merge of #14793 - epage:test-compare, r=weihanglo
bors Nov 8, 2024
fbc8ba8
Merge pull request #14718 from Kobzol/ci-remove-bors
ehuss Nov 8, 2024
eb9066a
CI: make the `lint-docs` job required
Kobzol Nov 8, 2024
79866e1
Merge pull request #14797 from Kobzol/ci-require-lint-docs
weihanglo Nov 8, 2024
cada441
Revert "feat: Add `CARGO_RUSTC_CURRENT_DIR`"
epage Nov 8, 2024
286b6d0
Merge pull request #14799 from epage/current-dir
weihanglo Nov 8, 2024
cfa1873
Add tests that show existing behavior
arlosi Sep 12, 2024
d869944
refactor: remove mut from emit_warnings
arlosi Sep 13, 2024
2274a1a
feat: add build.warnings config option to control rustc warnings
arlosi Sep 13, 2024
d8cb5fb
Merge pull request #14388 from arlosi/warnings2
arlosi Nov 9, 2024
c03c580
test: fix replacing `.exe` only once
weihanglo Nov 9, 2024
7347918
test: redact host target when comparing `CARGO_ENV` path
weihanglo Nov 9, 2024
4a2d8dc
Merge pull request #14803 from weihanglo/test
epage Nov 9, 2024
ca0d7da
typo fix in cargo-fmt.md
mee7ya Nov 9, 2024
3f5abe3
Merge pull request #14805 from mee7ya/cargo-fmt-doc-typo-fix
weihanglo Nov 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
matchManagers: [
'custom.regex',
],
matchPackageNames: [
matchDepNames: [
'MSRV:1',
],
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
Expand All @@ -58,7 +58,7 @@
matchManagers: [
'custom.regex',
],
matchPackageNames: [
matchDepNames: [
'MSRV:3',
],
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
Expand Down
64 changes: 27 additions & 37 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI
on:
push:
branches:
- auto-cargo
- try
- automation/bors/try
merge_group:
pull_request:
branches:
- "**"
Expand All @@ -17,46 +13,40 @@ permissions:
contents: read

concurrency:
group: "${{ github.workflow }}-${{ (github.ref == 'refs/heads/try' && github.sha) || github.ref }}"
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
success:
permissions:
contents: none
name: bors build finished
conclusion:
needs:
- build_std
- clippy
- msrv
- docs
- lockfile
- resolver
- rustfmt
- test
- test_gitoxide
runs-on: ubuntu-latest
if: "success() && github.event_name == 'push' && (github.ref == 'refs/heads/auto-cargo' || github.ref == 'refs/heads/try') && github.repository == 'rust-lang/cargo'"
steps:
- run: echo ok
failure:
- build_std
- clippy
- msrv
- docs
- lint-docs
- lockfile
- resolver
- rustfmt
- test
- test_gitoxide
permissions:
contents: none
name: bors build finished
needs:
- build_std
- clippy
- msrv
- docs
- lockfile
- resolver
- rustfmt
- test
- test_gitoxide
# We need to ensure this job does *not* get skipped if its dependencies fail,
# because a skipped job is considered a success by GitHub. So we have to
# overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
# when the workflow is canceled manually.
#
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
if: "!success() && github.event_name == 'push' && (github.ref == 'refs/heads/auto-cargo' || github.ref == 'refs/heads/try') && github.repository == 'rust-lang/cargo'"
steps:
- run: exit 1
# Manually check the status of all dependencies. `if: failure()` does not work.
- name: Conclusion
run: |
# Print the dependent jobs to see them in the CI log
jq -C <<< '${{ toJson(needs) }}'
# Check if all jobs that we depend on (in the needs array) were successful.
jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'

# Check Code style quickly by running `rustfmt` over all code
rustfmt:
Expand Down
Loading