Allow providing a DOM identifier as a target for Wasm

This commit is contained in:
Héctor Ramón Jiménez 2022-11-05 01:43:28 +01:00
parent ab2872fe2b
commit d8d57a800a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 34 additions and 8 deletions

View file

@ -7,7 +7,15 @@ mod platform;
#[path = "settings/macos.rs"]
mod platform;
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
#[cfg(target_arch = "wasm32")]
#[path = "settings/wasm.rs"]
mod platform;
#[cfg(not(any(
target_os = "windows",
target_os = "macos",
target_arch = "wasm32"
)))]
#[path = "settings/other.rs"]
mod platform;
@ -27,7 +35,7 @@ pub struct Settings<Flags> {
/// communicate with it through the windowing system.
pub id: Option<String>,
/// The [`Window`] settings
/// The [`Window`] settings.
pub window: Window,
/// The data needed to initialize an [`Application`].