Skip to content

Fix build on macOS#189

Merged
inetic merged 1 commit into
masterfrom
fix-macos-build
May 29, 2026
Merged

Fix build on macOS#189
inetic merged 1 commit into
masterfrom
fix-macos-build

Conversation

@panfilov-vladislav
Copy link
Copy Markdown
Collaborator

  • fs_util: add blocking_rename_no_replace_atomic for macOS using renamex_np(RENAME_EXCL), available since macOS 10.12
  • fs_util: add libc dependency for macOS target
  • logtee: use redirect.rs (stdout pipe tee) on macOS, same as Linux/Windows
  • logtee: add filedescriptor dependency for macOS target
  • swarm: fix wrong target_os "osx" -> "macos"
  • Cargo.toml: patch xpc-connection from fork to fix type mismatch (value.len() as u64 -> usize) on newer toolchains

- fs_util: add blocking_rename_no_replace_atomic for macOS using
  renamex_np(RENAME_EXCL), available since macOS 10.12
- fs_util: add libc dependency for macOS target
- logtee: use redirect.rs (stdout pipe tee) on macOS, same as Linux/Windows
- logtee: add filedescriptor dependency for macOS target
- swarm: fix wrong target_os "osx" -> "macos"
- Cargo.toml: patch xpc-connection from fork to fix type mismatch
  (value.len() as u64 -> usize) on newer toolchains
@panfilov-vladislav panfilov-vladislav requested a review from inetic May 28, 2026 15:32
@inetic inetic merged commit 457f314 into master May 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants