From 5a45a7f5591092489eebf25f4fdd854b18f59ac2 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 12 Jul 2024 22:01:08 +0700 Subject: Remove check for `target_arch = "asmjs"` (#679) This is long obsolete and was removed from Rust itself in https://github.com/rust-lang/rust/pull/117338 --- examples3d/all_examples3_wasm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples3d') diff --git a/examples3d/all_examples3_wasm.rs b/examples3d/all_examples3_wasm.rs index a9e1456..6b70c38 100644 --- a/examples3d/all_examples3_wasm.rs +++ b/examples3d/all_examples3_wasm.rs @@ -51,7 +51,7 @@ fn demo_name_from_command_line() -> Option { None } -#[cfg(any(target_arch = "wasm32", target_arch = "asmjs"))] +#[cfg(target_arch = "wasm32")] fn demo_name_from_url() -> Option { None // let window = stdweb::web::window(); @@ -63,7 +63,7 @@ fn demo_name_from_url() -> Option { // } } -#[cfg(not(any(target_arch = "wasm32", target_arch = "asmjs")))] +#[cfg(not(target_arch = "wasm32"))] fn demo_name_from_url() -> Option { None } -- cgit