On FreeBSD std::fs::metadata(".").is_dir() returns false #43005
Labels
O-freebsd
Operating system: FreeBSD
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
I found this by trying glob crate. going through call stack I determied that that issue is on FreeBSD std::fs:metadata(".").unwrap().is_dir() returns false, but on linux it returns true.
Here is code i used to test
I am running FreeBSD-12.0-CURRENT but i hope its not the issue.
I suspect that FreeBSD was just not included in one of targets for function that should work on FreeBSD.
I am happy to provide any/all required information to help fix this,
Cheers,
Kirill R
The text was updated successfully, but these errors were encountered: