Skip to content

Ensure existance of dist directory when creating tarball #96207

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

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Apr 19, 2022

I'm not sure why this works in CI, but this is necessary to make distcheck (including the x86_64-linux-distcheck image) run on Fedora 35.

@rust-highfive
Copy link
Contributor

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 19, 2022
@Mark-Simulacrum
Copy link
Member

@bors r+

It does seem like an odd difference, but probably not worth investigating at this time.

@bors
Copy link
Collaborator

bors commented Apr 19, 2022

📌 Commit b914678 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 19, 2022
@@ -262,11 +262,13 @@ impl<'a> Tarball<'a> {
t!(std::fs::rename(&self.image_dir, &dest));

self.run(|this, cmd| {
let distdir = crate::dist::distdir(this.builder);
t!(std::fs::create_dir_all(&distdir));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this to fn distdir rather than special-casing it here? I'm worried we'll see this issue in other commands as well.

@bors
Copy link
Collaborator

bors commented Apr 22, 2022

⌛ Testing commit b914678 with merge 8d68f2f...

@bors
Copy link
Collaborator

bors commented Apr 22, 2022

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing 8d68f2f to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 22, 2022
@bors bors merged commit 8d68f2f into rust-lang:master Apr 22, 2022
@rustbot rustbot added this to the 1.62.0 milestone Apr 22, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (8d68f2f): comparison url.

Summary:

  • Primary benchmarks: 😿 relevant regression found
  • Secondary benchmarks: no relevant changes found
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 1 0 0 0 1
mean2 2.7% N/A N/A N/A 2.7%
max 2.7% N/A N/A N/A 2.7%

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please open an issue or create a new PR that fixes the regressions, add a comment linking to the newly created issue or PR, and then add the perf-regression-triaged label to this PR.

@rustbot label: +perf-regression

Footnotes

  1. number of relevant changes

  2. the arithmetic mean of the percent change

@rustbot rustbot added the perf-regression Performance regression. label Apr 22, 2022
@rylev
Copy link
Member

rylev commented Apr 26, 2022

This seems to be another possible case of the syn-1.0.89 opt becoming noisy since it is the only test case (in the full scenario) impacted. We should mark it as triaged for now until we figure out what's up with that benchmark.

@rustbot label: +perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants