From aca21dad1ba576e2e8b81cfa5ac87d58c69f1de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 7 May 2020 21:15:59 +0200 Subject: BREAKING: make Worker.deno unstable (#5128) This commit makes "Worker.deno" option unstable. Added new manual entry "docs/runtime/workers.md". Removed stale workers tests. --- cli/ops/worker_host.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/ops') diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs index ea8e3db56..479fcceaf 100644 --- a/cli/ops/worker_host.rs +++ b/cli/ops/worker_host.rs @@ -184,6 +184,9 @@ fn op_create_worker( }; let args_name = args.name; let use_deno_namespace = args.use_deno_namespace; + if use_deno_namespace { + state.check_unstable("Worker.deno"); + } let parent_state = state.clone(); let mut state = state.borrow_mut(); let global_state = state.global_state.clone(); -- cgit v1.2.3