From 9f381cd26fee3926ac0128772e23f6e00681e4e1 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 10 Sep 2017 21:58:50 +0200 Subject: Added compile flags to disable anything that shouldn't end in a wasm build - No GTK - No Portaudio --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index cb31267..95dee5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,10 +4,12 @@ version = "0.1.0" authors = ["Justin Worthe "] [dependencies] +bencher = "0.1.2" + +[target.'cfg(not(target_os = "emscripten"))'.dependencies] portaudio = "0.7.0" gtk = "0.1.1" cairo-rs = "0.1.1" -bencher = "0.1.2" [[bench]] name = "transforms" -- cgit v1.2.3