Skip to content

Commit

Permalink
fix redox
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Dec 17, 2023
1 parent 073706a commit a8bae50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,9 @@ pub fn fchown(fd: RawFd, owner: Option<Uid>, group: Option<Gid>) -> Result<()> {
}

// Just a wrapper around `AtFlags` so that we can help our users migrate.
#[cfg(not(target_os = "redox"))]
pub type FchownatFlags = AtFlags;
#[cfg(not(target_os = "redox"))]
impl FchownatFlags {
#[deprecated(since = "0.28.0", note = "The variant is deprecated, please use `AtFlags` instead")]
#[allow(non_upper_case_globals)]
Expand Down

0 comments on commit a8bae50

Please sign in to comment.