mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix platform for android
This commit is contained in:
parent
dd591f42ce
commit
57cdb083da
@ -1,7 +1,7 @@
|
|||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
mod web;
|
mod web;
|
||||||
|
|
||||||
#[cfg(target_arch = "aarch64")]
|
#[cfg(all(target_arch = "aarch64", not(target_os = "android")))]
|
||||||
mod apple;
|
mod apple;
|
||||||
|
|
||||||
#[cfg(target_os = "android")]
|
#[cfg(target_os = "android")]
|
||||||
@ -10,7 +10,7 @@ mod android;
|
|||||||
|
|
||||||
#[cfg(not(any(
|
#[cfg(not(any(
|
||||||
target_os = "android",
|
target_os = "android",
|
||||||
target_arch = "aarch64",
|
all(target_arch = "aarch64", not(target_os = "android")),
|
||||||
target_arch = "wasm32"
|
target_arch = "wasm32"
|
||||||
)))]
|
)))]
|
||||||
mod generic;
|
mod generic;
|
||||||
@ -18,7 +18,7 @@ mod generic;
|
|||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
pub use web::*;
|
pub use web::*;
|
||||||
|
|
||||||
#[cfg(target_arch = "aarch64")]
|
#[cfg(all(target_arch = "aarch64", not(target_os = "android")))]
|
||||||
pub use apple::*;
|
pub use apple::*;
|
||||||
|
|
||||||
#[cfg(target_os = "android")]
|
#[cfg(target_os = "android")]
|
||||||
@ -26,7 +26,7 @@ pub use android::*;
|
|||||||
|
|
||||||
#[cfg(not(any(
|
#[cfg(not(any(
|
||||||
target_os = "android",
|
target_os = "android",
|
||||||
target_arch = "aarch64",
|
all(target_arch = "aarch64", not(target_os = "android")),
|
||||||
target_arch = "wasm32"
|
target_arch = "wasm32"
|
||||||
)))]
|
)))]
|
||||||
pub use generic::*;
|
pub use generic::*;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user