mirror of
https://github.com/denoland/deno.git
synced 2025-08-11 06:18:10 +00:00
chore: upgrade rusty_v8 to 0.72.0 (#19228)
This commit updates rusty_v8 to 0.72.0 and by extension V8 to version 11.5.150.1.
This commit is contained in:
parent
26f42a248f
commit
01a95d677f
6 changed files with 16 additions and 9 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
|
// bump the number at the start when you want to purge the cache
|
||||||
const prCacheKeyPrefix =
|
const prCacheKeyPrefix =
|
||||||
"27-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-";
|
"28-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-";
|
||||||
|
|
||||||
const installPkgsCommand =
|
const installPkgsCommand =
|
||||||
"sudo apt-get install --no-install-recommends debootstrap clang-15 lld-15";
|
"sudo apt-get install --no-install-recommends debootstrap clang-15 lld-15";
|
||||||
|
@ -480,7 +480,7 @@ const ci = {
|
||||||
"~/.cargo/git/db",
|
"~/.cargo/git/db",
|
||||||
].join("\n"),
|
].join("\n"),
|
||||||
key:
|
key:
|
||||||
"27-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}",
|
"28-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -293,7 +293,7 @@ jobs:
|
||||||
~/.cargo/registry/index
|
~/.cargo/registry/index
|
||||||
~/.cargo/registry/cache
|
~/.cargo/registry/cache
|
||||||
~/.cargo/git/db
|
~/.cargo/git/db
|
||||||
key: '27-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
|
key: '28-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
|
||||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)'
|
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)'
|
||||||
- name: Restore cache build output (PR)
|
- name: Restore cache build output (PR)
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
|
@ -305,7 +305,7 @@ jobs:
|
||||||
!./target/*/*.zip
|
!./target/*/*.zip
|
||||||
!./target/*/*.tar.gz
|
!./target/*/*.tar.gz
|
||||||
key: never_saved
|
key: never_saved
|
||||||
restore-keys: '27-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
|
restore-keys: '28-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
|
||||||
- name: Apply and update mtime cache
|
- name: Apply and update mtime cache
|
||||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (!startsWith(github.ref, ''refs/tags/''))'
|
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (!startsWith(github.ref, ''refs/tags/''))'
|
||||||
uses: ./.github/mtime_cache
|
uses: ./.github/mtime_cache
|
||||||
|
@ -589,7 +589,7 @@ jobs:
|
||||||
!./target/*/gn_out
|
!./target/*/gn_out
|
||||||
!./target/*/*.zip
|
!./target/*/*.zip
|
||||||
!./target/*/*.tar.gz
|
!./target/*/*.tar.gz
|
||||||
key: '27-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
|
key: '28-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
|
||||||
publish-canary:
|
publish-canary:
|
||||||
name: publish canary
|
name: publish canary
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -5711,9 +5711,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "v8"
|
name = "v8"
|
||||||
version = "0.71.2"
|
version = "0.72.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1a4bbfd886a9c2f87170438c0cdb6b1ddbfe80412ab591c83d24c7e48e487313"
|
checksum = "d5c1d09f66ab7f69e36211c5488d47f683fef6b65b83a627cfd75ed9cef254e6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"fslock",
|
"fslock",
|
||||||
|
|
|
@ -41,7 +41,7 @@ license = "MIT"
|
||||||
repository = "https://github.com/denoland/deno"
|
repository = "https://github.com/denoland/deno"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
v8 = { version = "0.71.2", default-features = false }
|
v8 = { version = "0.72.0", default-features = false }
|
||||||
deno_ast = { version = "0.26.0", features = ["transpiling"] }
|
deno_ast = { version = "0.26.0", features = ["transpiling"] }
|
||||||
|
|
||||||
deno_core = { version = "0.187.0", path = "./core" }
|
deno_core = { version = "0.187.0", path = "./core" }
|
||||||
|
|
|
@ -66,9 +66,15 @@ async function runTest(t: Deno.TestContext, path: string): Promise<void> {
|
||||||
|
|
||||||
const v8Flags = ["--stack-size=4000"];
|
const v8Flags = ["--stack-size=4000"];
|
||||||
const testSource = await Deno.readTextFile(testCase);
|
const testSource = await Deno.readTextFile(testCase);
|
||||||
|
const envVars: Record<string, string> = {};
|
||||||
// TODO(kt3k): Parse `Flags` directive correctly
|
// TODO(kt3k): Parse `Flags` directive correctly
|
||||||
if (testSource.includes("Flags: --expose_externalize_string")) {
|
if (testSource.includes("Flags: --expose_externalize_string")) {
|
||||||
v8Flags.push("--expose-externalize-string");
|
v8Flags.push("--expose-externalize-string");
|
||||||
|
// TODO(bartlomieju): disable verifying globals if that V8 flag is
|
||||||
|
// present. Even though we should be able to pass a list of globals
|
||||||
|
// that are allowed, it doesn't work, because the list is expected to
|
||||||
|
// contain actual JS objects, not strings :)).
|
||||||
|
envVars["NODE_TEST_KNOWN_GLOBALS"] = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
const args = [
|
const args = [
|
||||||
|
@ -88,6 +94,7 @@ async function runTest(t: Deno.TestContext, path: string): Promise<void> {
|
||||||
args,
|
args,
|
||||||
env: {
|
env: {
|
||||||
TEST_SERIAL_ID: String(testSerialId++),
|
TEST_SERIAL_ID: String(testSerialId++),
|
||||||
|
...envVars,
|
||||||
},
|
},
|
||||||
cwd,
|
cwd,
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Error: CompileError: WebAssembly.compile(): expected length: @+10
|
Error: CompileError: WebAssembly.compile(): reached end while decoding length: @+10
|
||||||
at file:///[WILDCARD]/close_in_wasm_reactions.js:18:13
|
at file:///[WILDCARD]/close_in_wasm_reactions.js:18:13
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue