fix: gg rust 1.82 for introducing a nice breaking change in config which was not mentioned in changelog
Some checks failed
Install.sh / build (push) Has been cancelled
Linux / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled

This commit is contained in:
veeso
2024-10-21 11:09:50 +02:00
parent 69f821baef
commit e45c3d5b4e
11 changed files with 30 additions and 30 deletions

View File

@@ -219,7 +219,7 @@ impl Formatter {
},
None => 0.to_string(),
};
#[cfg(windows)]
#[cfg(win)]
let group: String = match fsentry.metadata().gid {
Some(gid) => gid.to_string(),
None => 0.to_string(),
@@ -428,7 +428,7 @@ impl Formatter {
},
None => 0.to_string(),
};
#[cfg(windows)]
#[cfg(win)]
let username: String = match fsentry.metadata().uid {
Some(uid) => uid.to_string(),
None => 0.to_string(),
@@ -600,7 +600,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
formatter.fmt(&entry),
format!(
@@ -631,7 +631,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
formatter.fmt(&entry),
format!(
@@ -662,7 +662,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
formatter.fmt(&entry),
format!(
@@ -693,7 +693,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
formatter.fmt(&entry),
format!(
@@ -731,7 +731,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
formatter.fmt(&entry),
format!(
@@ -762,7 +762,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
formatter.fmt(&entry),
format!(

View File

@@ -527,7 +527,7 @@ mod tests {
fmt_time(t, "%b %d %Y %H:%M")
)
);
#[cfg(windows)]
#[cfg(win)]
assert_eq!(
explorer.fmt_file(&entry),
format!(