-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
O-freebsdOperating system: FreeBSDOperating system: FreeBSDT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
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
use std::fs;
fn main() {
let dir = fs::metadata(".").unwrap().is_dir();
println!("{}", dir);
}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
Metadata
Metadata
Assignees
Labels
O-freebsdOperating system: FreeBSDOperating system: FreeBSDT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.