From b39fb327cbd2fb6edf68ea8fb0ba1494ac614f3d Mon Sep 17 00:00:00 2001 From: Thalia Archibald Date: Mon, 20 Oct 2025 21:45:14 -0600 Subject: [PATCH] motor: Add new set_times stubs --- library/std/src/sys/fs/motor.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/std/src/sys/fs/motor.rs b/library/std/src/sys/fs/motor.rs index 656b6e81b9518..f723a23bd5dff 100644 --- a/library/std/src/sys/fs/motor.rs +++ b/library/std/src/sys/fs/motor.rs @@ -324,6 +324,14 @@ pub fn set_perm(path: &Path, perm: FilePermissions) -> io::Result<()> { moto_rt::fs::set_perm(path, perm.rt_perm).map_err(map_motor_error) } +pub fn set_times(_p: &Path, _times: FileTimes) -> io::Result<()> { + unsupported() +} + +pub fn set_times_nofollow(_p: &Path, _times: FileTimes) -> io::Result<()> { + unsupported() +} + pub fn readlink(_p: &Path) -> io::Result { unsupported() }