misc: get rid of some errors from Cargo lol

This commit is contained in:
2025-06-24 21:55:11 +01:00
parent 2a6991fe4a
commit 92c4660a4d
9 changed files with 119 additions and 107 deletions
+4 -7
View File
@@ -1,8 +1,3 @@
cargo-features = ["codegen-backend"]
[profile.dev]
codegen-backend = "cranelift"
[package]
name = "emulator"
version = "0.1.0"
@@ -22,7 +17,6 @@ required-features = ["config"]
common = { path = "../common" }
assembler = { path = "../assembler" }
dsa_editor = { path = "../dsa_editor" }
eframe = { version = "0.31.1" }
egui = "0.31.1"
dirs = "6.0.0"
discord-presence = { version = "1.6.0", optional = true }
@@ -35,7 +29,7 @@ default = ["config"]
discord-rpc = ["dep:discord-presence"]
config = ["dep:toml", "dep:serde"]
# Add support for Android for the fun of it.
# Add support for Android for the fun of it. Currently crashes lol.
[target.'cfg(target_os = "android")'.dependencies]
winit = { version = "0.30.11", features = ["android-native-activity"] }
# jni = "0.21.1"
@@ -43,3 +37,6 @@ winit = { version = "0.30.11", features = ["android-native-activity"] }
[target.'cfg(target_os = "android")'.dependencies.eframe]
version = "0.31.1"
features = ["android-native-activity"]
[target.'cfg(not(target_os = "android"))'.dependencies.eframe]
version = "0.31.1"