Skip to content

Commit

Permalink
Changed how platforms are specified in Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
kitao committed Apr 15, 2023
1 parent 7a73e21 commit f34b015
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

# 1.9.15

- Changed how platforms are specified in Rust

# 1.9.14

- Modified the layout of the example #13
Expand Down
4 changes: 2 additions & 2 deletions crates/pyxel-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rand = "0.8"
rand_xoshiro = "0.6"
zip = { version = "0.6", default-features = false, features = ["deflate"] }

[target.'cfg(any(target_os = "windows", target_os = "macos", target_os = "linux"))'.dependencies]
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
chrono = "0.4"

[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies]
Expand All @@ -42,7 +42,7 @@ sdl2 = { version = "0.35", default-features = false, features = [
"unsafe_textures",
] }

[target.'cfg(any(target_os = "linux", target_os = "emscripten"))'.dependencies]
[target.'cfg(not(any(target_os = "windows", target_os="macos")))'.dependencies]
sdl2 = { version = "0.35", default-features = false, features = [
"unsafe_textures",
] }
Expand Down

0 comments on commit f34b015

Please sign in to comment.