mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-24 08:09:16 -05:00
Downgrade to V8 8.6.334 again (#447)
After the upgrade some Deno tests started crashing somewhere deep inside V8, and the cause of these crashes is unclear. This reverts the following commits: *12334ffe
Upgrade gn to 6f13aaac; make BUILD.gn compatible with it (#443) *f53f10d4
Upgrade V8 to 8.7.25 (#443)
This commit is contained in:
parent
7b62f73ab3
commit
e88ea4ad01
13 changed files with 23 additions and 21 deletions
17
BUILD.gn
17
BUILD.gn
|
@ -1,20 +1,23 @@
|
||||||
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
import("//v8/gni/v8.gni")
|
||||||
|
|
||||||
static_library("rusty_v8") {
|
v8_static_library("rusty_v8") {
|
||||||
complete_static_lib = true
|
|
||||||
sources = [ "src/binding.cc" ]
|
sources = [ "src/binding.cc" ]
|
||||||
deps = [
|
deps = [
|
||||||
|
":v8",
|
||||||
"//build/config:shared_library_deps",
|
"//build/config:shared_library_deps",
|
||||||
|
]
|
||||||
|
configs = [ ":rusty_v8_config" ]
|
||||||
|
}
|
||||||
|
|
||||||
|
v8_source_set("v8") {
|
||||||
|
deps = [
|
||||||
"//v8:v8",
|
"//v8:v8",
|
||||||
"//v8:v8_libbase",
|
"//v8:v8_libbase",
|
||||||
"//v8:v8_libplatform",
|
"//v8:v8_libplatform",
|
||||||
"//v8:v8_libsampler",
|
"//v8:v8_libsampler",
|
||||||
]
|
]
|
||||||
configs -= [
|
configs = [ ":rusty_v8_config" ]
|
||||||
"//build/config/compiler:default_init_stack_vars",
|
|
||||||
"//build/config/compiler:thin_archive",
|
|
||||||
]
|
|
||||||
configs += [ ":rusty_v8_config" ]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config("rusty_v8_config") {
|
config("rusty_v8_config") {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Rusty V8 Binding
|
# Rusty V8 Binding
|
||||||
|
|
||||||
V8 Version: 8.7.25
|
V8 Version: 8.6.334
|
||||||
|
|
||||||
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=master)](https://github.com/denoland/rusty_v8/actions)
|
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=master)](https://github.com/denoland/rusty_v8/actions)
|
||||||
[![crates](https://img.shields.io/crates/v/rusty_v8.svg)](https://crates.io/crates/rusty_v8)
|
[![crates](https://img.shields.io/crates/v/rusty_v8.svg)](https://crates.io/crates/rusty_v8)
|
||||||
|
|
2
build
2
build
|
@ -1 +1 @@
|
||||||
Subproject commit 7152dcc2b71e9f697f5f28563eefb570b0c9c1ae
|
Subproject commit f9d174a05aa7588a89616aed121e5f8ca12687ae
|
2
build.rs
2
build.rs
|
@ -149,7 +149,7 @@ fn download_ninja_gn_binaries() {
|
||||||
.parent()
|
.parent()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let bin_dir = target_dir
|
let bin_dir = target_dir
|
||||||
.join("ninja_gn_binaries-20200827")
|
.join("ninja_gn_binaries-20200806")
|
||||||
.join(platform());
|
.join(platform());
|
||||||
let gn = bin_dir.join("gn");
|
let gn = bin_dir.join("gn");
|
||||||
let ninja = bin_dir.join("ninja");
|
let ninja = bin_dir.join("ninja");
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit c3628b70bf849930a678ef1fd4429c4543461188
|
Subproject commit deee1e0703b6f42c3cd2ba848a988dc54ac02212
|
|
@ -3402,8 +3402,7 @@ fn heap_statistics() {
|
||||||
assert!(s.total_global_handles_size() >= s.used_global_handles_size());
|
assert!(s.total_global_handles_size() >= s.used_global_handles_size());
|
||||||
assert!(s.used_heap_size() > 0);
|
assert!(s.used_heap_size() > 0);
|
||||||
assert!(s.heap_size_limit() >= s.used_heap_size());
|
assert!(s.heap_size_limit() >= s.used_heap_size());
|
||||||
assert!(s.peak_malloced_memory() > 0);
|
assert!(s.peak_malloced_memory() >= s.malloced_memory());
|
||||||
assert!(s.malloced_memory() > 0);
|
|
||||||
assert_eq!(s.number_of_native_contexts(), 0);
|
assert_eq!(s.number_of_native_contexts(), 0);
|
||||||
|
|
||||||
let scope = &mut v8::HandleScope::new(isolate);
|
let scope = &mut v8::HandleScope::new(isolate);
|
||||||
|
|
2
third_party/jinja2
vendored
2
third_party/jinja2
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 61cfe2ac6c9108534c43b4039a95a0980251f266
|
Subproject commit 3f90fa05c85718505e28c9c3426c1ba52843b9b7
|
2
third_party/markupsafe
vendored
2
third_party/markupsafe
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit f2fb0f21ef1e1d4ffd43be8c63fc3d4928dea7ab
|
Subproject commit 8f45f5cfa0009d2a70589bcda0349b8cb2b72783
|
2
third_party/zlib
vendored
2
third_party/zlib
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit d53accfbd0382a98ad7378045631866449b5f92e
|
Subproject commit 7492de9a52f656b070f41968e39a6efa603590d5
|
|
@ -1 +1 @@
|
||||||
Subproject commit 708cbfda8bd0686e0f302f54f1b85896cd5881a9
|
Subproject commit 8a232eb21c25d1901794b418b8aeaae772e3cd0f
|
|
@ -18,7 +18,7 @@ except ImportError: # For Py3 compatibility
|
||||||
from urllib.error import HTTPError, URLError
|
from urllib.error import HTTPError, URLError
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
URL = "https://github.com/denoland/ninja_gn_binaries/archive/20200827.tar.gz"
|
URL = "https://github.com/denoland/ninja_gn_binaries/archive/20200806.tar.gz"
|
||||||
DIR = None
|
DIR = None
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# WARNING: This is not an automated tool! This is just some commands to copy and
|
# WARNING: This is not an automated tool! This is just some commands to copy and
|
||||||
# paste manually to upgrade V8.
|
# paste manually to upgrade V8.
|
||||||
|
|
||||||
export BRANCH=20200827_rusty_v8
|
export BRANCH=20200806_rusty_v8
|
||||||
export COMMITDATE=2020-08-26T18:48:51.000Z
|
export COMMITDATE=2020-08-05T17:03:41.000Z
|
||||||
|
|
||||||
git submodule update -f
|
git submodule update -f
|
||||||
git submodule foreach 'git remote rm upstream; true' &&
|
git submodule foreach 'git remote rm upstream; true' &&
|
||||||
|
|
2
v8
2
v8
|
@ -1 +1 @@
|
||||||
Subproject commit 1f2195b49c6d7611165ebd149b2825f27693930c
|
Subproject commit ce4c3060f6fbfd5ed410de314f7e83a66fd792d9
|
Loading…
Reference in a new issue