Add FreeBSD support

This commit is contained in:
Konstantin Schukraft 2023-09-16 21:41:19 +02:00
parent 8e72ae90c1
commit 6ff8a42d72
No known key found for this signature in database
GPG key ID: B79CE592DECE4ED3

View file

@ -99,6 +99,8 @@ pub fn file_mode(mode: u32) -> String {
#[cfg(target_os = "macos")]
let m = mode as u16;
#[cfg(target_os = "freebsd")]
let m = mode as u16;
#[cfg(target_os = "linux")]
let m = mode;