summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-01-29 07:03:42 -0500
committerGitHub <noreply@github.com>2020-01-29 13:03:42 +0100
commitd14864c57cebbd1d5bc18b8a9e05e522eb9987b0 (patch)
tree70fe6721c8794ac006d68b3adef76f809be7f1a3 /core
parentf32c31a0eba90b6b1f711a2d5dfe182157d3ecb5 (diff)
Upgrade rusty_v8 (#3816)
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(),
};