-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Add creation time support to FileTimes
on apple and windows
#109773
Conversation
r? @cuviper (rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label -T-libs |
That part looks fine with me, and might deserve an independent PR. You should create an ACP for the API addition. |
6b6deaf
to
ac9e638
Compare
I've created an ACP at rust-lang/libs-team#199 and split the refactor out into #109784. |
ac9e638
to
116046d
Compare
Refactor glibc time64 support, riscv32 always has 64-bit `time_t` Refactor existing support for 64-bit `time_t` on 32-bit glibc platforms, as riscv32 `time_t` is 64-bit by default. Split out of rust-lang#109773.
116046d
to
65c523b
Compare
65c523b
to
70b03e4
Compare
Thanks! You still need to remove the RISC-V commit from this PR. Could you add a test in library/std/src/fs/tests.rs? Just try setting the file time and reading it back to ensure it worked. |
70b03e4
to
c2a0a9a
Compare
LGTM! This PR is still marked as a draft, are there any more changes or is it ready to merge? |
I've removed the left-over commit and added a test for |
It's ready to merge; I just marked it as a draft because it was blocked on the ACP. |
@bors r+ |
📌 Commit c2a0a9a494c7467c90dd76c4e344d1952f2a424c has been approved by It is now in the queue for this repository. |
…s, r=Amanieu Add creation time support to `FileTimes` on apple and windows Adds support for setting file creation times on platforms which support changing it directly (currently only Apple and Windows). Based on top of rust-lang#110093 (which was split from this PR). ACP: rust-lang/libs-team#199 (currently still in progress) Tracking issue: rust-lang#98245 `@rustbot` label +T-libs-api -T-libs
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
…riplett Add 64-bit `time_t` support on 32-bit glibc Linux to `set_times` Add support to `set_times` for 64-bit `time_t` on 32-bit glibc Linux platforms which have a 32-bit `time_t`. Split from rust-lang#109773. Tracking issue: rust-lang#98245
☔ The latest upstream changes (presumably #111066) made this pull request unmergeable. Please resolve the merge conflicts. |
f31c34c
to
246dcbc
Compare
I've fixed the test failure and resolved the merge conflicts. Sorry about the delay. |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (521f4da): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 643.295s -> 641.28s (-0.31%) |
I believe this to be noise that has since then returned to steady state. This PR being the rising edge of the last bump in the following graphs. @rustbot label: +perf-regression-triaged |
Adds support for setting file creation times on platforms which support changing it directly (currently only Apple and Windows). Based on top of #110093 (which was split from this PR).
ACP: rust-lang/libs-team#199 (currently still in progress)
Tracking issue: #98245
@rustbot label +T-libs-api -T-libs