Fix Send requirements in WebAssembly builds

This commit is contained in:
Héctor Ramón Jiménez 2025-08-29 09:07:19 +02:00
parent 4991a1a7f3
commit 5417b630a5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
6 changed files with 14 additions and 20 deletions

View file

@ -528,7 +528,6 @@ pub use crate::core::{
pub use crate::program::Preset;
pub use crate::program::message;
pub use crate::runtime::exit;
pub use crate::runtime::futures::MaybeSend;
pub use iced_futures::Subscription;
pub use Alignment::Center;
@ -698,7 +697,7 @@ pub fn run<State, Message, Theme, Renderer>(
) -> Result
where
State: Default + 'static,
Message: MaybeSend + message::MaybeDebug + message::MaybeClone + 'static,
Message: Send + message::MaybeDebug + message::MaybeClone + 'static,
Theme: Default + theme::Base + 'static,
Renderer: program::Renderer + 'static,
{