From 2b66b8a03e4f81cc158be40d07534f26fa762c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 7 May 2020 20:43:27 +0200 Subject: BREAKING: Remove support for .wasm imports (#5135) Importing .wasm files is non-standardized therefore deciding to support current functionality past 1.0 release is risky. Besides that .wasm import posed many challenges in our codebase due to complex interactions with TS compiler which spawned thread for each encountered .wasm import. This commit removes: - cli/compilers/wasm.rs - cli/compilers/wasm_wrap.js - two integration tests related to .wasm imports --- cli/compilers/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'cli/compilers/mod.rs') diff --git a/cli/compilers/mod.rs b/cli/compilers/mod.rs index f773e2de6..bc3bfade2 100644 --- a/cli/compilers/mod.rs +++ b/cli/compilers/mod.rs @@ -6,14 +6,12 @@ use futures::Future; mod compiler_worker; mod js; mod ts; -mod wasm; pub use js::JsCompiler; pub use ts::runtime_compile; pub use ts::runtime_transpile; pub use ts::TargetLib; pub use ts::TsCompiler; -pub use wasm::WasmCompiler; pub type CompilationResultFuture = dyn Future; -- cgit v1.2.3