Skip to content

Commit

Permalink
WASM fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Leinnan committed Feb 14, 2024
1 parent e9cc0ed commit 3a29ed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bevy_forge/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use beam::BeamPlugin;

use bevy::{asset::AssetMetaCheck, prelude::*};
#[cfg(target_family = "wasm")]
use crossbeam_channel::{bounded, Receiver};
use debug::DebugPlugin;
use microservice::RequestSayHiEvent;

Expand Down
2 changes: 2 additions & 0 deletions bevy_forge/src/microservice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use beam_microservice::{
};
#[cfg(not(target_family = "wasm"))]
use bevy::tasks::Task;
#[cfg(target_family = "wasm")]
use crossbeam_channel::{bounded, Receiver};
use bevy::{prelude::*, tasks::IoTaskPool};

pub struct RequestSayHiPlugin;
Expand Down

0 comments on commit 3a29ed3

Please sign in to comment.