Fix conditional compilation

This commit is contained in:
Maximilian Ammann 2022-03-14 16:10:41 +01:00
parent 366a0e973b
commit 18e6d91d1d
2 changed files with 1 additions and 6 deletions

View File

@ -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),

View File

@ -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 {