aboutsummaryrefslogtreecommitdiff
path: root/examples3d
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-07-12 22:01:08 +0700
committerGitHub <noreply@github.com>2024-07-12 17:01:08 +0200
commit5a45a7f5591092489eebf25f4fdd854b18f59ac2 (patch)
treec60effe03c3bf5fc1da98ecefb2cbb7ca39d92c4 /examples3d
parent23c0c05a5bfb1bc95efa974204c9521aba97186c (diff)
downloadrapier-5a45a7f5591092489eebf25f4fdd854b18f59ac2.tar.gz
rapier-5a45a7f5591092489eebf25f4fdd854b18f59ac2.tar.bz2
rapier-5a45a7f5591092489eebf25f4fdd854b18f59ac2.zip
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
Diffstat (limited to 'examples3d')
-rw-r--r--examples3d/all_examples3_wasm.rs4
1 files changed, 2 insertions, 2 deletions
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<String> {
None
}
-#[cfg(any(target_arch = "wasm32", target_arch = "asmjs"))]
+#[cfg(target_arch = "wasm32")]
fn demo_name_from_url() -> Option<String> {
None
// let window = stdweb::web::window();
@@ -63,7 +63,7 @@ fn demo_name_from_url() -> Option<String> {
// }
}
-#[cfg(not(any(target_arch = "wasm32", target_arch = "asmjs")))]
+#[cfg(not(target_arch = "wasm32"))]
fn demo_name_from_url() -> Option<String> {
None
}