From 0e149f954bd685b2a90246e7586cf878beacff38 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Sun, 4 Apr 2021 13:32:12 +0800 Subject: [PATCH] set cargo's default target correctly --- .cargo/config | 2 ++ Cargo.toml | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..435ed75 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[build] +target = "wasm32-unknown-unknown" \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 7a209ba..810db4a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"