build(bindings): Crash in GraalVM (#6689)

This commit is contained in:
LongYinan 2022-12-20 15:03:41 +08:00 committed by GitHub
parent 913230d02a
commit e7849dbc6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 17 deletions

28
Cargo.lock generated
View File

@ -451,9 +451,12 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
[[package]]
name = "convert_case"
version = "0.5.0"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb4a24b1aaf0fd0ce8b45161144d6f42cd91677fd5940fd431183eb023b3a2b8"
checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
dependencies = [
"unicode-segmentation",
]
[[package]]
name = "copyless"
@ -1778,13 +1781,14 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389"
[[package]]
name = "napi"
version = "2.5.0"
version = "2.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec369bd2ae196a21bb08fb53761e637862c3c0699da9cd21b6d954e32dda04b3"
checksum = "a967e17e9ba4e015a7bf9b92f90aa8dc321c6d913f6a6d2afd5b66a8ab36fc81"
dependencies = [
"bitflags",
"ctor",
"lazy_static",
"napi-sys",
"once_cell",
"serde",
"serde_json",
"thread_local",
@ -1792,9 +1796,9 @@ dependencies = [
[[package]]
name = "napi-derive"
version = "2.5.0"
version = "2.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c0308f2313ee504b032bad9c75343d967e6ba27be2e3f19e89bb0ee8786b5b0"
checksum = "af4e44e34e70aa61be9036ae652e27c20db5bca80e006be0f482419f6601352a"
dependencies = [
"convert_case",
"napi-derive-backend",
@ -1805,9 +1809,9 @@ dependencies = [
[[package]]
name = "napi-derive-backend"
version = "1.0.33"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c97606e865ebfca1c5d0c952e34969ca26b3c8ba0c246c569a2fc945719a78ea"
checksum = "17925fff04b6fa636f8e4b4608cc1a4f1360b64ac8ecbfdb7da1be1dc74f6843"
dependencies = [
"convert_case",
"once_cell",
@ -4956,6 +4960,12 @@ dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-segmentation"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a"
[[package]]
name = "unicode-width"
version = "0.1.9"

4
bindings/Cargo.lock generated
View File

@ -1405,9 +1405,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389"
[[package]]
name = "napi"
version = "2.10.2"
version = "2.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dec831c6698ea8a0376ce7499499b9f562d2f35c2072da183f63373a0905dcc3"
checksum = "a967e17e9ba4e015a7bf9b92f90aa8dc321c6d913f6a6d2afd5b66a8ab36fc81"
dependencies = [
"bitflags",
"ctor",

View File

@ -94,7 +94,7 @@
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@babel/types": "^7.14.0",
"@napi-rs/cli": "^2.10.0",
"@napi-rs/cli": "^2.13.3",
"@swc/core": "=1.2.220",
"@swc/helpers": "^0.4.2",
"@swc/plugin-jest": "1.5.25",

View File

@ -2124,12 +2124,12 @@ __metadata:
languageName: node
linkType: hard
"@napi-rs/cli@npm:^2.10.0":
version: 2.12.0
resolution: "@napi-rs/cli@npm:2.12.0"
"@napi-rs/cli@npm:^2.13.3":
version: 2.13.3
resolution: "@napi-rs/cli@npm:2.13.3"
bin:
napi: scripts/index.js
checksum: 88e4cb33022ad9f2185a3e539d2b692f0c5edaeb55d8ecf2c92e512d1a68770f97d0d56ff7aa24595e83c783cbd8509309968052671b79bbed780340b9201c8f
checksum: b16c3b307927b68adfe378bd76153b75c4a1a9d4101d7c49e0b1b9d425ce0f63a6d18acb9548d210dd90a4244333666f839d3f27070d3a07d63fa8ae1bfe2f35
languageName: node
linkType: hard
@ -2450,7 +2450,7 @@ __metadata:
"@babel/preset-react": ^7.13.13
"@babel/preset-typescript": ^7.13.0
"@babel/types": ^7.14.0
"@napi-rs/cli": ^2.10.0
"@napi-rs/cli": ^2.13.3
"@swc/core": =1.2.220
"@swc/core-darwin-arm64": 1.2.146
"@swc/core-darwin-x64": 1.2.146