Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0bc6945
give a better example why `std` modules named like primitives are needed
cyrgani Oct 5, 2025
03cdcb5
bootstrap: add `Builder::rustc_cmd` that includes the lib path
cuviper Oct 6, 2025
1e6b444
library: fs: Factor out a `file_time_to_timespec` function in prepara…
joshtriplett Oct 7, 2025
1bf555c
library: fs: Factor out the Apple file time to attrlist code for reuse
joshtriplett Oct 7, 2025
45ca537
Port the Miri implementations of SIMD intrinsics to `rustc_const_eval`
sayantn Oct 8, 2025
1654cce
prefer to use repeat_n over repeat and take
chenyukang Oct 8, 2025
affaf53
referring to repeat_n in std::iter::repeat
chenyukang Oct 8, 2025
53c79f4
bless format
chenyukang Oct 8, 2025
99ab27f
specialize slice::fill to use memset when possible
the8472 Oct 3, 2025
7225454
Implement fs api set_times and set_times_nofollow
chenyukang Oct 8, 2025
3d40fa6
Update library/std/src/fs.rs
chenyukang Oct 9, 2025
6308e76
Update library/std/src/fs.rs
chenyukang Oct 9, 2025
8f08156
compiletest: Isolate APIs used by rustdoc-gui-test
Zalathar Oct 9, 2025
b4f64fd
compiletest: Isolate APIs used by `bin/main.rs`
Zalathar Oct 9, 2025
ce4699d
compiletest: Make all other modules non-public
Zalathar Oct 9, 2025
1c5c8ca
use proper unsupported
chenyukang Oct 9, 2025
46c6f0a
rebase #147504
chenyukang Oct 9, 2025
2438df7
support fs::set_times for wasi
chenyukang Oct 9, 2025
1dd5641
add doc alias for set_times_nofollow
chenyukang Oct 9, 2025
6fd1c2b
add doc alias for set_times
chenyukang Oct 9, 2025
953dcff
Rollup merge of #146568 - sayantn:simd-shuffle, r=RalfJung
Zalathar Oct 9, 2025
c2b9031
Rollup merge of #147373 - cyrgani:cyrgani-patch-1, r=ibraheemdev
Zalathar Oct 9, 2025
84475a2
Rollup merge of #147419 - cuviper:bootstrap-rustc-libs, r=Zalathar,ji…
Zalathar Oct 9, 2025
affd573
Rollup merge of #147457 - the8472:slice_fill_memset2, r=RalfJung,joboet
Zalathar Oct 9, 2025
fd19065
Rollup merge of #147468 - chenyukang:yukang-api-set-times, r=joshtrip…
Zalathar Oct 9, 2025
1201c90
Rollup merge of #147489 - chenyukang:yukang-prefer-repeat-n, r=Kivooe…
Zalathar Oct 9, 2025
c34587e
Rollup merge of #147506 - Zalathar:isolate, r=jieyouxu
Zalathar Oct 9, 2025
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
Prev Previous commit
Next Next commit
Update library/std/src/fs.rs
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
  • Loading branch information
chenyukang and joshtriplett committed Oct 9, 2025
commit 3d40fa69587c60d8ba7bcf3d2a39e503a5ded07c
5 changes: 3 additions & 2 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,9 @@ pub fn set_times<P: AsRef<Path>>(path: P, times: FileTimes) -> io::Result<()> {
///
/// # Platform-specific behavior
///
/// This function currently corresponds to the `utimensat` function with `AT_SYMLINK_NOFOLLOW`
/// on Unix platforms and the `SetFileTime` function on Windows after opening the symlink.
/// This function currently corresponds to the `utimensat` function with `AT_SYMLINK_NOFOLLOW` on
/// Unix platforms, the `setattrlist` function with `FSOPT_NOFOLLOW` on Apple platforms, and the
/// `SetFileTime` function on Windows.
///
/// # Errors
///
Expand Down