Skip to content

Remove thread-blocking call to libc::stat in Path::stat #10022

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

Merged
merged 3 commits into from
Oct 23, 2013
Merged

Remove thread-blocking call to libc::stat in Path::stat #10022

merged 3 commits into from
Oct 23, 2013

Conversation

hatahet
Copy link
Contributor

@hatahet hatahet commented Oct 23, 2013

Fixes #9958

@@ -635,6 +635,9 @@ impl IoFactory for UvIoFactory {
path: Path::new(path_str.as_slice()),
is_file: stat.is_file(),
is_dir: stat.is_dir(),
device: stat.st_dev,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These fields were recently privatized in uvll, so you may have to un-priv them (feel free to)

@hatahet
Copy link
Contributor Author

hatahet commented Oct 23, 2013

Just fixed the priv issue.

bors added a commit that referenced this pull request Oct 23, 2013
@bors bors closed this Oct 23, 2013
@bors bors merged commit dabf377 into rust-lang:master Oct 23, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 17, 2022
Don't lint `implicit_clone` when the type doesn't implement clone

fixes rust-lang#10019
changelog: `implicit_clone`: Don't lint when the type doesn't implement clone
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.

Remove thread-blocking call to libc::stat in Path::stat
3 participants