From 4036be2ab2db0c5f146d1c4246e6d5acb337f9ec Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 27 Apr 2020 09:59:34 -0400 Subject: Make runtime compile ops unstable (#4912) --- cli/ops/runtime_compiler.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/ops/runtime_compiler.rs') diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index 666e243dc..4c4110e1e 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.rs @@ -27,6 +27,7 @@ fn op_compile( args: Value, _zero_copy: Option, ) -> Result { + state.check_unstable("Deno.compile"); let args: CompileArgs = serde_json::from_value(args)?; Ok(JsonOp::Async(runtime_compile( state.borrow().global_state.clone(), @@ -48,6 +49,7 @@ fn op_transpile( args: Value, _zero_copy: Option, ) -> Result { + state.check_unstable("Deno.transpile"); let args: TranspileArgs = serde_json::from_value(args)?; Ok(JsonOp::Async(runtime_transpile( state.borrow().global_state.clone(), -- cgit v1.2.3