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
This commit is contained in:
Bruce Mitchener
2024-07-12 22:01:08 +07:00
committed by GitHub
parent 23c0c05a5b
commit 5a45a7f559

View File

@@ -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
}