Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion fs_util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tokio = { workspace = true, features = ["fs", "io-util", "rt", "sync"] }
tokio-stream = { workspace = true }
walkdir = "2.5.0"

[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos"))'.dependencies]
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "ios"))'.dependencies]
libc = { workspace = true }

[target.'cfg(target_os = "windows")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion fs_util/src/safe_move.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fn blocking_rename_no_replace_atomic(src: &Path, dst: &Path) -> io::Result<()> {
}
}

#[cfg(target_os = "macos")]
#[cfg(any(target_os = "macos", target_os = "ios"))]
fn blocking_rename_no_replace_atomic(src: &Path, dst: &Path) -> io::Result<()> {
use std::ffi::CString;

Expand Down
4 changes: 1 addition & 3 deletions service/src/logger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ mod format;
#[path = "android.rs"]
mod output;

#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos", target_os = "ios"))]
#[path = "stdout.rs"]
mod output;

// TODO: ios

pub use color::{LogColor, ParseLogColorError};
pub use format::{LogFormat, ParseLogFormatError};

Expand Down
Loading