From f9eb9284019e0e3ada5037ac33dcd9132bf8ffd3 Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Thu, 30 Sep 2021 12:44:38 +0200 Subject: [PATCH] wasm3-sys: Disable verbose errors --- wasm3-sys/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wasm3-sys/build.rs b/wasm3-sys/build.rs index 95eaf24..0eb18c3 100644 --- a/wasm3-sys/build.rs +++ b/wasm3-sys/build.rs @@ -76,6 +76,7 @@ fn gen_bindings() { } ), "-Dd_m3LogOutput=0", + "-Dd_m3VerboseErrorMessages=0", "-Iwasm3/source", ] .iter(), @@ -137,5 +138,6 @@ fn main() { Some("0") }, ); + cfg.define("d_m3VerboseErrorMessages", Some("0")); cfg.compile("wasm3"); }