1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00

chore: update deno_core to 0.196.0 (#19897)

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
This commit is contained in:
Bartek Iwańczuk 2023-07-23 15:42:41 +02:00 committed by GitHub
parent 4ef080cb85
commit a4e0f3ff88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 103 additions and 89 deletions

179
Cargo.lock generated
View file

@ -191,7 +191,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
"synstructure",
@ -203,7 +203,7 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -214,8 +214,8 @@ version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c704e2f6ee1a98223f5a7629a6ef0f3decb3b552ed282889dc957edff98ce1e6"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"swc_macros_common",
"syn 1.0.109",
@ -266,7 +266,7 @@ version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4655ae1a7b0cdf149156f780c5bf3f1352bc53cbd9e0a361a7ef7b22947e965"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -277,9 +277,9 @@ version = "0.1.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.18",
"syn 2.0.22",
]
[[package]]
@ -300,7 +300,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4"
dependencies = [
"proc-macro-error",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -879,8 +879,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c65c2ffdafc1564565200967edc4851c7b55422d3913466688907efd05ea26f"
dependencies = [
"deno-proc-macro-rules-macros",
"proc-macro2 1.0.60",
"syn 2.0.18",
"proc-macro2 1.0.66",
"syn 2.0.22",
]
[[package]]
@ -890,9 +890,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3047b312b7451e3190865713a4dd6e1f821aed614ada219766ebc3024a690435"
dependencies = [
"once_cell",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.18",
"syn 2.0.22",
]
[[package]]
@ -968,9 +968,9 @@ dependencies = [
[[package]]
name = "deno_core"
version = "0.195.0"
version = "0.196.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "408e433386de30dd501cf82d26ca1fb4cd84b055536f8f6f9c78c3380649d94b"
checksum = "1d221f5cb7f6071abc3d6a37c7a4b0c468d9e5a12ff858d36190e36973820a65"
dependencies = [
"anyhow",
"bytes",
@ -1341,22 +1341,22 @@ dependencies = [
[[package]]
name = "deno_ops"
version = "0.73.0"
version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6d06feb9b26ccd2997f35610517d5a8f1dd423e21364509523f72474601f87f"
checksum = "103ef8461d949072be576e3fcf8efaa8df920a88ef3b80a47305cc30dd05c029"
dependencies = [
"deno-proc-macro-rules",
"lazy-regex",
"once_cell",
"pmutil",
"pmutil 0.6.1",
"proc-macro-crate",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"regex",
"strum",
"strum_macros",
"syn 1.0.109",
"syn 2.0.18",
"syn 2.0.22",
"thiserror",
"v8",
]
@ -1567,7 +1567,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
dependencies = [
"convert_case",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"rustc_version 0.4.0",
"syn 1.0.109",
@ -1615,7 +1615,7 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bf95dc3f046b9da4f2d51833c0d3547d8564ef6910f5c1ed130306a75b92886"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -1757,7 +1757,7 @@ dependencies = [
"byteorder",
"lazy_static",
"proc-macro-error",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -1878,7 +1878,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116"
dependencies = [
"heck",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -2060,7 +2060,7 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "479cde5eb168cf5a056dd98f311cbfab7494c216394e4fb9eba0336827a8db93"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -2107,8 +2107,8 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d449976075322384507443937df2f1d5577afbf4282f12a5a66ef29fa3e6307"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"swc_macros_common",
"syn 1.0.109",
]
@ -2197,9 +2197,9 @@ version = "0.3.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.18",
"syn 2.0.22",
]
[[package]]
@ -2675,8 +2675,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a7d079e129b77477a49c5c4f1cfe9ce6c2c909ef52520693e8e811a714c7b20"
dependencies = [
"Inflector",
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -2791,7 +2791,7 @@ version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8edfc11b8f56ce85e207e62ea21557cfa09bb24a8f6b04ae181b086ff8611c22"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"regex",
"syn 1.0.109",
@ -3114,7 +3114,7 @@ dependencies = [
name = "napi_sym"
version = "0.42.0"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"serde",
"serde_json",
@ -3540,7 +3540,7 @@ dependencies = [
"phf_generator",
"phf_shared",
"proc-macro-hack",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -3569,7 +3569,7 @@ version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -3630,11 +3630,22 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3894e5d549cccbe44afecf72922f277f603cd4bb0219c8342631ef18fffbe004"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
[[package]]
name = "pmutil"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52a40bc70c2c58040d2d8b167ba9a5ff59fc9dab7ad44771cfde3dcfde7a09c6"
dependencies = [
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.22",
]
[[package]]
name = "polyval"
version = "0.6.0"
@ -3697,7 +3708,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
"proc-macro-error-attr",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
"version_check",
@ -3709,7 +3720,7 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"version_check",
]
@ -3731,9 +3742,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.60"
version = "1.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406"
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
dependencies = [
"unicode-ident",
]
@ -3789,7 +3800,7 @@ version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
]
[[package]]
@ -4136,7 +4147,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "107c3d5d7f370ac09efa62a78375f94d94b8a33c61d8c278b96683fb4dbf2d8d"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -4333,9 +4344,9 @@ version = "1.0.157"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.18",
"syn 2.0.22",
]
[[package]]
@ -4356,7 +4367,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fe39d9fbb0ebf5eb2c7cb7e2a47e4f462fad1379f1166b8ae49ad9eae89a7ca"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -4375,9 +4386,9 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.106.0"
version = "0.107.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1506733ba5b864018c44320fa3bb11dbb4bf01b62dd09eda007be73034371c51"
checksum = "9d32568238e02873bc0945d7776df7b00cccdeefae21e2264915e6ec63ae5fdf"
dependencies = [
"bytes",
"derive_more",
@ -4609,7 +4620,7 @@ checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
dependencies = [
"phf_generator",
"phf_shared",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
]
@ -4619,8 +4630,8 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0090512bdfee4b56d82480d66c0fd8a6f53f0fe0f97e075e949b252acdd482e0"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"swc_macros_common",
"syn 1.0.109",
@ -4634,24 +4645,24 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "strum"
version = "0.24.1"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125"
dependencies = [
"strum_macros",
]
[[package]]
name = "strum_macros"
version = "0.24.3"
version = "0.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232"
dependencies = [
"heck",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"rustversion",
"syn 1.0.109",
"syn 2.0.22",
]
[[package]]
@ -4751,8 +4762,8 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dadb9998d4f5fc36ef558ed5a092579441579ee8c6fcce84a5228cca9df4004"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"swc_macros_common",
"syn 1.0.109",
@ -4800,8 +4811,8 @@ version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf4ee0caee1018808d94ecd09490cb7affd3d504b19aa11c49238f5fc4b54901"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"swc_macros_common",
"syn 1.0.109",
@ -4896,8 +4907,8 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "984d5ac69b681fc5438f9abf82b0fda34fe04e119bc75f8213b7e01128c7c9a2"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"swc_macros_common",
"syn 1.0.109",
@ -5027,8 +5038,8 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c20468634668c2bbab581947bb8c75c97158d5a6959f4ba33df20983b20b4f6"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -5064,8 +5075,8 @@ version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e582c3e3c2269238524923781df5be49e011dbe29cf7683a2215d600a562ea6"
dependencies = [
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -5087,8 +5098,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cfc226380ba54a5feed2c12f3ccd33f1ae8e959160290e5d2d9b4e918b6472a"
dependencies = [
"Inflector",
"pmutil",
"proc-macro2 1.0.60",
"pmutil 0.5.3",
"proc-macro2 1.0.66",
"quote 1.0.28",
"swc_macros_common",
"syn 1.0.109",
@ -5111,18 +5122,18 @@ version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"unicode-ident",
]
[[package]]
name = "syn"
version = "2.0.18"
version = "2.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
checksum = "2efbeae7acf4eabd6bcdcbd11c92f45231ddda7539edc7806bd1a04a03b24616"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"unicode-ident",
]
@ -5133,7 +5144,7 @@ version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
"unicode-xid 0.2.4",
@ -5256,9 +5267,9 @@ version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.18",
"syn 2.0.22",
]
[[package]]
@ -5328,9 +5339,9 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 2.0.18",
"syn 2.0.22",
]
[[package]]
@ -5467,7 +5478,7 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ebd99eec668d0a450c177acbc4d05e0d0d13b1f8d3db13cd706c52cbec4ac04"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -5496,7 +5507,7 @@ version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
]
@ -5804,9 +5815,9 @@ dependencies = [
[[package]]
name = "v8"
version = "0.74.2"
version = "0.74.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7568bf38565bd5b350d96abbf3d09417e8c9dd74fbb38860e91b759e46f9009c"
checksum = "2eedac634b8dd39b889c5b62349cbc55913780226239166435c5cf66771792ea"
dependencies = [
"bitflags 1.3.2",
"fslock",
@ -5849,7 +5860,7 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
]
@ -5905,7 +5916,7 @@ dependencies = [
"bumpalo",
"log",
"once_cell",
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
"wasm-bindgen-shared",
@ -5939,7 +5950,7 @@ version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
"wasm-bindgen-backend",
@ -6274,7 +6285,7 @@ version = "1.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c"
dependencies = [
"proc-macro2 1.0.60",
"proc-macro2 1.0.66",
"quote 1.0.28",
"syn 1.0.109",
"synstructure",

View file

@ -41,9 +41,9 @@ repository = "https://github.com/denoland/deno"
v8 = { version = "0.74.1", default-features = false }
deno_ast = { version = "0.27.0", features = ["transpiling"] }
deno_core = { version = "0.195.0" }
deno_ops = { version = "0.72.0" }
serde_v8 = { version = "0.105.0" }
deno_core = "0.196.0"
deno_ops = "0.74.0"
serde_v8 = "0.107.0"
deno_runtime = { version = "0.120.0", path = "./runtime" }
napi_sym = { version = "0.42.0", path = "./cli/napi/sym" }

View file

@ -285,6 +285,7 @@ mod ts {
);
})),
snapshot_module_load_cb: None,
with_runtime_cb: None,
});
for path in output.files_loaded_during_snapshot {
println!("cargo:rerun-if-changed={}", path.display());
@ -377,6 +378,7 @@ fn create_cli_snapshot(snapshot_path: PathBuf) -> CreateSnapshotOutput {
extensions,
compression_cb: None,
snapshot_module_load_cb: None,
with_runtime_cb: None,
})
}

View file

@ -350,6 +350,7 @@ mod startup_snapshot {
extensions,
compression_cb: None,
snapshot_module_load_cb: Some(Box::new(transpile_ts_for_snapshotting)),
with_runtime_cb: None,
});
for path in output.files_loaded_during_snapshot {
println!("cargo:rerun-if-changed={}", path.display());

View file

@ -528,7 +528,7 @@ impl WebWorker {
};
let bootstrap_fn_global = {
let context = js_runtime.global_context();
let context = js_runtime.main_context();
let scope = &mut js_runtime.handle_scope();
let context_local = v8::Local::new(scope, context);
let global_obj = context_local.global(scope);

View file

@ -350,7 +350,7 @@ impl MainWorker {
}
let bootstrap_fn_global = {
let context = js_runtime.global_context();
let context = js_runtime.main_context();
let scope = &mut js_runtime.handle_scope();
let context_local = v8::Local::new(scope, context);
let global_obj = context_local.global(scope);