mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-24 15:19:31 -05:00
Upgrade V8 to 9.2.230.10 (#700)
* We are floating a revert of v8/v8@7f9d7f0 because of the issue described in #694. * Upgrade ICU 68 -> 69 * Upgrade //build and //buildtools * set v8_enable_shared_ro_heap = false to fix tests
This commit is contained in:
parent
8c79145f59
commit
fe298359d9
8 changed files with 14 additions and 8 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,6 +1,6 @@
|
||||||
[submodule "v8"]
|
[submodule "v8"]
|
||||||
path = v8
|
path = v8
|
||||||
url = https://chromium.googlesource.com/v8/v8
|
url = https://github.com/denoland/v8.git
|
||||||
[submodule "build"]
|
[submodule "build"]
|
||||||
path = build
|
path = build
|
||||||
url = https://github.com/denoland/chromium_build.git
|
url = https://github.com/denoland/chromium_build.git
|
||||||
|
|
6
.gn
6
.gn
|
@ -23,6 +23,12 @@ default_args = {
|
||||||
use_dummy_lastchange = true
|
use_dummy_lastchange = true
|
||||||
treat_warnings_as_errors = true
|
treat_warnings_as_errors = true
|
||||||
|
|
||||||
|
# To avoid test failure:
|
||||||
|
# Fatal error in ../../../v8/src/heap/read-only-spaces.cc, line 69
|
||||||
|
# Check failed: read_only_blob_checksum_ == snapshot_checksum (<unprintable>
|
||||||
|
# vs. 604745897).
|
||||||
|
v8_enable_shared_ro_heap = false
|
||||||
|
|
||||||
# TODO(ry) remove
|
# TODO(ry) remove
|
||||||
v8_imminent_deprecation_warnings = false
|
v8_imminent_deprecation_warnings = false
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Rusty V8 Binding
|
# Rusty V8 Binding
|
||||||
|
|
||||||
V8 Version: 9.1.269.35
|
V8 Version: 9.2.230.10
|
||||||
|
|
||||||
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=main)](https://github.com/denoland/rusty_v8/actions)
|
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=main)](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 e10aa6b45bd82ec89d827724d1074058a28ba04a
|
Subproject commit b1cbcbce2c71b08bb34ede6add332626e78fa10e
|
|
@ -1 +1 @@
|
||||||
Subproject commit ccba851a7a7cdbbfa4e15c738147565b4936f438
|
Subproject commit 3655cd61062a8e8282d2d01df0a19aae410d336d
|
|
@ -1,5 +1,5 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn udata_setCommonData_68(this: *const u8, error_code: *mut i32);
|
fn udata_setCommonData_69(this: *const u8, error_code: *mut i32);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This function bypasses the normal ICU data loading process and allows you to force ICU's system
|
/// This function bypasses the normal ICU data loading process and allows you to force ICU's system
|
||||||
|
@ -38,7 +38,7 @@ extern "C" {
|
||||||
pub fn set_common_data(data: &'static [u8]) -> Result<(), i32> {
|
pub fn set_common_data(data: &'static [u8]) -> Result<(), i32> {
|
||||||
let mut error_code = 0i32;
|
let mut error_code = 0i32;
|
||||||
unsafe {
|
unsafe {
|
||||||
udata_setCommonData_68(data.as_ptr(), &mut error_code);
|
udata_setCommonData_69(data.as_ptr(), &mut error_code);
|
||||||
}
|
}
|
||||||
if error_code == 0 {
|
if error_code == 0 {
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
2
third_party/icu
vendored
2
third_party/icu
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 28b0e9ea59878fdd1682593be2ac489a6a6bbb21
|
Subproject commit f022e298b4f4a782486bb6d5ce6589c998b51fe2
|
2
v8
2
v8
|
@ -1 +1 @@
|
||||||
Subproject commit 399148d00a4fcdab96baa1c8e9d9346a78d4e339
|
Subproject commit b7957d8daf01303e002a13816cd40db41fb97498
|
Loading…
Reference in a new issue