diff options
-rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
-rw-r--r-- | Cargo.lock | 8 | ||||
-rw-r--r-- | cli/tests/wasm_unreachable.out | 2 | ||||
-rw-r--r-- | core/Cargo.toml | 4 | ||||
-rw-r--r-- | core/icudtl.dat | bin | 10413584 -> 10144432 bytes | |||
-rw-r--r-- | core/runtime.rs | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8570c4e2..a91bea9b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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) diff --git a/Cargo.lock b/Cargo.lock index 5baac8220..9b5607f6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/cli/tests/wasm_unreachable.out b/cli/tests/wasm_unreachable.out index 1c8ccc958..743e7f6cd 100644 --- a/cli/tests/wasm_unreachable.out +++ b/cli/tests/wasm_unreachable.out @@ -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] diff --git a/core/Cargo.toml b/core/Cargo.toml index 71e157957..5d0f0782c 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -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]] diff --git a/core/icudtl.dat b/core/icudtl.dat Binary files differindex 2f488bbb7..e511b9a8c 100644 --- a/core/icudtl.dat +++ b/core/icudtl.dat diff --git a/core/runtime.rs b/core/runtime.rs index 41948700f..c1bf7f3a2 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -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) |