set cargo's default target correctly

This commit is contained in:
Peter Cai 2021-04-04 13:32:12 +08:00
parent 309bcbdfa5
commit 0e149f954b
2 changed files with 2 additions and 3 deletions

2
.cargo/config Normal file
View File

@ -0,0 +1,2 @@
[build]
target = "wasm32-unknown-unknown"

View File

@ -10,9 +10,6 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[build]
target = "wasm32-unknown-unknown"
[dependencies]
async_static = "0.1"
base64 = "0.13"