Skip to content

Commit

Permalink
Remove check for target_arch = "asmjs" (#679)
Browse files Browse the repository at this point in the history
This is long obsolete and was removed from Rust itself in
rust-lang/rust#117338
  • Loading branch information
waywardmonkeys authored Jul 12, 2024
1 parent 23c0c05 commit 5a45a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples3d/all_examples3_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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
}
Expand Down

0 comments on commit 5a45a7f

Please sign in to comment.