From 7fc0e8ec8cd4b18ba10a04cf0ac2bee48826de3d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 6 Jul 2021 23:48:01 -0400 Subject: chore: use parking_lot for synchronization primitives to align with tokio (#11289) parking_lot is already transitively used in tokio via the "full" cargo feature --- cli/ops/runtime_compiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/ops') diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index dd500077a..b11d79500 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.rs @@ -13,6 +13,7 @@ use deno_core::error::generic_error; use deno_core::error::type_error; use deno_core::error::AnyError; use deno_core::error::Context; +use deno_core::parking_lot::Mutex; use deno_core::resolve_url_or_path; use deno_core::serde_json; use deno_core::serde_json::json; @@ -24,7 +25,6 @@ use std::cell::RefCell; use std::collections::HashMap; use std::rc::Rc; use std::sync::Arc; -use std::sync::Mutex; pub fn init(rt: &mut deno_core::JsRuntime) { super::reg_async(rt, "op_emit", op_emit); -- cgit v1.2.3