mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
chore: upgrade rusty_v8 to 0.70.0 (#18844)
Closes https://github.com/denoland/deno/issues/18369
This commit is contained in:
parent
78b630d92a
commit
106e4c475f
6 changed files with 12 additions and 12 deletions
4
.github/workflows/ci.generate.ts
vendored
4
.github/workflows/ci.generate.ts
vendored
|
@ -17,7 +17,7 @@ const Runners = (() => {
|
|||
})();
|
||||
// bump the number at the start when you want to purge the cache
|
||||
const prCacheKeyPrefix =
|
||||
"21-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-";
|
||||
"22-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-";
|
||||
|
||||
const installPkgsCommand =
|
||||
"sudo apt-get install --no-install-recommends debootstrap clang-15 lld-15";
|
||||
|
@ -476,7 +476,7 @@ const ci = {
|
|||
"~/.cargo/git/db",
|
||||
].join("\n"),
|
||||
key:
|
||||
"21-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}",
|
||||
"22-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -290,7 +290,7 @@ jobs:
|
|||
~/.cargo/registry/index
|
||||
~/.cargo/registry/cache
|
||||
~/.cargo/git/db
|
||||
key: '21-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
|
||||
key: '22-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
|
||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)'
|
||||
- name: Restore cache build output (PR)
|
||||
uses: actions/cache/restore@v3
|
||||
|
@ -302,7 +302,7 @@ jobs:
|
|||
!./target/*/*.zip
|
||||
!./target/*/*.tar.gz
|
||||
key: never_saved
|
||||
restore-keys: '21-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
|
||||
restore-keys: '22-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
|
||||
- name: Apply and update mtime cache
|
||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (!startsWith(github.ref, ''refs/tags/''))'
|
||||
uses: ./.github/mtime_cache
|
||||
|
@ -578,7 +578,7 @@ jobs:
|
|||
!./target/*/gn_out
|
||||
!./target/*/*.zip
|
||||
!./target/*/*.tar.gz
|
||||
key: '21-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
|
||||
key: '22-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
|
||||
publish-canary:
|
||||
name: publish canary
|
||||
runs-on: ubuntu-22.04
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -5511,9 +5511,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "v8"
|
||||
version = "0.69.0"
|
||||
version = "0.70.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "687e14c2535fe5749098994fd67773962050abe64bcc6a8c92dbf7221b746f49"
|
||||
checksum = "ab13e022340b67561836bbb90ceeebbfca7e35fbc05471ceff5ce099e5a754a3"
|
||||
dependencies = [
|
||||
"bitflags 1.3.2",
|
||||
"fslock",
|
||||
|
|
|
@ -41,7 +41,7 @@ license = "MIT"
|
|||
repository = "https://github.com/denoland/deno"
|
||||
|
||||
[workspace.dependencies]
|
||||
v8 = { version = "0.69.0", default-features = false }
|
||||
v8 = { version = "0.70.0", default-features = false }
|
||||
deno_ast = { version = "0.26.0", features = ["transpiling"] }
|
||||
|
||||
deno_core = { version = "0.181.0", path = "./core" }
|
||||
|
|
4
cli/tests/testdata/run/heapstats.js.out
vendored
4
cli/tests/testdata/run/heapstats.js.out
vendored
|
@ -1,2 +1,2 @@
|
|||
Allocated: 4MB
|
||||
Freed: -4MB
|
||||
Allocated: 8MB
|
||||
Freed: -8MB
|
||||
|
|
|
@ -3165,7 +3165,7 @@ pub mod tests {
|
|||
#[test]
|
||||
fn test_heap_limits() {
|
||||
let create_params =
|
||||
v8::Isolate::create_params().heap_limits(0, 3 * 1024 * 1024);
|
||||
v8::Isolate::create_params().heap_limits(0, 5 * 1024 * 1024);
|
||||
let mut runtime = JsRuntime::new(RuntimeOptions {
|
||||
create_params: Some(create_params),
|
||||
..Default::default()
|
||||
|
@ -3209,7 +3209,7 @@ pub mod tests {
|
|||
#[test]
|
||||
fn test_heap_limit_cb_multiple() {
|
||||
let create_params =
|
||||
v8::Isolate::create_params().heap_limits(0, 3 * 1024 * 1024);
|
||||
v8::Isolate::create_params().heap_limits(0, 5 * 1024 * 1024);
|
||||
let mut runtime = JsRuntime::new(RuntimeOptions {
|
||||
create_params: Some(create_params),
|
||||
..Default::default()
|
||||
|
|
Loading…
Reference in a new issue