-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Remove thread-blocking call to libc::stat
in Path::stat
#9958
Comments
What about calls to |
It seems that there is no 1-to-1 mapping of |
The |
When I changed the implementation of
I do have an |
The calls to |
If it is fine to drop fields for now, I suppose we should remove tests that reference such fields. E.g. in |
Both the fields in question exist in |
Feel free to modify |
Fix rust-lang#9958 This PR fixes rust-lang#9958. In order to fix the issue, the lint will now peel reference operators and enclose the expression with parentheses when necessary. changelog: [`comparison_to_empty`]: Peel deref operators in suggestions when necessary
This should instead use the
rt::io::file
interface which does not block the thread. Additionally, this should remove thedefault_stat
functions in thepath/mod.rs
file along with related definitions.This is a pretty good first project for anyone wanting to sink their teeth into some library work! It's a bit of refactoring and should result in a nice large negative diffstat!
The text was updated successfully, but these errors were encountered: