mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (#11113)
This commit is contained in:
parent
d832d2bfd1
commit
48f9df9aa2
6 changed files with 12 additions and 12 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -236,7 +236,7 @@ jobs:
|
||||||
~/.cargo/registry/index
|
~/.cargo/registry/index
|
||||||
~/.cargo/registry/cache
|
~/.cargo/registry/cache
|
||||||
~/.cargo/git/db
|
~/.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
|
# In main branch, always creates fresh cache
|
||||||
- name: Cache build output (main)
|
- name: Cache build output (main)
|
||||||
|
@ -251,7 +251,7 @@ jobs:
|
||||||
!./target/*/*.zip
|
!./target/*/*.zip
|
||||||
!./target/*/*.tar.gz
|
!./target/*/*.tar.gz
|
||||||
key: |
|
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.
|
# Restore cache from the latest 'main' branch build.
|
||||||
- name: Cache build output (PR)
|
- name: Cache build output (PR)
|
||||||
|
@ -267,7 +267,7 @@ jobs:
|
||||||
!./target/*/*.tar.gz
|
!./target/*/*.tar.gz
|
||||||
key: never_saved
|
key: never_saved
|
||||||
restore-keys: |
|
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'.
|
# Don't save cache after building PRs or branches other than 'main'.
|
||||||
- name: Skip save cache (PR)
|
- name: Skip save cache (PR)
|
||||||
|
|
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -2760,9 +2760,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rusty_v8"
|
name = "rusty_v8"
|
||||||
version = "0.22.3"
|
version = "0.23.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "aa03778bb7866d8320fc3dd5e6be52929dc10f729ae5e61ea2fbce385a4595d2"
|
checksum = "5463232950a37ad7337422f362252ac4ea6db897fc0cb63c8acf0cb4e643898a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
"fslock",
|
"fslock",
|
||||||
|
@ -2921,9 +2921,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_v8"
|
name = "serde_v8"
|
||||||
version = "0.4.1"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6d1c602ced78c18b33338c832d79595e75ac6fd204d20fd4cc462ce5af29a75e"
|
checksum = "0e7ba86cca8dd4faf39bd769e985f5234ad142dde27cb6c09f89e7d783545b70"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rusty_v8",
|
"rusty_v8",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
error: Uncaught RuntimeError: unreachable
|
error: Uncaught RuntimeError: unreachable
|
||||||
at unreachable (wasm://wasm/[WILDCARD])
|
at <anonymous> (wasm://wasm/[WILDCARD])
|
||||||
at [WILDCARD]/cli/tests/wasm_unreachable.js:[WILDCARD]
|
at [WILDCARD]/cli/tests/wasm_unreachable.js:[WILDCARD]
|
||||||
|
|
|
@ -20,10 +20,10 @@ lazy_static = "1.4.0"
|
||||||
libc = "0.2.93"
|
libc = "0.2.93"
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
pin-project = "1.0.6"
|
pin-project = "1.0.6"
|
||||||
rusty_v8 = "0.22.3"
|
rusty_v8 = "0.23.0"
|
||||||
serde = { version = "1.0.125", features = ["derive"] }
|
serde = { version = "1.0.125", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.64", features = ["preserve_order"] }
|
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"] }
|
url = { version = "2.2.1", features = ["serde"] }
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
|
|
BIN
core/icudtl.dat
BIN
core/icudtl.dat
Binary file not shown.
|
@ -145,9 +145,9 @@ impl Drop for JsRuntime {
|
||||||
fn v8_init(v8_platform: Option<v8::UniquePtr<v8::Platform>>) {
|
fn v8_init(v8_platform: Option<v8::UniquePtr<v8::Platform>>) {
|
||||||
// Include 10MB ICU data file.
|
// Include 10MB ICU data file.
|
||||||
#[repr(C, align(16))]
|
#[repr(C, align(16))]
|
||||||
struct IcuData([u8; 10413584]);
|
struct IcuData([u8; 10144432]);
|
||||||
static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat"));
|
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
|
let v8_platform = v8_platform
|
||||||
.unwrap_or_else(v8::new_default_platform)
|
.unwrap_or_else(v8::new_default_platform)
|
||||||
|
|
Loading…
Add table
Reference in a new issue