Skip to content

Add windows compilation target for cli tool#61

Merged
ruslanti merged 3 commits intomainfrom
add-windows-compilation-target-for-cli-tool
Jan 20, 2025
Merged

Add windows compilation target for cli tool#61
ruslanti merged 3 commits intomainfrom
add-windows-compilation-target-for-cli-tool

Conversation

@ruslanti
Copy link
Copy Markdown
Collaborator

No description provided.

@ruslanti ruslanti added the enhancement New feature or request label Jan 20, 2025
@ruslanti ruslanti requested a review from qrdl January 20, 2025 14:37
@ruslanti ruslanti self-assigned this Jan 20, 2025
@ruslanti ruslanti linked an issue Jan 20, 2025 that may be closed by this pull request
}

#[cfg(not(target_family = "unix"))]
panic!("listen_fd is not supported on this platform")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How it works in Windows without listener?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code works only for systemd listen_fd. For windows or when service is run without systemd look at next lines: 105-111

@ruslanti ruslanti merged commit a5e0140 into main Jan 20, 2025
@ruslanti ruslanti deleted the add-windows-compilation-target-for-cli-tool branch January 20, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add windows compilation target for cli tool

2 participants