Skip to content

Commit eca63cf

Browse files
committed
Merge branch 'master' into yerke/no-run-test-executable-path
2 parents bef4d79 + 1f12b88 commit eca63cf

File tree

290 files changed

+6041
-2655
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+6041
-2655
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
labels: ["C-bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for filing a 🐛 bug report 😄!
8+
- type: textarea
9+
id: problem
10+
attributes:
11+
label: Problem
12+
description: >
13+
Please provide a clear and concise description of what the bug is,
14+
including what currently happens and what you expected to happen.
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: steps
19+
attributes:
20+
label: Steps
21+
description: Please list the steps to reproduce the bug.
22+
placeholder: |
23+
1.
24+
2.
25+
3.
26+
- type: textarea
27+
id: possible-solutions
28+
attributes:
29+
label: Possible Solution(s)
30+
description: >
31+
Not obligatory, but suggest a fix/reason for the bug,
32+
or ideas how to implement the addition or change.
33+
- type: textarea
34+
id: notes
35+
attributes:
36+
label: Notes
37+
description: Provide any additional notes that might be helpful.
38+
- type: textarea
39+
id: version
40+
attributes:
41+
label: Version
42+
description: Please paste the output of running `cargo version --verbose`.
43+
render: text

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
contact_links:
2+
- name: Question
3+
url: https://users.rust-lang.org
4+
about: >
5+
Got a question about Cargo? Ask the community on the user forum.
6+
- name: Inspiring Idea
7+
url: https://internals.rust-lang.org/c/tools-and-infrastructure/cargo
8+
about: >
9+
Need more discussions with your next big idea?
10+
Reach out the coummunity on the internals forum.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Feature Request
2+
description: Suggest an idea for enhancing Cargo
3+
labels: ["C-feature-request"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for filing a 🙋 feature request 😄!
9+
10+
If the feature request is relatively small and already with a possible solution, this might be the place for you.
11+
12+
If you are brewing a big feature that needs feedback from the community, [the internal forum] is the best fit, especially for pre-RFC. You can also talk the idea over with other developers in [#t-cargo Zulip stream].
13+
14+
[the internal forum]: https://internals.rust-lang.org/c/tools-and-infrastructure/cargo/15
15+
[#t-cargo Zulip stream]: https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo
16+
- type: textarea
17+
id: problem
18+
attributes:
19+
label: Problem
20+
description: >
21+
Please provide a clear description of your use case and the problem
22+
this feature request is trying to solve.
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: solution
27+
attributes:
28+
label: Proposed Solution
29+
description: >
30+
Please provide a clear and concise description of what you want to happen.
31+
- type: textarea
32+
id: notes
33+
attributes:
34+
label: Notes
35+
description: Provide any additional context or information that might be helpful.

.github/ISSUE_TEMPLATE/tracking_issue.md

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Tracking Issue
2+
description: A tracking issue for an accepted feature or RFC in Cargo.
3+
title: "Tracking Issue for _FEATURE_NAME_"
4+
labels: ["C-tracking-issue"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: >
9+
Thank you for creating a tracking issue! Tracking issues are for tracking an
10+
accepted feature or RFC from implementation to stabilization. Please do not
11+
file a tracking issue until the feature or RFC has been approved.
12+
- type: textarea
13+
id: summary
14+
attributes:
15+
label: Summary
16+
description: Please provide a very brief summary of the feature.
17+
value: |
18+
RFC: [#NNNN](https://github.com/rust-lang/rfcs/pull/NNNN) <!-- If this is an RFC -->
19+
Original issue: #NNNN <!-- if there is a related issue that spawned this feature -->
20+
Implementation: #NNNN <!-- link to the PR that implemented this feature if applicable -->
21+
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#my-feature
22+
23+
Please enter a short, one-sentence description here.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: unresolved
28+
attributes:
29+
label: Unresolved Issues
30+
description: List issues that have not yet been resolved.
31+
placeholder: |
32+
* [ ] Make a list of any known implementation or design issues.
33+
- type: textarea
34+
id: future
35+
attributes:
36+
label: Future Extensions
37+
description: >
38+
An optional section where you can mention where the feature may be
39+
extended in the future, but is explicitly not intended to
40+
address.
41+
- type: textarea
42+
id: about
43+
attributes:
44+
label: About tracking issues
45+
description: Please include this notice in the issue.
46+
value: |
47+
Tracking issues are used to record the overall progress of implementation.
48+
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
49+
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
50+
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- run: rustup component add rustfmt
2020
- run: cargo fmt --all -- --check
2121
- run: |
22-
for manifest in `find crates -name Cargo.toml`
22+
for manifest in `find crates benches/benchsuite benches/capture -name Cargo.toml`
2323
do
2424
echo check fmt for $manifest
2525
cargo fmt --all --manifest-path $manifest -- --check
@@ -68,7 +68,9 @@ jobs:
6868

6969
# Deny warnings on CI to avoid warnings getting into the codebase.
7070
- run: cargo test --features 'deny-warnings'
71-
- run: cargo test --features 'deny-warnings' -p cargo-test-support
71+
- run: cargo test --features 'deny-warnings' --manifest-path crates/cargo-test-support/Cargo.toml
72+
env:
73+
CARGO_TARGET_DIR: target
7274
- run: cargo test -p cargo-platform
7375
- run: cargo test -p cargo-util
7476
- run: cargo test --manifest-path crates/mdman/Cargo.toml
@@ -79,6 +81,15 @@ jobs:
7981
if: matrix.os == 'macos-latest'
8082
- run: cargo build --manifest-path crates/credential/cargo-credential-wincred/Cargo.toml
8183
if: matrix.os == 'windows-latest'
84+
- name: Check benchmarks
85+
env:
86+
# Share the target dir to try to cache a few build-time deps.
87+
CARGO_TARGET_DIR: target
88+
run: |
89+
# This only tests one benchmark since it can take over 10 minutes to
90+
# download all workspaces.
91+
cargo test --manifest-path benches/benchsuite/Cargo.toml --all-targets -- cargo
92+
cargo check --manifest-path benches/capture/Cargo.toml
8293
- name: Fetch smoke test
8394
run: ci/fetch-smoke-test.sh
8495

@@ -104,6 +115,7 @@ jobs:
104115
steps:
105116
- uses: actions/checkout@v2
106117
- run: rustup update nightly && rustup default nightly
118+
- run: rustup update stable
107119
- run: rustup component add rust-docs
108120
- run: ci/validate-man.sh
109121
# This requires rustfmt, use stable.

0 commit comments

Comments
 (0)