Skip to content

Commit

Permalink
tests: improve and unified mobile testing
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Feb 23, 2024
1 parent d3d4576 commit 77751e7
Show file tree
Hide file tree
Showing 11 changed files with 644 additions and 54 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<<<<<<< HEAD
# This is added so rust-analyzer checks the `target_os` of android
# this will be turned off during production as we also support ios
[build]
target = "aarch64-linux-android"
=======
[build]
target = "aarch64-apple-ios"
>>>>>>> fbce2d8 (tests: improve and unified mobile testing)
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ crate-type = ["cdylib", "rlib"]
name = "secure_env"

[target.'cfg(target_os = "ios")'.dependencies]
p256 = { version = "0.13.2", features = ["ecdsa-core"] }
security-framework = { version = "2.9.2" }
p256 = { version = "0.13.2", features = ["ecdsa-core"] }

[target.'cfg(target_os = "android")'.dependencies]
android-activity = { version = "0.5.0", features = ["native-activity"] }
Expand Down
Loading

0 comments on commit 77751e7

Please sign in to comment.