Skip to content

Commit cfd859a

Browse files
committed
Mark set_times as unavailable for RTEMS target
1 parent a1bb910 commit cfd859a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/std/src/sys/fs/unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,7 @@ fn open_from(from: &Path) -> io::Result<(crate::fs::File, crate::fs::Metadata)>
21662166

21672167
fn set_times_impl(p: &CStr, times: FileTimes, follow_symlinks: bool) -> io::Result<()> {
21682168
cfg_select! {
2169-
any(target_os = "redox", target_os = "espidf", target_os = "horizon", target_os = "nuttx", target_os = "vita") => {
2169+
any(target_os = "redox", target_os = "espidf", target_os = "horizon", target_os = "nuttx", target_os = "vita", target_os = "rtems") => {
21702170
let _ = (p, times, follow_symlinks);
21712171
Err(io::const_error!(
21722172
io::ErrorKind::Unsupported,

0 commit comments

Comments
 (0)