From 0aa5d09b70dc5cf7c3421b89fd8e9a13e8d6bde1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Fri, 17 Jun 2022 00:10:00 +0100 Subject: [PATCH] missing wasm flag --- crates/bevy_gltf/src/loader.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_gltf/src/loader.rs b/crates/bevy_gltf/src/loader.rs index 7aa87b330dab5..39891699345e7 100644 --- a/crates/bevy_gltf/src/loader.rs +++ b/crates/bevy_gltf/src/loader.rs @@ -29,6 +29,7 @@ use bevy_render::{ view::VisibleEntities, }; use bevy_scene::Scene; +#[cfg(not(target_arch = "wasm32"))] use bevy_tasks::IoTaskPool; use bevy_transform::{components::Transform, TransformBundle};