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/tests/integration_tests.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'cli/tests/integration_tests.rs') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index b549dc6d0..bbd437623 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1143,12 +1143,6 @@ itest_ignore!(_049_info_flag_script_jsx { http_server: true, }); -itest!(_051_wasm_import { - args: "run --reload --allow-net --allow-read 051_wasm_import.ts", - output: "051_wasm_import.ts.out", - http_server: true, -}); - // TODO(ry) Re-enable flaky test https://github.com/denoland/deno/issues/4049 itest_ignore!(_052_no_remote_flag { args: @@ -1165,12 +1159,6 @@ itest!(_054_info_local_imports { exit_code: 0, }); -itest!(_055_import_wasm_via_network { - args: "run --reload http://127.0.0.1:4545/cli/tests/055_import_wasm_via_network.ts", - output: "055_import_wasm_via_network.ts.out", - http_server: true, -}); - itest!(_056_make_temp_file_write_perm { args: "run --allow-read --allow-write=./subdir/ 056_make_temp_file_write_perm.ts", -- cgit v1.2.3