Skip to content

Commit

Permalink
wasm: use target_family instead of target_arch to determine wasm impl…
Browse files Browse the repository at this point in the history
…ementation
  • Loading branch information
amodm committed Apr 20, 2024
1 parent 2f1f0e6 commit 0a55fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#[cfg_attr(any(target_os = "ios", target_os = "tvos"), path = "ios.rs")]
#[cfg_attr(target_os = "macos", path = "macos.rs")]
#[cfg_attr(target_os = "android", path = "android.rs")]
#[cfg_attr(target_arch = "wasm32", path = "wasm.rs")]
#[cfg_attr(target_family = "wasm", path = "wasm.rs")]
#[cfg_attr(windows, path = "windows.rs")]
#[cfg_attr(
any(
Expand Down

0 comments on commit 0a55fdf

Please sign in to comment.