Skip to content

Commit

Permalink
make winapi only used on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
RinLovesYou committed Nov 26, 2023
1 parent 1c42e25 commit 7347cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rust/MelonBootstrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ lazy_static = "1.4.0"
libloading = "0.8.1"
dobby-rs = { git = "https://github.com/RinLovesYou/dobby-rs" }
libc = "0.2.150"
winapi = { version = "0.3.9", features = ["winuser", "minwindef", "std", "libloaderapi"] }

[target.'cfg(windows)'.dependencies]
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.9", features = ["winuser", "minwindef", "std", "libloaderapi"] }

[target.'cfg(not(target_os = "android"))'.dependencies]
msgbox = "0.7.0"
Expand Down

0 comments on commit 7347cbf

Please sign in to comment.