-
Notifications
You must be signed in to change notification settings - Fork 19
Consistent number of arguments across OSes #29
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
Comments
Good point. I'll take a look this week to see how it will look. Not sure yet which solution is best. |
@proski How does this solution work for your use case? |
That would work for my case. |
Published version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would it be possible to make
FileRotate::new()
accept the same number of arguments on all platforms? The current implementation is hurting portability. My project depends on a proprietary crate that's always using 5 arguments, and that causes a compile error. Dozens of dependencies compile just fine, file-rotate is the only one that breaks compilation. Sure, the other crate is wrong, but file-rotate makes it easy to make that mistake and hard to catch it (testing on multiple platforms is needed).I realize that the change break compatibility, so let's make a choice we won't have to regret.
Possible approaches:
new
The text was updated successfully, but these errors were encountered: