Closed
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