-
Notifications
You must be signed in to change notification settings - Fork 721
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
windows-sys 0.52 #1852
windows-sys 0.52 #1852
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1852 +/- ##
=======================================
Coverage 96.01% 96.01%
=======================================
Files 136 136
Lines 20692 20692
Branches 226 226
=======================================
Hits 19867 19867
Misses 791 791
Partials 34 34 ☔ View full report in Codecov by Sentry. |
Thanks for the PR.
No worries, because the CI will run the tests. However, we shouldn't put "I was unable to locally test this due to the asm/C code" in the commit message because that isn't useful for people reading the history. Please amend the commit to explain why we are updating to 0.52. |
Dependency bump which keeps in line with the rest of the ecosystem and intends to de-duplicates versions within users' trees.
53b8d5f
to
12dbd18
Compare
Provided a more descriptive message. |
`ocrs` currently relies on checking the `HOME` environment variable to determine where to placed cached models. Windows doesn't use this, though, so of course, it breaks. 😅 Implement the proper cross-platform logic for getting a home directory with [`home::home_dir`]. `ocrs`' current dependency tree use `windows` 0.48.0 because of the `ring` dependency via dependency on `ureq`. This PR unfortuantely also brings in `windows` 0.52.0 as a duplicate dependency. [`briansmith/ring`#1852] upgrades `ring` to use `windows` 0.52.0, and should be followed up with to remove this dep. duplication. [`briansmith/ring`#1852]: briansmith/ring#1852 [`home::home_dir`]: https://docs.rs/home/0.5.9/home/fn.home_dir.html
Thanks! I have tested this and merged it. |
I was unable to locally test this due to the asm/C code.
I also couldn't run the CI on this commit due to the amount of jobs the CI spawns.
I stripped the non-Windows CIs out on my master branch and the Windows CIs did pass, so I believe this is valid without any actual code edits.
See https://github.com/kayabaNerve/ring/actions/runs/7096652359 for those.