From f0cd51a56642599a89daee8330ca4bd20fc97c87 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 15 Feb 2019 07:39:42 -0800 Subject: [PATCH] Temporarily unconditionally remove producers section We've had a lot of bug reports with upstream webpack currently and while webpack has a fix it may take a moment to deploy. Let's try and fix wasm-bindgen in the meantime! Once webpack is updated we can go back to emitting a producers section by default and publish a new version of wasm-bindgen. --- crates/cli-support/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli-support/src/lib.rs b/crates/cli-support/src/lib.rs index 49b04f0ac6f..24daa21ade8 100755 --- a/crates/cli-support/src/lib.rs +++ b/crates/cli-support/src/lib.rs @@ -58,7 +58,7 @@ impl Bindgen { demangle: true, keep_debug: false, remove_name_section: false, - remove_producers_section: false, + remove_producers_section: true, emit_start: true, weak_refs: env::var("WASM_BINDGEN_WEAKREF").is_ok(), threads: threads_config(),