mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix conditional compilation
This commit is contained in:
parent
366a0e973b
commit
18e6d91d1d
@ -17,11 +17,7 @@ use crate::io::{LayerResult, TileRequest, TileRequestID, TileResult};
|
||||
use crate::tessellation::Tessellated;
|
||||
|
||||
pub enum ScheduleMethod {
|
||||
#[cfg(not(any(
|
||||
target_os = "android",
|
||||
all(target_arch = "aarch64", not(target_os = "android")),
|
||||
target_arch = "wasm32"
|
||||
)))]
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
Tokio(crate::platform::scheduler::TokioScheduleMethod),
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
WebWorker(crate::platform::scheduler::WebWorkerScheduleMethod),
|
||||
|
||||
@ -12,7 +12,6 @@ pub mod scheduler {
|
||||
use crate::error::Error;
|
||||
use crate::io::scheduler::IOScheduler;
|
||||
use crate::io::TileRequestID;
|
||||
|
||||
|
||||
impl From<reqwest::Error> for Error {
|
||||
fn from(err: reqwest::Error) -> Self {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user