feat: add Float16Array support (#31410)

This commit is contained in:
Bartek Iwańczuk 2025-11-26 09:37:11 +01:00 committed by GitHub
parent 0bd52c4640
commit 26c3f172b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 37 deletions

52
Cargo.lock generated
View file

@ -1887,9 +1887,9 @@ dependencies = [
[[package]]
name = "deno_core"
version = "0.368.0"
version = "0.370.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ed73cb6f959f3692a8eb2eedd8e1a2a5e1d11dec141b4836fc21788402095f5"
checksum = "03593764555f24a3287b321c156304e8d142105631258f1fabdeac07013bb4a6"
dependencies = [
"anyhow",
"az",
@ -2612,18 +2612,18 @@ dependencies = [
[[package]]
name = "deno_ops"
version = "0.244.0"
version = "0.246.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4b6175c620af5e2ca21113dfb619d463796396082eec5bef030dc8ab1923055"
checksum = "37eee61daa9ccfb4297389304066e91d7840f1f57bfccd305acbecc351af29c6"
dependencies = [
"indexmap 2.9.0",
"proc-macro-rules",
"proc-macro2",
"quote",
"stringcase",
"strum 0.27.1",
"strum_macros 0.27.1",
"syn 2.0.87",
"syn-match",
"thiserror 2.0.12",
]
@ -7140,29 +7140,6 @@ dependencies = [
"toml_edit",
]
[[package]]
name = "proc-macro-rules"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07c277e4e643ef00c1233393c673f655e3672cf7eb3ba08a00bdd0ea59139b5f"
dependencies = [
"proc-macro-rules-macros",
"proc-macro2",
"syn 2.0.87",
]
[[package]]
name = "proc-macro-rules-macros"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "207fffb0fe655d1d47f6af98cc2793405e85929bdbc420d685554ff07be27ac7"
dependencies = [
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.87",
]
[[package]]
name = "proc-macro2"
version = "1.0.101"
@ -8237,9 +8214,9 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.277.0"
version = "0.279.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "def24655f388a9a7f07a350b822f82d4523e9f1c3a6d2e786a9da1520000a002"
checksum = "f1cbfe7e5d583b020412ddb67af6e9fe296a93a2ca35587d38159b8a9f1c4a44"
dependencies = [
"deno_error",
"num-bigint",
@ -9128,6 +9105,17 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "syn-match"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "783c4140d7ed89f37116e865b49e5a9fdd28608b9071a9dd1e158b50fc0a31fc"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.87",
]
[[package]]
name = "sync_wrapper"
version = "1.0.1"
@ -10079,9 +10067,9 @@ dependencies = [
[[package]]
name = "v8"
version = "142.0.0"
version = "142.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a59140a5284145fad6fa9628b70ffafea368a39d59f46fa0381c61a951444a7"
checksum = "f566072bd76b2631d0dca1d90a766c943863b1fd6b01312281dc919816de976d"
dependencies = [
"bindgen 0.72.1",
"bitflags 2.9.3",

View file

@ -61,7 +61,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies]
deno_ast = { version = "=0.50.3", features = ["transpiling"] }
deno_core = { version = "0.368.0" }
deno_core = { version = "0.370.0" }
deno_cache_dir = "=0.25.0"
deno_doc = "=0.186.0"

View file

@ -5540,12 +5540,16 @@
"valueOf.any.worker.html": true
},
"idlharness.any.html": [
"Module interface: existence and properties of interface object",
"Module interface: existence and properties of interface prototype object",
"Memory interface: operation toFixedLengthBuffer()",
"Memory interface: operation toResizableBuffer()",
"Memory interface: [object WebAssembly.Memory] must inherit property \"toFixedLengthBuffer()\" with the proper type",
"Memory interface: [object WebAssembly.Memory] must inherit property \"toResizableBuffer()\" with the proper type"
],
"idlharness.any.worker.html": [
"Module interface: existence and properties of interface object",
"Module interface: existence and properties of interface prototype object",
"Memory interface: operation toFixedLengthBuffer()",
"Memory interface: operation toResizableBuffer()",
"Memory interface: [object WebAssembly.Memory] must inherit property \"toFixedLengthBuffer()\" with the proper type",
@ -5601,13 +5605,9 @@
"toString.any.html": true,
"toString.any.worker.html": true,
"moduleSource.tentative.any.html": [
"AbstractModuleSource intrinsic",
"AbstractModuleSourceProto intrinsic",
"AbstractModuleSourceProto toStringTag brand check"
],
"moduleSource.tentative.any.worker.html": [
"AbstractModuleSource intrinsic",
"AbstractModuleSourceProto intrinsic",
"AbstractModuleSourceProto toStringTag brand check"
]
},