Skip to content
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

[libs] Peg filetime to 0.2.5 for rust 1.26.1 compat #199

Merged
merged 1 commit into from
May 22, 2019

Conversation

rabite0
Copy link
Contributor

@rabite0 rabite0 commented May 22, 2019

After some digging I found that the build failure happens, because filetime changed its interface after version 0.2.5 and requires Rust 2018 now. This shouldn't happen in a minor version, but it did.

The last commit that builds with Rust 1.26.1 is this one. After that there are various different build failures.

This means any fresh build of notify is going to fail if it picks up the newest filetime version. I fixed this by hard-coding the lastest working version 0.2.5, which makes the build go through.

Since it's unrelated to the PollWatches Sync thing I made this a separate pull request.

filetime started requiring Rust 2018 with version 0.2.6, so version
0.2.5 has to be set explicitly to the build to succeed.
@rabite0
Copy link
Contributor Author

rabite0 commented May 22, 2019

Also, these changes to filetime happened 7 days ago, this is why it hasn't popped up before, since the last time the try-v4 branch was built is 14 days ago.

@passcod
Copy link
Member

passcod commented May 22, 2019

Thanks for that.

@passcod passcod changed the title fix build on rust 1.26.1 [libs] Peg filetime to 0.2.5 for rust 1.26.1 compat May 22, 2019
@passcod passcod merged commit d9a2ef4 into notify-rs:try-v4 May 22, 2019
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