-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Build Project on Windows due to Unix-specific Dependencies #210
Comments
Windows support would be great |
Major ChallengeIn addition to the initial issue regarding Unix-specific dependencies, I have faced another significant challenge. The source code located at |
We'd be happy to accept a change to support Windows! We didn't have the need to for ourselves and therefore didn't build it.
The rest shouldn't be too hard to adapt. |
I handled the Windows signal stream by "disabling" the Unix version (for Windows targets) and switching to a Windows version. Does this mean I can do the same for |
Maybe switch the |
I encountered an error while attempting to build the project on my Windows machine. The error message indicates that the import
tokio::signal::unix::Signal
is unresolved, suggesting that the project is relying on Unix-specific dependencies that are not compatible with Windows.Error message:
As I am on a Windows machine, I am unable to build the project due to this dependency on Unix-specific functionality.
Proposed Solution
I intend to contribute to the project by extending its codebase to support development on Windows. My plan involves refactoring the following files:
crates\tripwire\src\signalstream.rs
crates\tripwire\src\tripwire.rs
To achieve compatibility with Windows, I propose using conditional compilation (
#[cfg()]
attributes) to introduce different code paths based on the target platform. This approach will allow the project to maintain cross-platform compatibility while accommodating Windows-specific requirements. At least, for maximizing the project's accessibility to contributions from the community to ensure developers without access to Unix-based machines can participate.I am willing to work on implementing these changes and submitting a pull request. However, I would appreciate guidance and feedback from the maintainers on the best practices for contributing in the project.
Looking forward to contributing to the project and resolving this issue. Thank you for your attention to this matter.
The text was updated successfully, but these errors were encountered: