1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 16:49:18 -05:00

upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (#11113)

This commit is contained in:
Ryan Dahl 2021-06-25 06:54:53 -04:00 committed by GitHub
parent d832d2bfd1
commit 48f9df9aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View file

@ -236,7 +236,7 @@ jobs:
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
key: z-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
key: b-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
# In main branch, always creates fresh cache
- name: Cache build output (main)
@ -251,7 +251,7 @@ jobs:
!./target/*/*.zip
!./target/*/*.tar.gz
key: |
z-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
b-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
# Restore cache from the latest 'main' branch build.
- name: Cache build output (PR)
@ -267,7 +267,7 @@ jobs:
!./target/*/*.tar.gz
key: never_saved
restore-keys: |
z-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
b-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
# Don't save cache after building PRs or branches other than 'main'.
- name: Skip save cache (PR)

8
Cargo.lock generated
View file

@ -2760,9 +2760,9 @@ dependencies = [
[[package]]
name = "rusty_v8"
version = "0.22.3"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa03778bb7866d8320fc3dd5e6be52929dc10f729ae5e61ea2fbce385a4595d2"
checksum = "5463232950a37ad7337422f362252ac4ea6db897fc0cb63c8acf0cb4e643898a"
dependencies = [
"bitflags",
"fslock",
@ -2921,9 +2921,9 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.4.1"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d1c602ced78c18b33338c832d79595e75ac6fd204d20fd4cc462ce5af29a75e"
checksum = "0e7ba86cca8dd4faf39bd769e985f5234ad142dde27cb6c09f89e7d783545b70"
dependencies = [
"rusty_v8",
"serde",

View file

@ -1,3 +1,3 @@
error: Uncaught RuntimeError: unreachable
at unreachable (wasm://wasm/[WILDCARD])
at <anonymous> (wasm://wasm/[WILDCARD])
at [WILDCARD]/cli/tests/wasm_unreachable.js:[WILDCARD]

View file

@ -20,10 +20,10 @@ lazy_static = "1.4.0"
libc = "0.2.93"
log = "0.4.14"
pin-project = "1.0.6"
rusty_v8 = "0.22.3"
rusty_v8 = "0.23.0"
serde = { version = "1.0.125", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
serde_v8 = { version = "0.4.1" }
serde_v8 = { version = "0.5.0" }
url = { version = "2.2.1", features = ["serde"] }
[[example]]

Binary file not shown.

View file

@ -145,9 +145,9 @@ impl Drop for JsRuntime {
fn v8_init(v8_platform: Option<v8::UniquePtr<v8::Platform>>) {
// Include 10MB ICU data file.
#[repr(C, align(16))]
struct IcuData([u8; 10413584]);
struct IcuData([u8; 10144432]);
static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat"));
v8::icu::set_common_data(&ICU_DATA.0).unwrap();
v8::icu::set_common_data_69(&ICU_DATA.0).unwrap();
let v8_platform = v8_platform
.unwrap_or_else(v8::new_default_platform)