Platform is called Web not Wasm (#3393)

This commit is contained in:
daxpedda 2024-01-14 18:54:52 +01:00 committed by GitHub
parent 2ee44246ae
commit 16d860736b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 57 additions and 57 deletions

View file

@ -16,7 +16,7 @@ mod platform;
#[cfg(ios_platform)]
#[path = "ios/mod.rs"]
mod platform;
#[cfg(wasm_platform)]
#[cfg(web_platform)]
#[path = "web/mod.rs"]
mod platform;
#[cfg(orbital_platform)]
@ -63,7 +63,7 @@ impl From<Fullscreen> for RootFullscreen {
not(android_platform),
not(x11_platform),
not(wayland_platform),
not(wasm_platform),
not(web_platform),
not(orbital_platform),
))]
compile_error!("The platform you're compiling for is not supported by winit");