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

@@ -431,7 +431,7 @@ impl HostBridge for Localhost {
})
}
#[cfg(windows)]
#[cfg(win)]
fn symlink(&mut self, _src: &Path, _dst: &Path) -> HostResult<()> {
warn!("Cannot create symlink on Windows");
@@ -476,7 +476,7 @@ impl HostBridge for Localhost {
}
}
#[cfg(windows)]
#[cfg(win)]
fn chmod(&mut self, _path: &std::path::Path, _pex: UnixPex) -> HostResult<()> {
warn!("Cannot set file mode on Windows");
@@ -592,7 +592,7 @@ mod tests {
}
#[test]
#[cfg(windows)]
#[cfg(win)]
fn test_host_localhost_new() {
let mut host: Localhost = Localhost::new(PathBuf::from("C:\\users")).ok().unwrap();
assert_eq!(host.wrkdir, PathBuf::from("C:\\users"));