From bd425704e63d15c852edf5248d163998556e87be Mon Sep 17 00:00:00 2001 From: jbachurski Date: Sun, 12 Feb 2023 18:33:54 +0000 Subject: [PATCH] Wasm build runner --- .cargo/config | 2 ++ .gitignore | 4 ++++ Cargo.toml | 3 --- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..758ed61 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[target.wasm32-unknown-unknown] +runner = "wasm-server-runner" diff --git a/.gitignore b/.gitignore index dd4fd26..7713601 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,7 @@ Cargo.lock /target __pycache__/ + +# Wasm + +/out/ diff --git a/Cargo.toml b/Cargo.toml index d57f783..42cf7f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,3 @@ opt-level = 1 # Enable high optimizations for dependencies (incl. Bevy), but not for our code: [profile.dev.package."*"] opt-level = 3 - -[target.wasm32-unknown-unknown] -runner = "wasm-server-runner"