Skip to content

Conversation

@Ayush1325
Copy link
Contributor

  • Implement remove_dir and remove_file.
  • Tested on qemu ovmf.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 18, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 18, 2025

r? @joboet

rustbot has assigned @joboet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@Ayush1325
Copy link
Contributor Author

@rustbot label +O-UEFI

Copy link
Member

@joboet joboet left a comment

Choose a reason for hiding this comment

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

I think the error messages could be more descriptive. And in any case, they should start in lowercase. Apart from that, this looks fine!

View changes since this review

@rustbot
Copy link
Collaborator

rustbot commented Nov 29, 2025

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

- Implement remove_dir and remove_file.
- Tested on qemu ovmf.

Signed-off-by: Ayush Singh <[email protected]>
@Ayush1325
Copy link
Contributor Author

I think the error messages could be more descriptive. And in any case, they should start in lowercase. Apart from that, this looks fine!

I have updated the error messages.

@joboet
Copy link
Member

joboet commented Nov 29, 2025

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 29, 2025

📌 Commit 5b0fded has been approved by joboet

It is now in the queue for this repository.

@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 Nov 29, 2025
@bors
Copy link
Collaborator

bors commented Nov 29, 2025

⌛ Testing commit 5b0fded with merge 0ad2cd3...

@bors
Copy link
Collaborator

bors commented Nov 29, 2025

☀️ Test successful - checks-actions
Approved by: joboet
Pushing 0ad2cd3 to main...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 29, 2025
@bors bors merged commit 0ad2cd3 into rust-lang:main Nov 29, 2025
12 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Nov 29, 2025
@Ayush1325 Ayush1325 deleted the uefi-fs-rmdir branch November 29, 2025 16:51
@github-actions
Copy link
Contributor

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 791c041 (parent) -> 0ad2cd3 (this PR)

Test differences

Show 3 test diffs

3 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 0ad2cd3f1357da47c3eb4acc8224a8f10dd87d0f --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. aarch64-apple: 9063.5s -> 7086.6s (-21.8%)
  2. x86_64-gnu-distcheck: 6206.2s -> 6968.0s (+12.3%)
  3. x86_64-gnu-llvm-20-3: 5753.2s -> 6368.5s (+10.7%)
  4. x86_64-msvc-2: 6502.0s -> 7148.4s (+9.9%)
  5. aarch64-gnu-llvm-20-1: 3383.7s -> 3645.1s (+7.7%)
  6. dist-x86_64-apple: 6875.3s -> 6352.0s (-7.6%)
  7. dist-aarch64-apple: 6107.0s -> 6571.5s (+7.6%)
  8. test-various: 7005.0s -> 6481.7s (-7.5%)
  9. aarch64-gnu-llvm-20-2: 2340.0s -> 2186.3s (-6.6%)
  10. dist-x86_64-solaris: 5392.5s -> 5050.9s (-6.3%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (0ad2cd3): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (primary 5.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
5.3% [5.3%, 5.3%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 5.3% [5.3%, 5.3%] 1

Cycles

Results (primary -2.5%, secondary 7.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
7.3% [7.3%, 7.3%] 1
Improvements ✅
(primary)
-2.5% [-2.6%, -2.5%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -2.5% [-2.6%, -2.5%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 473.18s -> 471.605s (-0.33%)
Artifact size: 386.88 MiB -> 386.91 MiB (0.01%)

makai410 pushed a commit to makai410/rust that referenced this pull request Dec 10, 2025
std: sys: fs: uefi: Implement rmdir and unlink

- Implement remove_dir and remove_file.
- Tested on qemu ovmf.
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. O-UEFI UEFI S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants