On Web, use target_family = "wasm"
This commit is contained in:
parent
77f8e511e9
commit
f0fcb346b0
2 changed files with 5 additions and 5 deletions
2
build.rs
2
build.rs
|
|
@ -35,7 +35,7 @@ fn main() {
|
|||
cfg_aliases! {
|
||||
// Systems.
|
||||
android_platform: { target_os = "android" },
|
||||
wasm_platform: { target_arch = "wasm32" },
|
||||
wasm_platform: { target_family = "wasm" },
|
||||
macos_platform: { target_os = "macos" },
|
||||
ios_platform: { target_os = "ios" },
|
||||
windows_platform: { target_os = "windows" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue