Skip to content

Commit

Permalink
upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (denoland#11113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 25, 2021
1 parent d832d2b commit 48f9df9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/tests/wasm_unreachable.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
error: Uncaught RuntimeError: unreachable
at unreachable (wasm:https://wasm/[WILDCARD])
at <anonymous> (wasm:https://wasm/[WILDCARD])
at [WILDCARD]/cli/tests/wasm_unreachable.js:[WILDCARD]
4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
Binary file modified core/icudtl.dat
Binary file not shown.
4 changes: 2 additions & 2 deletions core/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 48f9df9

Please sign in to comment.