From 47802b5ef76c68c828de62f22ca794483e193a75 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Wed, 4 Jan 2023 18:54:43 +0100 Subject: [PATCH] Only set WASM target flags for wasm target --- .cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index e8dede4..534b7fe 100755 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,5 @@ [build] target = "wasm32-unknown-unknown" + +[target.wasm32-unknown-unknown] rustflags = ["-C", "target-feature=+reference-types,+multivalue"] \ No newline at end of file