Skip to content

Commit

Permalink
Fix some compilation issues on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty/Benediction committed Aug 18, 2024
1 parent ad02c60 commit 9446ee6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified cpclib-basm/pgo.sh
100755 → 100644
Empty file.
Empty file modified cpclib-bdasm/tries.sh
100755 → 100644
Empty file.
3 changes: 1 addition & 2 deletions cpclib-emucontrol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ cpclib-common.workspace = true
clap = {workspace=true, features=["derive"]}
glob = "0.3.1"

[target.'cfg(windows)'.dependencies]
fs_extra = "1.3.0"


[dev-dependencies]
assert_cmd = "2.0.16"
Expand Down
3 changes: 2 additions & 1 deletion cpclib-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ glob = "0.3.1"
tar = "0.4.41"
zip-extract = "=0.1.3"


[target.'cfg(windows)'.dependencies]
fs_extra = "1.3.0"
3 changes: 3 additions & 0 deletions cpclib-runner/src/emucontrol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ use enigo::{Direction, Enigo, Key, Keyboard, Settings};
use xcap::image::{open, ImageBuffer, Rgba};
use xcap::Window;

#[cfg(windows)]
use fs_extra;

use crate::delegated::DelegatedRunner;
use crate::runner::emulator::Emulator;
use crate::runner::runner::RunnerWithClap;
Expand Down

0 comments on commit 9446ee6

Please sign in to comment.