summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/shared_queue.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index c8fc6c12f..a9c2490a0 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -21,7 +21,7 @@ libc = "0.2.66"
log = "0.4.8"
serde_json = "1.0.44"
url = "2.1.0"
-rusty_v8 = "0.2.0"
+rusty_v8 = "0.2.1"
[[example]]
name = "deno_core_http_bench"
diff --git a/core/shared_queue.rs b/core/shared_queue.rs
index 0d2fc15c3..d69284404 100644
--- a/core/shared_queue.rs
+++ b/core/shared_queue.rs
@@ -43,8 +43,7 @@ impl SharedQueue {
let mut buf = Vec::new();
buf.resize(HEAD_INIT + len, 0);
let buf = buf.into_boxed_slice();
- let buf =
- unsafe { v8::SharedArrayBuffer::new_backing_store_from_boxed_slice(buf) };
+ let buf = v8::SharedArrayBuffer::new_backing_store_from_boxed_slice(buf);
let mut q = Self {
buf: buf.make_shared(),
};