Skip to content
Merged
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions vm/src/stdlib/stat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ mod stat {
#[pyattr]
pub const S_IWUSR: Mode = 0o0200;

#[cfg(all(unix, not(target_os = "android")))]
#[cfg(all(unix, not(target_os = "android"), not(target_os = "redox")))]
#[pyattr]
pub const S_IWRITE: Mode = libc::S_IWRITE;
#[cfg(any(not(unix), target_os = "android"))]
#[cfg(any(not(unix), target_os = "android", target_os = "redox"))]
#[pyattr]
pub const S_IWRITE: Mode = 0o0200;

Expand All @@ -146,10 +146,10 @@ mod stat {
#[pyattr]
pub const S_IXUSR: Mode = 0o0100;

#[cfg(all(unix, not(target_os = "android")))]
#[cfg(all(unix, not(target_os = "android"), not(target_os = "redox")))]
#[pyattr]
pub const S_IEXEC: Mode = libc::S_IEXEC;
#[cfg(any(not(unix), target_os = "android"))]
#[cfg(any(not(unix), target_os = "android", target_os = "redox"))]
#[pyattr]
pub const S_IEXEC: Mode = 0o0100;

Expand Down
Loading