Skip to content

Commit

Permalink
Fix Windows build error
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamVenner committed Sep 19, 2023
1 parent f8a28e6 commit 24c6dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastgmad-lib/src/workshop/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ impl ContentPath {

let temp_gma_path = dir.join("fastgmad.gma");

let symlink_result: Result<(), FastGmadError> = {
let symlink_result: Result<(), std::io::Error> = {
#[cfg(windows)]
{
let res = std::os::windows::fs::symlink_file(gma_path, &temp_gma_path);
Expand All @@ -414,7 +414,7 @@ impl ContentPath {

#[cfg(not(windows))]
{
Err(fastgmad_io_error!(error: std::io::Error::from(std::io::ErrorKind::Unsupported)))
Err(std::io::Error::from(std::io::ErrorKind::Unsupported))
}
};

Expand Down

0 comments on commit 24c6dc5

Please sign in to comment.