Skip to content

Commit

Permalink
Remove check for target_arch = "asmjs"
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 committed Jul 12, 2024
1 parent 87ada34 commit 7614b66
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 7614b66

Please sign in to comment.