diff --git a/bazel/cargo/wasmtime/Cargo.Bazel.lock b/bazel/cargo/wasmtime/Cargo.Bazel.lock index 40aa399a9..278fc0ed5 100644 --- a/bazel/cargo/wasmtime/Cargo.Bazel.lock +++ b/bazel/cargo/wasmtime/Cargo.Bazel.lock @@ -46,11 +46,20 @@ version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" dependencies = [ "allocator-api2", ] @@ -80,38 +89,57 @@ dependencies = [ "thiserror", ] +[[package]] +name = "cpp_demangle" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2bb79cb74d735044c972aae58ed0aaa9a837e85b01106a54c39e42e97f62253" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + [[package]] name = "cranelift-assembler-x64" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40630d663279bc855bff805d6f5e8a0b6a1867f9df95b010511ac6dc894e9395" +checksum = "f8628cc4ba7f88a9205a7ee42327697abc61195a1e3d92cfae172d6a946e722e" dependencies = [ "cranelift-assembler-x64-meta", ] [[package]] name = "cranelift-assembler-x64-meta" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ee6aec5ceb55e5fdbcf7ef677d7c7195531360ff181ce39b2b31df11d57305f" +checksum = "d582754487e6c9a065a91c42ccf1bdd8d5977af33468dac5ae9bec0ce88acb3e" dependencies = [ "cranelift-srcgen", ] [[package]] name = "cranelift-bforest" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a92d78cc3f087d7e7073828f08d98c7074a3a062b6b29a1b7783ce74305685e" +checksum = "fb59c81ace12ee7c33074db7903d4d75d1f40b28cd3e8e6f491de57b29129eb9" dependencies = [ "cranelift-entity", + "wasmtime-internal-core", ] [[package]] name = "cranelift-bitset" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edcc73d756f2e0d7eda6144fe64a2bc69c624de893cb1be51f1442aed77881d2" +checksum = "f25c06993a681be9cf3140798a3d4ac5bec955e7444416a2fdc87fda8567285d" dependencies = [ "serde", "serde_derive", @@ -120,9 +148,9 @@ dependencies = [ [[package]] name = "cranelift-codegen" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d94c2cd0d73b41369b88da1129589bc3a2d99cf49979af1d14751f35b7a1b" +checksum = "27b61f95c5a211918f5d336254a61a488b36a5818de47a868e8c4658dce9cccc" dependencies = [ "bumpalo", "cranelift-assembler-x64", @@ -134,7 +162,7 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli", - "hashbrown 0.15.5", + "hashbrown 0.16.1", "libm", "log", "pulley-interpreter", @@ -148,9 +176,9 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235da0e52ee3a0052d0e944c3470ff025b1f4234f6ec4089d3109f2d2ffa6cbd" +checksum = "0b85aa822fce72080d041d7c2cf7c3f5c6ecdea7afae68379ba4ef85269c4fa5" dependencies = [ "cranelift-assembler-x64-meta", "cranelift-codegen-shared", @@ -161,24 +189,24 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c07c6c440bd1bf920ff7597a1e743ede1f68dcd400730bd6d389effa7662af" +checksum = "833eb9fc89326cd072cc19e96892f09b5692c0dfe17cd4da2858ba30c2cd85c0" [[package]] name = "cranelift-control" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8797c022e02521901e1aee483dea3ed3c67f2bf0a26405c9dd48e8ee7a70944b" +checksum = "9d005320f487e6e8a3edcc7f2fd4f43fcc9946d1013bf206ea649789ac1617fc" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59d8e72637246edd2cba337939850caa8b201f6315925ec4c156fdd089999699" +checksum = "5e62ef34c6e720f347a79ece043e8584e242d168911da640bac654a33a6aaaf5" dependencies = [ "cranelift-bitset", "serde", @@ -188,9 +216,9 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c31db0085c3dfa131e739c3b26f9f9c84d69a9459627aac1ac4ef8355e3411b" +checksum = "dfa2ad00399dd47e7e7e33cb1dc23b0e39ed9dcd01e8f026fc37af91655031b8" dependencies = [ "cranelift-codegen", "log", @@ -200,15 +228,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524d804c1ebd8c542e6f64e71aa36934cec17c5da4a9ae3799796220317f5d23" +checksum = "02c51975ed217b4e8e5a7fd11e9ec83a96104bdff311dddcb505d1d8a9fd7fc6" [[package]] name = "cranelift-native" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc9598f02540e382e1772416eba18e93c5275b746adbbf06ac1f3cf149415270" +checksum = "f9b1889e00da9729d8f8525f3c12998ded86ea709058ff844ebe00b97548de0e" dependencies = [ "cranelift-codegen", "libc", @@ -217,9 +245,9 @@ dependencies = [ [[package]] name = "cranelift-srcgen" -version = "0.129.1" +version = "0.131.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d953932541249c91e3fa70a75ff1e52adc62979a2a8132145d4b9b3e6d1a9b6a" +checksum = "d5a8f82fd5124f009f72167e60139245cd3b56cfd4b53050f22110c48c5f4da1" [[package]] name = "crc32fast" @@ -230,6 +258,26 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + [[package]] name = "either" version = "1.13.0" @@ -261,7 +309,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -278,9 +326,19 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foldhash" -version = "0.1.5" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] [[package]] name = "gimli" @@ -296,19 +354,23 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.5" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" dependencies = [ "foldhash", "serde", + "serde_core", ] [[package]] name = "hashbrown" -version = "0.16.1" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] [[package]] name = "heck" @@ -318,12 +380,12 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "indexmap" -version = "2.13.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.16.1", + "hashbrown 0.17.1", "serde", "serde_core", ] @@ -393,12 +455,12 @@ dependencies = [ [[package]] name = "object" -version = "0.37.3" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b" dependencies = [ "crc32fast", - "hashbrown 0.15.5", + "hashbrown 0.17.1", "indexmap", "memchr", ] @@ -438,9 +500,9 @@ dependencies = [ [[package]] name = "pulley-interpreter" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc2d61e068654529dc196437f8df0981db93687fdc67dec6a5de92363120b9da" +checksum = "b9326e3a0093d170582cf64ed9e4cf253b8aac155ec4a294ff62330450bbf094" dependencies = [ "cranelift-bitset", "log", @@ -450,9 +512,9 @@ dependencies = [ [[package]] name = "pulley-macros" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3f210c61b6ecfaebbba806b6d9113a222519d4e5cc4ab2d5ecca047bb7927ae" +checksum = "00c6433917e3789605b1f4cd2a589f637ff17212344e7fa5ba99544625ba52c7" dependencies = [ "proc-macro2", "quote", @@ -470,18 +532,24 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.13.5" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08effbc1fa53aaebff69521a5c05640523fab037b34a4a2c109506bc938246fa" +checksum = "de2c52737737f8609e94f975dee22854a2d5c125772d4b1cf292120f4d45c186" dependencies = [ "allocator-api2", "bumpalo", - "hashbrown 0.15.5", + "hashbrown 0.17.1", "log", "rustc-hash", "smallvec", ] +[[package]] +name = "rustc-demangle" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d" + [[package]] name = "rustc-hash" version = "2.1.1" @@ -498,7 +566,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -537,6 +605,17 @@ dependencies = [ "syn", ] +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + [[package]] name = "shlex" version = "1.3.0" @@ -620,17 +699,29 @@ version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +[[package]] +name = "typenum" +version = "1.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" + [[package]] name = "unicode-ident" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + [[package]] name = "wasm-encoder" -version = "0.244.0" +version = "0.246.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +checksum = "61fb705ce81adde29d2a8e99d87995e39a6e927358c91398f374474746070ef7" dependencies = [ "leb128fmt", "wasmparser", @@ -638,12 +729,12 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.244.0" +version = "0.246.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +checksum = "71cde4757396defafd25417cfb36aa3161027d06d865b0c24baaae229aac005d" dependencies = [ "bitflags", - "hashbrown 0.15.5", + "hashbrown 0.16.1", "indexmap", "semver", "serde", @@ -651,9 +742,9 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.244.0" +version = "0.246.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09390d7b2bd7b938e563e4bff10aa345ef2e27a3bc99135697514ef54495e68f" +checksum = "6e41f7493ba994b8a779430a4c25ff550fd5a40d291693af43a6ef48688f00e3" dependencies = [ "anyhow", "termcolor", @@ -662,9 +753,9 @@ dependencies = [ [[package]] name = "wasmtime" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39bef52be4fb4c5b47d36f847172e896bc94b35c9c6a6f07117686bd16ed89a7" +checksum = "372db8bbad8ec962038101f75ab2c3ffcd18797d7d3ae877a58ab9873cd0c4bd" dependencies = [ "addr2line", "async-trait", @@ -708,9 +799,9 @@ dependencies = [ [[package]] name = "wasmtime-c-api-impl" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f85b0e5730bc49481311862132c2e1f61bb13570ce104138dbe8a0c9fd5c2a33" +checksum = "af63f5db854133f67cdec5faabff9db2764221968231c42fc18e8a9d63f849d5" dependencies = [ "log", "tracing", @@ -720,21 +811,25 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb637d5aa960ac391ca5a4cbf3e45807632e56beceeeb530e14dfa67fdfccc62" +checksum = "1e15aa0d1545e48d9b25ca604e9e27b4cd6d5886d30ac5787b57b3a2daf85b57" dependencies = [ "anyhow", + "cpp_demangle", + "cranelift-bforest", "cranelift-bitset", "cranelift-entity", "gimli", - "hashbrown 0.15.5", + "hashbrown 0.16.1", "indexmap", "log", "object", "postcard", + "rustc-demangle", "serde", "serde_derive", + "sha2", "smallvec", "target-lexicon", "wasm-encoder", @@ -745,9 +840,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-c-api-macros" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c513c5ff9db62195d5cad799eb4a9ff0e5471bf4b447bad27bfb365e100718d" +checksum = "5da86bdcaf6f4f20466b5093f0b3cc72fd013dee2a24f26af69ccd85d8524c17" dependencies = [ "proc-macro2", "quote", @@ -755,18 +850,20 @@ dependencies = [ [[package]] name = "wasmtime-internal-core" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a4a3f055a804a2f3d86e816a9df78a8fa57762212a8506164959224a40cd48" +checksum = "8f2c7fa6523647262bfb4095dbdf4087accefe525813e783f81a0c682f418ce4" dependencies = [ + "hashbrown 0.16.1", "libm", + "serde", ] [[package]] name = "wasmtime-internal-cranelift" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55154a91d22ad51f9551124ce7fb49ddddc6a82c4910813db4c790c97c9ccf32" +checksum = "98c032f422e39061dfc43f32190c0a3526b04161ec4867f362958f3fe9d1fe29" dependencies = [ "cfg-if", "cranelift-codegen", @@ -791,9 +888,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-fiber" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05decfad1021ad2efcca5c1be9855acb54b6ee7158ac4467119b30b7481508e3" +checksum = "d8dd76d80adf450cc260ba58f23c28030401930b19149695b1d121f7d621e791" dependencies = [ "cc", "cfg-if", @@ -806,9 +903,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-debug" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "924980c50427885fd4feed2049b88380178e567768aaabf29045b02eb262eaa7" +checksum = "ab453cc600b28ee5d3f9495aa6d4cb2c81eda40903e9287296b548fba8b2391d" dependencies = [ "cc", "wasmtime-internal-versioned-export-macros", @@ -816,9 +913,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-icache-coherence" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c57d24e8d1334a0e5a8b600286ffefa1fc4c3e8176b110dff6fbc1f43c4a599b" +checksum = "6a1859e920871515d324fb9757c3e448d6ed1512ca6ccdff14b6e016505d6ada" dependencies = [ "cfg-if", "libc", @@ -828,9 +925,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-unwinder" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a1a144bd4393593a868ba9df09f34a6a360cb5db6e71815f20d3f649c6e6735" +checksum = "f1dfe405bd6adb1386d935a30f16a236bd4ef0d3c383e7cbbab98d063c9d9b73" dependencies = [ "cfg-if", "cranelift-codegen", @@ -841,9 +938,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-versioned-export-macros" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a6948b56bb00c62dbd205ea18a4f1ceccbe1e4b8479651fdb0bab2553790f20" +checksum = "2a9b9165fc45d42c81edfe3e9cb458e58720594ad5db6553c4079ea041a4a581" dependencies = [ "proc-macro2", "quote", @@ -852,9 +949,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-winch" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9130b3ab6fb01be80b27b9a2c84817af29ae8224094f2503d2afa9fea5bf9d00" +checksum = "95f439b70ba3855a8c808d2cd798eef79bcd389f78aa48a8a694ea8e2904410c" dependencies = [ "cranelift-codegen", "gimli", @@ -878,9 +975,9 @@ dependencies = [ [[package]] name = "winch-codegen" -version = "42.0.1" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1977857998e4dd70d26e2bfc0618a9684a2fb65b1eca174dc13f3b3e9c2159ca" +checksum = "6da7c536f3cfe5ff63537f795902fed56b8b5adcc7a87843a86dd8d4e57a7946" dependencies = [ "cranelift-assembler-x64", "cranelift-codegen", diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 862312c23..c266670c3 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -26,4 +26,4 @@ path = "fake_lib.rs" [dependencies] # Fixes testdata build error due to missing crate_features = ["std"] log = {version = "0.4.29", default-features = false, features = ['std']} -wasmtime-c-api-impl = {version = "42.0.1", default-features = false, features = ['cranelift', 'gc-drc']} +wasmtime-c-api-impl = {version = "44.0.1", default-features = false, features = ['cranelift', 'gc-drc']} diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.102.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.102.bazel index 1f50e79b3..7c704a4f4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.102.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.102.bazel @@ -39,7 +39,6 @@ rust_library( ], ), crate_features = [ - "default", "std", ], crate_root = "src/lib.rs", @@ -83,7 +82,6 @@ cargo_build_script( ], ), crate_features = [ - "default", "std", ], crate_name = "build_script_build", diff --git a/bazel/cargo/wasmtime/remote/BUILD.bazel b/bazel/cargo/wasmtime/remote/BUILD.bazel index a004f8ca5..03da7995c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bazel @@ -44,13 +44,13 @@ alias( ) alias( - name = "wasmtime-c-api-impl-42.0.1", - actual = "@cu__wasmtime-c-api-impl-42.0.1//:wasmtime_c_api", + name = "wasmtime-c-api-impl-44.0.1", + actual = "@cu__wasmtime-c-api-impl-44.0.1//:wasmtime_c_api", tags = ["manual"], ) alias( name = "wasmtime-c-api-impl", - actual = "@cu__wasmtime-c-api-impl-42.0.1//:wasmtime_c_api", + actual = "@cu__wasmtime-c-api-impl-44.0.1//:wasmtime_c_api", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.block-buffer-0.10.4.bazel similarity index 87% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.block-buffer-0.10.4.bazel index 4124125cb..112947627 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.block-buffer-0.10.4.bazel @@ -17,7 +17,7 @@ cargo_toml_env_vars( ) rust_library( - name = "cranelift_bforest", + name = "block_buffer", srcs = glob( include = ["**/*.rs"], allow_empty = True, @@ -35,7 +35,7 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2024", + edition = "2018", rustc_env_files = [ ":cargo_toml_env_vars", ], @@ -44,13 +44,13 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=cranelift-bforest", + "crate-name=block-buffer", "manual", "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.10.4", deps = [ - "@cu__cranelift-entity-0.129.1//:cranelift_entity", + "@cu__generic-array-0.14.7//:generic_array", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.20.2.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.20.2.bazel index 58a8e98e5..fe77df80d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.20.2.bazel @@ -53,7 +53,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "3.16.0", + version = "3.20.2", deps = [ "@cu__allocator-api2-0.2.21//:allocator_api2", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.4.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.4.5.bazel new file mode 100644 index 000000000..356a12842 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.4.5.bazel @@ -0,0 +1,119 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "cpp_demangle", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cpp_demangle", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.5", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__cpp_demangle-0.4.5//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + pkg_name = "cpp_demangle", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cpp_demangle", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cpufeatures-0.2.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.cpufeatures-0.2.17.bazel new file mode 100644 index 000000000..0d1b00688 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cpufeatures-0.2.17.bazel @@ -0,0 +1,74 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "cpufeatures", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cpufeatures", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.17", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.182//:libc", # cfg(all(target_arch = "aarch64", target_vendor = "apple")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.182//:libc", # cfg(all(target_arch = "aarch64", target_vendor = "apple")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.182//:libc", # cfg(all(target_arch = "aarch64", target_vendor = "apple")) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.182//:libc", # aarch64-linux-android + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.182//:libc", # cfg(all(target_arch = "aarch64", target_os = "linux")) + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.182//:libc", # cfg(all(target_arch = "aarch64", target_os = "linux")) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-0.131.1.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-0.131.1.bazel index 140c9b5dd..aeb6be81c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-0.131.1.bazel @@ -53,9 +53,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-assembler-x64-0.129.1//:build_script_build", + "@cu__cranelift-assembler-x64-0.131.1//:build_script_build", ], ) @@ -107,10 +107,10 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", visibility = ["//visibility:private"], deps = [ - "@cu__cranelift-assembler-x64-meta-0.129.1//:cranelift_assembler_x64_meta", + "@cu__cranelift-assembler-x64-meta-0.131.1//:cranelift_assembler_x64_meta", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-meta-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-meta-0.131.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-meta-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-meta-0.131.1.bazel index 7600bfcc6..07ceac3d3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-meta-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-assembler-x64-meta-0.131.1.bazel @@ -49,8 +49,8 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-srcgen-0.129.1//:cranelift_srcgen", + "@cu__cranelift-srcgen-0.131.1//:cranelift_srcgen", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.131.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.131.1.bazel new file mode 100644 index 000000000..b9b2fafe7 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.131.1.bazel @@ -0,0 +1,60 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "cranelift_bforest", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = { + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", + }, + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2024", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cranelift-bforest", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.131.1", + deps = [ + "@cu__cranelift-entity-0.131.1//:cranelift_entity", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.131.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.131.1.bazel index b83c799bd..d4dfc6f27 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.131.1.bazel @@ -23,7 +23,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", }, compile_data = glob( include = ["**"], @@ -58,9 +58,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ "@cu__serde-1.0.228//:serde", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.131.1.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.131.1.bazel index 4f578af52..a5a584893 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.131.1.bazel @@ -27,7 +27,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", }, compile_data = glob( include = ["**"], @@ -64,26 +64,26 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__bumpalo-3.16.0//:bumpalo", - "@cu__cranelift-assembler-x64-0.129.1//:cranelift_assembler_x64", - "@cu__cranelift-bforest-0.129.1//:cranelift_bforest", - "@cu__cranelift-bitset-0.129.1//:cranelift_bitset", - "@cu__cranelift-codegen-0.129.1//:build_script_build", - "@cu__cranelift-codegen-shared-0.129.1//:cranelift_codegen_shared", - "@cu__cranelift-control-0.129.1//:cranelift_control", - "@cu__cranelift-entity-0.129.1//:cranelift_entity", + "@cu__bumpalo-3.20.2//:bumpalo", + "@cu__cranelift-assembler-x64-0.131.1//:cranelift_assembler_x64", + "@cu__cranelift-bforest-0.131.1//:cranelift_bforest", + "@cu__cranelift-bitset-0.131.1//:cranelift_bitset", + "@cu__cranelift-codegen-0.131.1//:build_script_build", + "@cu__cranelift-codegen-shared-0.131.1//:cranelift_codegen_shared", + "@cu__cranelift-control-0.131.1//:cranelift_control", + "@cu__cranelift-entity-0.131.1//:cranelift_entity", "@cu__gimli-0.33.0//:gimli", - "@cu__hashbrown-0.15.5//:hashbrown", + "@cu__hashbrown-0.16.1//:hashbrown", "@cu__libm-0.2.16//:libm", "@cu__log-0.4.29//:log", - "@cu__pulley-interpreter-42.0.1//:pulley_interpreter", - "@cu__regalloc2-0.13.5//:regalloc2", + "@cu__pulley-interpreter-44.0.1//:pulley_interpreter", + "@cu__regalloc2-0.15.1//:regalloc2", "@cu__rustc-hash-2.1.1//:rustc_hash", "@cu__smallvec-1.15.1//:smallvec", "@cu__target-lexicon-0.13.5//:target_lexicon", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", ], ) @@ -143,11 +143,11 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", visibility = ["//visibility:private"], deps = [ - "@cu__cranelift-codegen-meta-0.129.1//:cranelift_codegen_meta", - "@cu__cranelift-isle-0.129.1//:cranelift_isle", + "@cu__cranelift-codegen-meta-0.131.1//:cranelift_codegen_meta", + "@cu__cranelift-isle-0.131.1//:cranelift_isle", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.131.1.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.131.1.bazel index 18dc4a8c1..960923b2c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.131.1.bazel @@ -52,12 +52,12 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-assembler-x64-meta-0.129.1//:cranelift_assembler_x64_meta", - "@cu__cranelift-codegen-shared-0.129.1//:cranelift_codegen_shared", - "@cu__cranelift-srcgen-0.129.1//:cranelift_srcgen", + "@cu__cranelift-assembler-x64-meta-0.131.1//:cranelift_assembler_x64_meta", + "@cu__cranelift-codegen-shared-0.131.1//:cranelift_codegen_shared", + "@cu__cranelift-srcgen-0.131.1//:cranelift_srcgen", "@cu__heck-0.5.0//:heck", - "@cu__pulley-interpreter-42.0.1//:pulley_interpreter", + "@cu__pulley-interpreter-44.0.1//:pulley_interpreter", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.131.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.131.1.bazel index 612dff94b..4c9756699 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.131.1.bazel @@ -49,5 +49,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.131.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.131.1.bazel index bf9778a32..e76948bdd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.131.1.bazel @@ -52,7 +52,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ "@cu__arbitrary-1.4.2//:arbitrary", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.131.1.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.131.1.bazel index 89d707933..fe2bf82bc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.131.1.bazel @@ -23,7 +23,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", }, compile_data = glob( include = ["**"], @@ -60,10 +60,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-bitset-0.129.1//:cranelift_bitset", + "@cu__cranelift-bitset-0.131.1//:cranelift_bitset", "@cu__serde-1.0.228//:serde", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.131.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.131.1.bazel index 8878e38a0..a7d23a7cf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.131.1.bazel @@ -53,9 +53,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-codegen-0.129.1//:cranelift_codegen", + "@cu__cranelift-codegen-0.131.1//:cranelift_codegen", "@cu__log-0.4.29//:log", "@cu__smallvec-1.15.1//:smallvec", "@cu__target-lexicon-0.13.5//:target_lexicon", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.131.1.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.131.1.bazel index 76875a3f9..5ca24014e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.131.1.bazel @@ -56,9 +56,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-isle-0.129.1//:build_script_build", + "@cu__cranelift-isle-0.131.1//:build_script_build", ], ) @@ -113,7 +113,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.131.1.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.131.1.bazel index f4031a9eb..944b3ee1e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.131.1.bazel @@ -53,9 +53,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", deps = [ - "@cu__cranelift-codegen-0.129.1//:cranelift_codegen", + "@cu__cranelift-codegen-0.131.1//:cranelift_codegen", "@cu__target-lexicon-0.13.5//:target_lexicon", ] + select({ "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-srcgen-0.129.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-srcgen-0.131.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-srcgen-0.129.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-srcgen-0.131.1.bazel index 93ae68e9a..84a1769cf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-srcgen-0.129.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-srcgen-0.131.1.bazel @@ -49,5 +49,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.129.1", + version = "0.131.1", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.crypto-common-0.1.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.crypto-common-0.1.7.bazel new file mode 100644 index 000000000..26e99d5b8 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.crypto-common-0.1.7.bazel @@ -0,0 +1,57 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "crypto_common", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=crypto-common", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.7", + deps = [ + "@cu__generic-array-0.14.7//:generic_array", + "@cu__typenum-1.20.0//:typenum", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.digest-0.10.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.digest-0.10.7.bazel new file mode 100644 index 000000000..a19903c0a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.digest-0.10.7.bazel @@ -0,0 +1,62 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "digest", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "block-buffer", + "core-api", + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=digest", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.10.7", + deps = [ + "@cu__block-buffer-0.10.4//:block_buffer", + "@cu__crypto-common-0.1.7//:crypto_common", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.14.bazel index 0220b5cf2..8c5b6adf7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.14.bazel @@ -67,7 +67,7 @@ rust_library( "@cu__libc-0.2.182//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ "@cu__libc-0.2.182//:libc", # cfg(unix) @@ -100,7 +100,7 @@ rust_library( "@cu__libc-0.2.182//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ "@cu__libc-0.2.182//:libc", # cfg(unix) @@ -139,7 +139,7 @@ rust_library( "@cu__libc-0.2.182//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ "@cu__libc-0.2.182//:libc", # cfg(unix) diff --git a/bazel/cargo/wasmtime/remote/BUILD.foldhash-0.1.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.foldhash-0.2.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.foldhash-0.1.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.foldhash-0.2.0.bazel index 02946fc10..736f8989c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.foldhash-0.1.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.foldhash-0.2.0.bazel @@ -49,5 +49,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.1.5", + version = "0.2.0", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.generic-array-0.14.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.generic-array-0.14.7.bazel new file mode 100644 index 000000000..1006860d2 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.generic-array-0.14.7.bazel @@ -0,0 +1,128 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "generic_array", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "more_lengths", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=generic-array", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.14.7", + deps = [ + "@cu__generic-array-0.14.7//:build_script_build", + "@cu__typenum-1.20.0//:typenum", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "more_lengths", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + pkg_name = "generic-array", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=generic-array", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.14.7", + visibility = ["//visibility:private"], + deps = [ + "@cu__version_check-0.9.5//:version_check", + ], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.33.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.33.0.bazel index 0b13b600b..a5985b79a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.33.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.33.0.bazel @@ -59,6 +59,6 @@ rust_library( deps = [ "@cu__fnv-1.0.7//:fnv", "@cu__hashbrown-0.16.1//:hashbrown", - "@cu__indexmap-2.13.0//:indexmap", + "@cu__indexmap-2.14.0//:indexmap", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.16.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.16.1.bazel index b37316eb4..a4b312731 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.16.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.16.1.bazel @@ -34,6 +34,9 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default-hasher", + ], crate_root = "src/lib.rs", edition = "2021", rustc_env_files = [ @@ -50,4 +53,7 @@ rust_library( "norustfmt", ], version = "0.16.1", + deps = [ + "@cu__foldhash-0.2.0//:foldhash", + ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.15.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.17.1.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.15.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.17.1.bazel index 2e9aa7c7d..57e92aca4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.15.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.17.1.bazel @@ -38,7 +38,7 @@ rust_library( "default-hasher", ], crate_root = "src/lib.rs", - edition = "2021", + edition = "2024", rustc_env_files = [ ":cargo_toml_env_vars", ], @@ -52,8 +52,8 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.15.5", + version = "0.17.1", deps = [ - "@cu__foldhash-0.1.5//:foldhash", + "@cu__foldhash-0.2.0//:foldhash", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.13.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.14.0.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.indexmap-2.13.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.indexmap-2.14.0.bazel index 584040dcd..af296b51d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.13.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.14.0.bazel @@ -39,7 +39,7 @@ rust_library( "std", ], crate_root = "src/lib.rs", - edition = "2021", + edition = "2024", rustc_env_files = [ ":cargo_toml_env_vars", ], @@ -53,10 +53,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "2.13.0", + version = "2.14.0", deps = [ "@cu__equivalent-1.0.1//:equivalent", - "@cu__hashbrown-0.16.1//:hashbrown", + "@cu__hashbrown-0.17.1//:hashbrown", "@cu__serde_core-1.0.228//:serde_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.37.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.39.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.object-0.37.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.object-0.39.1.bazel index 691d561cc..d474713f1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.37.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.39.1.bazel @@ -66,13 +66,13 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.37.3", + version = "0.39.1", deps = [ "@cu__crc32fast-1.4.2//:crc32fast", - "@cu__hashbrown-0.15.5//:hashbrown", - "@cu__indexmap-2.13.0//:indexmap", + "@cu__hashbrown-0.17.1//:hashbrown", + "@cu__indexmap-2.14.0//:indexmap", "@cu__memchr-2.7.4//:memchr", - "@cu__object-0.37.3//:build_script_build", + "@cu__object-0.39.1//:build_script_build", ], ) @@ -137,7 +137,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.37.3", + version = "0.39.1", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.pulley-interpreter-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.pulley-interpreter-44.0.1.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.pulley-interpreter-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.pulley-interpreter-44.0.1.bazel index 7effb62e6..b981c0558 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.pulley-interpreter-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.pulley-interpreter-44.0.1.bazel @@ -23,7 +23,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", }, compile_data = glob( include = ["**"], @@ -47,7 +47,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2024", proc_macro_deps = [ - "@cu__pulley-macros-42.0.1//:pulley_macros", + "@cu__pulley-macros-44.0.1//:pulley_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -62,10 +62,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ - "@cu__cranelift-bitset-0.129.1//:cranelift_bitset", + "@cu__cranelift-bitset-0.131.1//:cranelift_bitset", "@cu__log-0.4.29//:log", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.pulley-macros-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.pulley-macros-44.0.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.pulley-macros-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.pulley-macros-44.0.1.bazel index 636d93ddd..b46862750 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.pulley-macros-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.pulley-macros-44.0.1.bazel @@ -49,7 +49,7 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__proc-macro2-1.0.106//:proc_macro2", "@cu__quote-1.0.45//:quote", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.13.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.15.1.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.13.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.15.1.bazel index ed7ea8432..65cfe7304 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.13.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.15.1.bazel @@ -54,11 +54,11 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.13.5", + version = "0.15.1", deps = [ "@cu__allocator-api2-0.2.21//:allocator_api2", - "@cu__bumpalo-3.16.0//:bumpalo", - "@cu__hashbrown-0.15.5//:hashbrown", + "@cu__bumpalo-3.20.2//:bumpalo", + "@cu__hashbrown-0.17.1//:hashbrown", "@cu__log-0.4.29//:log", "@cu__rustc-hash-2.1.1//:rustc_hash", "@cu__smallvec-1.15.1//:smallvec", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.27.bazel new file mode 100644 index 000000000..264f23a18 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.27.bazel @@ -0,0 +1,53 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "rustc_demangle", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustc-demangle", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.27", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-1.1.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-1.1.4.bazel index b9500ae6d..d7309395e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-1.1.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-1.1.4.bazel @@ -218,7 +218,7 @@ rust_library( ], "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ "@cu__errno-0.3.14//:errno", # cfg(windows) - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ "@cu__errno-0.3.14//:errno", # aarch64-unknown-fuchsia, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) @@ -263,7 +263,7 @@ rust_library( ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ "@cu__errno-0.3.14//:errno", # cfg(windows) - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-unknown-freebsd @@ -336,7 +336,7 @@ rust_library( ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ "@cu__errno-0.3.14//:errno", # cfg(windows) - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-freebsd diff --git a/bazel/cargo/wasmtime/remote/BUILD.sha2-0.10.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.sha2-0.10.9.bazel new file mode 100644 index 000000000..ad67db904 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.sha2-0.10.9.bazel @@ -0,0 +1,134 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "sha2", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=sha2", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.10.9", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__digest-0.10.7//:digest", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:aarch64-unknown-uefi": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "@rules_rust//rust/platform:x86_64-unknown-uefi": [ + "@cu__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.typenum-1.20.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.typenum-1.20.0.bazel new file mode 100644 index 000000000..77d7120f0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.typenum-1.20.0.bazel @@ -0,0 +1,53 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "typenum", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=typenum", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.20.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel new file mode 100644 index 000000000..391f6af95 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel @@ -0,0 +1,53 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "version_check", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=version_check", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.9.5", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.244.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.246.2.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.244.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.246.2.bazel index f5eb7323c..a4729b591 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.244.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.246.2.bazel @@ -54,7 +54,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.244.0", + version = "0.246.2", deps = [ "@cu__leb128fmt-0.1.0//:leb128fmt", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.244.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.246.2.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.244.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.246.2.bazel index f672bd17e..8fe0d1146 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.244.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.246.2.bazel @@ -57,7 +57,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.244.0", + version = "0.246.2", deps = [ "@cu__bitflags-2.11.0//:bitflags", "@cu__semver-1.0.23//:semver", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.244.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.246.2.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.244.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.246.2.bazel index 12227b18a..f09c35d77 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.244.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.246.2.bazel @@ -54,10 +54,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.244.0", + version = "0.246.2", deps = [ "@cu__anyhow-1.0.102//:anyhow", "@cu__termcolor-1.4.1//:termcolor", - "@cu__wasmparser-0.244.0//:wasmparser", + "@cu__wasmparser-0.246.2//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-44.0.1.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-44.0.1.bazel index da8044205..5c98cb6fe 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-44.0.1.bazel @@ -27,11 +27,11 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", - "@cu__wasmtime-internal-cranelift-42.0.1//:wasmtime_internal_cranelift": "wasmtime_cranelift", - "@cu__wasmtime-internal-jit-icache-coherence-42.0.1//:wasmtime_internal_jit_icache_coherence": "wasmtime_jit_icache_coherence", - "@cu__wasmtime-internal-unwinder-42.0.1//:wasmtime_internal_unwinder": "wasmtime_unwinder", - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-cranelift-44.0.1//:wasmtime_internal_cranelift": "wasmtime_cranelift", + "@cu__wasmtime-internal-jit-icache-coherence-44.0.1//:wasmtime_internal_jit_icache_coherence": "wasmtime_jit_icache_coherence", + "@cu__wasmtime-internal-unwinder-44.0.1//:wasmtime_internal_unwinder": "wasmtime_unwinder", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -59,7 +59,7 @@ rust_library( proc_macro_deps = [ "@cu__async-trait-0.1.89//:async_trait", "@cu__serde_derive-1.0.228//:serde_derive", - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -74,27 +74,27 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__bitflags-2.11.0//:bitflags", - "@cu__bumpalo-3.16.0//:bumpalo", + "@cu__bumpalo-3.20.2//:bumpalo", "@cu__cfg-if-1.0.0//:cfg_if", "@cu__libc-0.2.182//:libc", "@cu__log-0.4.29//:log", - "@cu__object-0.37.3//:object", + "@cu__object-0.39.1//:object", "@cu__once_cell-1.19.0//:once_cell", "@cu__postcard-1.1.3//:postcard", - "@cu__pulley-interpreter-42.0.1//:pulley_interpreter", + "@cu__pulley-interpreter-44.0.1//:pulley_interpreter", "@cu__serde-1.0.228//:serde", "@cu__smallvec-1.15.1//:smallvec", "@cu__target-lexicon-0.13.5//:target_lexicon", - "@cu__wasmparser-0.244.0//:wasmparser", - "@cu__wasmtime-42.0.1//:build_script_build", - "@cu__wasmtime-environ-42.0.1//:wasmtime_environ", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", - "@cu__wasmtime-internal-cranelift-42.0.1//:wasmtime_internal_cranelift", - "@cu__wasmtime-internal-jit-icache-coherence-42.0.1//:wasmtime_internal_jit_icache_coherence", - "@cu__wasmtime-internal-unwinder-42.0.1//:wasmtime_internal_unwinder", + "@cu__wasmparser-0.246.2//:wasmparser", + "@cu__wasmtime-44.0.1//:build_script_build", + "@cu__wasmtime-environ-44.0.1//:wasmtime_environ", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-cranelift-44.0.1//:wasmtime_internal_cranelift", + "@cu__wasmtime-internal-jit-icache-coherence-44.0.1//:wasmtime_internal_jit_icache_coherence", + "@cu__wasmtime-internal-unwinder-44.0.1//:wasmtime_internal_unwinder", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@cu__mach2-0.4.2//:mach2", # aarch64-apple-darwin @@ -214,7 +214,7 @@ cargo_build_script( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -255,7 +255,7 @@ cargo_build_script( edition = "2024", pkg_name = "wasmtime", proc_macro_deps = [ - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -270,7 +270,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], deps = [ "@cu__cc-1.2.56//:cc", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-44.0.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-44.0.1.bazel index a32fea475..c36a40724 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-44.0.1.bazel @@ -27,7 +27,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-c-api-macros-42.0.1//:wasmtime_internal_c_api_macros": "wasmtime_c_api_macros", + "@cu__wasmtime-internal-c-api-macros-44.0.1//:wasmtime_internal_c_api_macros": "wasmtime_c_api_macros", }, compile_data = glob( include = ["**"], @@ -48,7 +48,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2024", proc_macro_deps = [ - "@cu__wasmtime-internal-c-api-macros-42.0.1//:wasmtime_internal_c_api_macros", + "@cu__wasmtime-internal-c-api-macros-44.0.1//:wasmtime_internal_c_api_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -63,12 +63,12 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__log-0.4.29//:log", "@cu__tracing-0.1.44//:tracing", - "@cu__wasmtime-42.0.1//:wasmtime", - "@cu__wasmtime-c-api-impl-42.0.1//:build_script_build", + "@cu__wasmtime-44.0.1//:wasmtime", + "@cu__wasmtime-c-api-impl-44.0.1//:build_script_build", ], ) @@ -125,7 +125,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-44.0.1.bazel similarity index 74% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-44.0.1.bazel index dde66d5f1..aeb067b5a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-44.0.1.bazel @@ -23,7 +23,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", }, compile_data = glob( include = ["**"], @@ -61,23 +61,25 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__anyhow-1.0.102//:anyhow", - "@cu__cranelift-bitset-0.129.1//:cranelift_bitset", - "@cu__cranelift-entity-0.129.1//:cranelift_entity", + "@cu__cranelift-bforest-0.131.1//:cranelift_bforest", + "@cu__cranelift-bitset-0.131.1//:cranelift_bitset", + "@cu__cranelift-entity-0.131.1//:cranelift_entity", "@cu__gimli-0.33.0//:gimli", - "@cu__hashbrown-0.15.5//:hashbrown", - "@cu__indexmap-2.13.0//:indexmap", + "@cu__hashbrown-0.16.1//:hashbrown", + "@cu__indexmap-2.14.0//:indexmap", "@cu__log-0.4.29//:log", - "@cu__object-0.37.3//:object", + "@cu__object-0.39.1//:object", "@cu__postcard-1.1.3//:postcard", "@cu__serde-1.0.228//:serde", + "@cu__sha2-0.10.9//:sha2", "@cu__smallvec-1.15.1//:smallvec", "@cu__target-lexicon-0.13.5//:target_lexicon", - "@cu__wasm-encoder-0.244.0//:wasm_encoder", - "@cu__wasmparser-0.244.0//:wasmparser", - "@cu__wasmprinter-0.244.0//:wasmprinter", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", + "@cu__wasm-encoder-0.246.2//:wasm_encoder", + "@cu__wasmparser-0.246.2//:wasmparser", + "@cu__wasmprinter-0.246.2//:wasmprinter", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-c-api-macros-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-c-api-macros-44.0.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-c-api-macros-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-c-api-macros-44.0.1.bazel index a3181d4d8..9daeebd45 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-c-api-macros-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-c-api-macros-44.0.1.bazel @@ -49,7 +49,7 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__proc-macro2-1.0.106//:proc_macro2", "@cu__quote-1.0.45//:quote", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-core-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-core-44.0.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-core-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-core-44.0.1.bazel index 94be85a6b..ee77efd56 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-core-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-core-44.0.1.bazel @@ -39,6 +39,7 @@ rust_library( ], ), crate_features = [ + "serde", "std", ], crate_root = "src/lib.rs", @@ -56,10 +57,12 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ + "@cu__hashbrown-0.16.1//:hashbrown", "@cu__libm-0.2.16//:libm", - "@cu__wasmtime-internal-core-42.0.1//:build_script_build", + "@cu__serde-1.0.228//:serde", + "@cu__wasmtime-internal-core-44.0.1//:build_script_build", ], ) @@ -83,6 +86,7 @@ cargo_build_script( ], ), crate_features = [ + "serde", "std", ], crate_name = "build_script_build", @@ -114,7 +118,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-cranelift-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-cranelift-44.0.1.bazel similarity index 68% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-cranelift-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-cranelift-44.0.1.bazel index 75ad039ed..c506007da 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-cranelift-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-cranelift-44.0.1.bazel @@ -23,9 +23,9 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", - "@cu__wasmtime-internal-unwinder-42.0.1//:wasmtime_internal_unwinder": "wasmtime_unwinder", - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-unwinder-44.0.1//:wasmtime_internal_unwinder": "wasmtime_unwinder", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -47,7 +47,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2024", proc_macro_deps = [ - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -62,25 +62,25 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__cranelift-codegen-0.129.1//:cranelift_codegen", - "@cu__cranelift-control-0.129.1//:cranelift_control", - "@cu__cranelift-entity-0.129.1//:cranelift_entity", - "@cu__cranelift-frontend-0.129.1//:cranelift_frontend", - "@cu__cranelift-native-0.129.1//:cranelift_native", + "@cu__cranelift-codegen-0.131.1//:cranelift_codegen", + "@cu__cranelift-control-0.131.1//:cranelift_control", + "@cu__cranelift-entity-0.131.1//:cranelift_entity", + "@cu__cranelift-frontend-0.131.1//:cranelift_frontend", + "@cu__cranelift-native-0.131.1//:cranelift_native", "@cu__gimli-0.33.0//:gimli", "@cu__itertools-0.14.0//:itertools", "@cu__log-0.4.29//:log", - "@cu__object-0.37.3//:object", - "@cu__pulley-interpreter-42.0.1//:pulley_interpreter", + "@cu__object-0.39.1//:object", + "@cu__pulley-interpreter-44.0.1//:pulley_interpreter", "@cu__smallvec-1.15.1//:smallvec", "@cu__target-lexicon-0.13.5//:target_lexicon", "@cu__thiserror-2.0.18//:thiserror", - "@cu__wasmparser-0.244.0//:wasmparser", - "@cu__wasmtime-environ-42.0.1//:wasmtime_environ", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", - "@cu__wasmtime-internal-unwinder-42.0.1//:wasmtime_internal_unwinder", + "@cu__wasmparser-0.246.2//:wasmparser", + "@cu__wasmtime-environ-44.0.1//:wasmtime_environ", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-unwinder-44.0.1//:wasmtime_internal_unwinder", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-fiber-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-fiber-44.0.1.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-fiber-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-fiber-44.0.1.bazel index c963a55a6..3072c6968 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-fiber-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-fiber-44.0.1.bazel @@ -27,7 +27,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -44,7 +44,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2024", proc_macro_deps = [ - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -59,11 +59,11 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__wasmtime-environ-42.0.1//:wasmtime_environ", - "@cu__wasmtime-internal-fiber-42.0.1//:build_script_build", + "@cu__wasmtime-environ-44.0.1//:wasmtime_environ", + "@cu__wasmtime-internal-fiber-44.0.1//:build_script_build", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@cu__libc-0.2.182//:libc", # cfg(unix) @@ -193,7 +193,7 @@ cargo_build_script( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -225,7 +225,7 @@ cargo_build_script( edition = "2024", pkg_name = "wasmtime-internal-fiber", proc_macro_deps = [ - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -240,7 +240,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], deps = [ "@cu__cc-1.2.56//:cc", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-debug-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-debug-44.0.1.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-debug-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-debug-44.0.1.bazel index 7f0b8dc46..6388296c8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-debug-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-debug-44.0.1.bazel @@ -27,7 +27,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -44,7 +44,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2024", proc_macro_deps = [ - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -59,9 +59,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ - "@cu__wasmtime-internal-jit-debug-42.0.1//:build_script_build", + "@cu__wasmtime-internal-jit-debug-44.0.1//:build_script_build", ], ) @@ -72,7 +72,7 @@ cargo_build_script( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros": "wasmtime_versioned_export_macros", }, compile_data = glob( include = ["**"], @@ -104,7 +104,7 @@ cargo_build_script( edition = "2024", pkg_name = "wasmtime-internal-jit-debug", proc_macro_deps = [ - "@cu__wasmtime-internal-versioned-export-macros-42.0.1//:wasmtime_internal_versioned_export_macros", + "@cu__wasmtime-internal-versioned-export-macros-44.0.1//:wasmtime_internal_versioned_export_macros", ], rustc_env_files = [ ":cargo_toml_env_vars", @@ -119,7 +119,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], deps = [ "@cu__cc-1.2.56//:cc", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-icache-coherence-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-icache-coherence-44.0.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-icache-coherence-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-icache-coherence-44.0.1.bazel index d44d00c22..9eab5f7fd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-icache-coherence-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-jit-icache-coherence-44.0.1.bazel @@ -23,7 +23,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", }, compile_data = glob( include = ["**"], @@ -52,10 +52,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@cu__libc-0.2.182//:libc", # cfg(any(target_os = "linux", target_vendor = "apple", target_os = "freebsd", target_os = "android")) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-unwinder-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-unwinder-44.0.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-unwinder-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-unwinder-44.0.1.bazel index 6b2098e7f..79a6de72b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-unwinder-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-unwinder-44.0.1.bazel @@ -57,14 +57,14 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__cranelift-codegen-0.129.1//:cranelift_codegen", + "@cu__cranelift-codegen-0.131.1//:cranelift_codegen", "@cu__log-0.4.29//:log", - "@cu__object-0.37.3//:object", - "@cu__wasmtime-environ-42.0.1//:wasmtime_environ", - "@cu__wasmtime-internal-unwinder-42.0.1//:build_script_build", + "@cu__object-0.39.1//:object", + "@cu__wasmtime-environ-44.0.1//:wasmtime_environ", + "@cu__wasmtime-internal-unwinder-44.0.1//:build_script_build", ], ) @@ -120,7 +120,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-versioned-export-macros-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-versioned-export-macros-44.0.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-versioned-export-macros-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-versioned-export-macros-44.0.1.bazel index 4b20ed722..facc09777 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-versioned-export-macros-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-versioned-export-macros-44.0.1.bazel @@ -49,7 +49,7 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ "@cu__proc-macro2-1.0.106//:proc_macro2", "@cu__quote-1.0.45//:quote", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-winch-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-winch-44.0.1.bazel similarity index 78% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-winch-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-winch-44.0.1.bazel index ae3f62e5b..13892b5e9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-winch-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-internal-winch-44.0.1.bazel @@ -23,7 +23,7 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-cranelift-42.0.1//:wasmtime_internal_cranelift": "wasmtime_cranelift", + "@cu__wasmtime-internal-cranelift-44.0.1//:wasmtime_internal_cranelift": "wasmtime_cranelift", }, compile_data = glob( include = ["**"], @@ -52,16 +52,16 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ - "@cu__cranelift-codegen-0.129.1//:cranelift_codegen", + "@cu__cranelift-codegen-0.131.1//:cranelift_codegen", "@cu__gimli-0.33.0//:gimli", "@cu__log-0.4.29//:log", - "@cu__object-0.37.3//:object", + "@cu__object-0.39.1//:object", "@cu__target-lexicon-0.13.5//:target_lexicon", - "@cu__wasmparser-0.244.0//:wasmparser", - "@cu__wasmtime-environ-42.0.1//:wasmtime_environ", - "@cu__wasmtime-internal-cranelift-42.0.1//:wasmtime_internal_cranelift", - "@cu__winch-codegen-42.0.1//:winch_codegen", + "@cu__wasmparser-0.246.2//:wasmparser", + "@cu__wasmtime-environ-44.0.1//:wasmtime_environ", + "@cu__wasmtime-internal-cranelift-44.0.1//:wasmtime_internal_cranelift", + "@cu__winch-codegen-44.0.1//:winch_codegen", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winch-codegen-42.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.winch-codegen-44.0.1.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.winch-codegen-42.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.winch-codegen-44.0.1.bazel index 72213faef..9fef3bd14 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.winch-codegen-42.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.winch-codegen-44.0.1.bazel @@ -27,8 +27,8 @@ rust_library( allow_empty = True, ), aliases = { - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core": "wasmtime_core", - "@cu__wasmtime-internal-cranelift-42.0.1//:wasmtime_internal_cranelift": "wasmtime_cranelift", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core": "wasmtime_core", + "@cu__wasmtime-internal-cranelift-44.0.1//:wasmtime_internal_cranelift": "wasmtime_cranelift", }, compile_data = glob( include = ["**"], @@ -57,20 +57,20 @@ rust_library( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", deps = [ - "@cu__cranelift-assembler-x64-0.129.1//:cranelift_assembler_x64", - "@cu__cranelift-codegen-0.129.1//:cranelift_codegen", + "@cu__cranelift-assembler-x64-0.131.1//:cranelift_assembler_x64", + "@cu__cranelift-codegen-0.131.1//:cranelift_codegen", "@cu__gimli-0.33.0//:gimli", - "@cu__regalloc2-0.13.5//:regalloc2", + "@cu__regalloc2-0.15.1//:regalloc2", "@cu__smallvec-1.15.1//:smallvec", "@cu__target-lexicon-0.13.5//:target_lexicon", "@cu__thiserror-2.0.18//:thiserror", - "@cu__wasmparser-0.244.0//:wasmparser", - "@cu__wasmtime-environ-42.0.1//:wasmtime_environ", - "@cu__wasmtime-internal-core-42.0.1//:wasmtime_internal_core", - "@cu__wasmtime-internal-cranelift-42.0.1//:wasmtime_internal_cranelift", - "@cu__winch-codegen-42.0.1//:build_script_build", + "@cu__wasmparser-0.246.2//:wasmparser", + "@cu__wasmtime-environ-44.0.1//:wasmtime_environ", + "@cu__wasmtime-internal-core-44.0.1//:wasmtime_internal_core", + "@cu__wasmtime-internal-cranelift-44.0.1//:wasmtime_internal_cranelift", + "@cu__winch-codegen-44.0.1//:build_script_build", ], ) @@ -122,7 +122,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "42.0.1", + version = "44.0.1", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/defs.bzl b/bazel/cargo/wasmtime/remote/defs.bzl index 7d1accfe7..48b267037 100644 --- a/bazel/cargo/wasmtime/remote/defs.bzl +++ b/bazel/cargo/wasmtime/remote/defs.bzl @@ -296,7 +296,7 @@ _NORMAL_DEPENDENCIES = { "bazel/cargo/wasmtime": { _COMMON_CONDITION: { "log": Label("@cu//:log-0.4.29"), - "wasmtime-c-api-impl": Label("@cu//:wasmtime-c-api-impl-42.0.1"), + "wasmtime-c-api-impl": Label("@cu//:wasmtime-c-api-impl-44.0.1"), }, }, } @@ -379,10 +379,14 @@ _CONDITIONS = { "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:arm-unknown-linux-musleabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:aarch64-unknown-uefi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-emscripten", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@rules_rust//rust/platform:x86_64-unknown-none", "@rules_rust//rust/platform:x86_64-unknown-uefi"], "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"], + "cfg(all(target_arch = \"aarch64\", target_vendor = \"apple\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim"], + "cfg(all(target_arch = \"loongarch64\", target_os = \"linux\"))": [], "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(any())": [], + "cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:aarch64-unknown-uefi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none", "@rules_rust//rust/platform:x86_64-unknown-uefi"], "cfg(any(target_os = \"linux\", target_vendor = \"apple\", target_os = \"freebsd\", target_os = \"android\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:arm-unknown-linux-musleabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(any(target_os = \"macos\", target_os = \"ios\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios"], "cfg(target_arch = \"riscv64\")": ["@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf"], @@ -492,12 +496,22 @@ def crate_repositories(): maybe( http_archive, - name = "cu__bumpalo-3.16.0", - sha256 = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c", + name = "cu__block-buffer-0.10.4", + sha256 = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71", type = "tar.gz", - urls = ["https://static.crates.io/crates/bumpalo/3.16.0/download"], - strip_prefix = "bumpalo-3.16.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.16.0.bazel"), + urls = ["https://static.crates.io/crates/block-buffer/0.10.4/download"], + strip_prefix = "block-buffer-0.10.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.block-buffer-0.10.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__bumpalo-3.20.2", + sha256 = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bumpalo/3.20.2/download"], + strip_prefix = "bumpalo-3.20.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.20.2.bazel"), ) maybe( @@ -532,132 +546,152 @@ def crate_repositories(): maybe( http_archive, - name = "cu__cranelift-assembler-x64-0.129.1", - sha256 = "40630d663279bc855bff805d6f5e8a0b6a1867f9df95b010511ac6dc894e9395", + name = "cu__cpp_demangle-0.4.5", + sha256 = "f2bb79cb74d735044c972aae58ed0aaa9a837e85b01106a54c39e42e97f62253", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cpp_demangle/0.4.5/download"], + strip_prefix = "cpp_demangle-0.4.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cpp_demangle-0.4.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__cpufeatures-0.2.17", + sha256 = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cpufeatures/0.2.17/download"], + strip_prefix = "cpufeatures-0.2.17", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cpufeatures-0.2.17.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-assembler-x64-0.131.1", + sha256 = "f8628cc4ba7f88a9205a7ee42327697abc61195a1e3d92cfae172d6a946e722e", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-assembler-x64/0.129.1/download"], - strip_prefix = "cranelift-assembler-x64-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-assembler-x64-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-assembler-x64/0.131.1/download"], + strip_prefix = "cranelift-assembler-x64-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-assembler-x64-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-assembler-x64-meta-0.129.1", - sha256 = "3ee6aec5ceb55e5fdbcf7ef677d7c7195531360ff181ce39b2b31df11d57305f", + name = "cu__cranelift-assembler-x64-meta-0.131.1", + sha256 = "d582754487e6c9a065a91c42ccf1bdd8d5977af33468dac5ae9bec0ce88acb3e", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-assembler-x64-meta/0.129.1/download"], - strip_prefix = "cranelift-assembler-x64-meta-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-assembler-x64-meta-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-assembler-x64-meta/0.131.1/download"], + strip_prefix = "cranelift-assembler-x64-meta-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-assembler-x64-meta-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-bforest-0.129.1", - sha256 = "9a92d78cc3f087d7e7073828f08d98c7074a3a062b6b29a1b7783ce74305685e", + name = "cu__cranelift-bforest-0.131.1", + sha256 = "fb59c81ace12ee7c33074db7903d4d75d1f40b28cd3e8e6f491de57b29129eb9", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-bforest/0.129.1/download"], - strip_prefix = "cranelift-bforest-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-bforest/0.131.1/download"], + strip_prefix = "cranelift-bforest-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-bitset-0.129.1", - sha256 = "edcc73d756f2e0d7eda6144fe64a2bc69c624de893cb1be51f1442aed77881d2", + name = "cu__cranelift-bitset-0.131.1", + sha256 = "f25c06993a681be9cf3140798a3d4ac5bec955e7444416a2fdc87fda8567285d", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-bitset/0.129.1/download"], - strip_prefix = "cranelift-bitset-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bitset-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-bitset/0.131.1/download"], + strip_prefix = "cranelift-bitset-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bitset-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-codegen-0.129.1", - sha256 = "683d94c2cd0d73b41369b88da1129589bc3a2d99cf49979af1d14751f35b7a1b", + name = "cu__cranelift-codegen-0.131.1", + sha256 = "27b61f95c5a211918f5d336254a61a488b36a5818de47a868e8c4658dce9cccc", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-codegen/0.129.1/download"], - strip_prefix = "cranelift-codegen-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-codegen/0.131.1/download"], + strip_prefix = "cranelift-codegen-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-codegen-meta-0.129.1", - sha256 = "235da0e52ee3a0052d0e944c3470ff025b1f4234f6ec4089d3109f2d2ffa6cbd", + name = "cu__cranelift-codegen-meta-0.131.1", + sha256 = "0b85aa822fce72080d041d7c2cf7c3f5c6ecdea7afae68379ba4ef85269c4fa5", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-codegen-meta/0.129.1/download"], - strip_prefix = "cranelift-codegen-meta-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-codegen-meta/0.131.1/download"], + strip_prefix = "cranelift-codegen-meta-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-codegen-shared-0.129.1", - sha256 = "20c07c6c440bd1bf920ff7597a1e743ede1f68dcd400730bd6d389effa7662af", + name = "cu__cranelift-codegen-shared-0.131.1", + sha256 = "833eb9fc89326cd072cc19e96892f09b5692c0dfe17cd4da2858ba30c2cd85c0", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-codegen-shared/0.129.1/download"], - strip_prefix = "cranelift-codegen-shared-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-codegen-shared/0.131.1/download"], + strip_prefix = "cranelift-codegen-shared-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-control-0.129.1", - sha256 = "8797c022e02521901e1aee483dea3ed3c67f2bf0a26405c9dd48e8ee7a70944b", + name = "cu__cranelift-control-0.131.1", + sha256 = "9d005320f487e6e8a3edcc7f2fd4f43fcc9946d1013bf206ea649789ac1617fc", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-control/0.129.1/download"], - strip_prefix = "cranelift-control-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-control/0.131.1/download"], + strip_prefix = "cranelift-control-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-entity-0.129.1", - sha256 = "59d8e72637246edd2cba337939850caa8b201f6315925ec4c156fdd089999699", + name = "cu__cranelift-entity-0.131.1", + sha256 = "5e62ef34c6e720f347a79ece043e8584e242d168911da640bac654a33a6aaaf5", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-entity/0.129.1/download"], - strip_prefix = "cranelift-entity-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-entity/0.131.1/download"], + strip_prefix = "cranelift-entity-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-frontend-0.129.1", - sha256 = "4c31db0085c3dfa131e739c3b26f9f9c84d69a9459627aac1ac4ef8355e3411b", + name = "cu__cranelift-frontend-0.131.1", + sha256 = "dfa2ad00399dd47e7e7e33cb1dc23b0e39ed9dcd01e8f026fc37af91655031b8", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-frontend/0.129.1/download"], - strip_prefix = "cranelift-frontend-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-frontend/0.131.1/download"], + strip_prefix = "cranelift-frontend-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-isle-0.129.1", - sha256 = "524d804c1ebd8c542e6f64e71aa36934cec17c5da4a9ae3799796220317f5d23", + name = "cu__cranelift-isle-0.131.1", + sha256 = "02c51975ed217b4e8e5a7fd11e9ec83a96104bdff311dddcb505d1d8a9fd7fc6", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-isle/0.129.1/download"], - strip_prefix = "cranelift-isle-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-isle/0.131.1/download"], + strip_prefix = "cranelift-isle-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-native-0.129.1", - sha256 = "dc9598f02540e382e1772416eba18e93c5275b746adbbf06ac1f3cf149415270", + name = "cu__cranelift-native-0.131.1", + sha256 = "f9b1889e00da9729d8f8525f3c12998ded86ea709058ff844ebe00b97548de0e", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-native/0.129.1/download"], - strip_prefix = "cranelift-native-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-native/0.131.1/download"], + strip_prefix = "cranelift-native-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.131.1.bazel"), ) maybe( http_archive, - name = "cu__cranelift-srcgen-0.129.1", - sha256 = "d953932541249c91e3fa70a75ff1e52adc62979a2a8132145d4b9b3e6d1a9b6a", + name = "cu__cranelift-srcgen-0.131.1", + sha256 = "d5a8f82fd5124f009f72167e60139245cd3b56cfd4b53050f22110c48c5f4da1", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-srcgen/0.129.1/download"], - strip_prefix = "cranelift-srcgen-0.129.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-srcgen-0.129.1.bazel"), + urls = ["https://static.crates.io/crates/cranelift-srcgen/0.131.1/download"], + strip_prefix = "cranelift-srcgen-0.131.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-srcgen-0.131.1.bazel"), ) maybe( @@ -670,6 +704,26 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.4.2.bazel"), ) + maybe( + http_archive, + name = "cu__crypto-common-0.1.7", + sha256 = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/crypto-common/0.1.7/download"], + strip_prefix = "crypto-common-0.1.7", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.crypto-common-0.1.7.bazel"), + ) + + maybe( + http_archive, + name = "cu__digest-0.10.7", + sha256 = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292", + type = "tar.gz", + urls = ["https://static.crates.io/crates/digest/0.10.7/download"], + strip_prefix = "digest-0.10.7", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.digest-0.10.7.bazel"), + ) + maybe( http_archive, name = "cu__either-1.13.0", @@ -742,32 +796,32 @@ def crate_repositories(): maybe( http_archive, - name = "cu__foldhash-0.1.5", - sha256 = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2", + name = "cu__foldhash-0.2.0", + sha256 = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb", type = "tar.gz", - urls = ["https://static.crates.io/crates/foldhash/0.1.5/download"], - strip_prefix = "foldhash-0.1.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.foldhash-0.1.5.bazel"), + urls = ["https://static.crates.io/crates/foldhash/0.2.0/download"], + strip_prefix = "foldhash-0.2.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.foldhash-0.2.0.bazel"), ) maybe( http_archive, - name = "cu__gimli-0.33.0", - sha256 = "0bf7f043f89559805f8c7cacc432749b2fa0d0a0a9ee46ce47164ed5ba7f126c", + name = "cu__generic-array-0.14.7", + sha256 = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a", type = "tar.gz", - urls = ["https://static.crates.io/crates/gimli/0.33.0/download"], - strip_prefix = "gimli-0.33.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.gimli-0.33.0.bazel"), + urls = ["https://static.crates.io/crates/generic-array/0.14.7/download"], + strip_prefix = "generic-array-0.14.7", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.generic-array-0.14.7.bazel"), ) maybe( http_archive, - name = "cu__hashbrown-0.15.5", - sha256 = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1", + name = "cu__gimli-0.33.0", + sha256 = "0bf7f043f89559805f8c7cacc432749b2fa0d0a0a9ee46ce47164ed5ba7f126c", type = "tar.gz", - urls = ["https://static.crates.io/crates/hashbrown/0.15.5/download"], - strip_prefix = "hashbrown-0.15.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.15.5.bazel"), + urls = ["https://static.crates.io/crates/gimli/0.33.0/download"], + strip_prefix = "gimli-0.33.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.gimli-0.33.0.bazel"), ) maybe( @@ -780,6 +834,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.16.1.bazel"), ) + maybe( + http_archive, + name = "cu__hashbrown-0.17.1", + sha256 = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/hashbrown/0.17.1/download"], + strip_prefix = "hashbrown-0.17.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.17.1.bazel"), + ) + maybe( http_archive, name = "cu__heck-0.5.0", @@ -792,12 +856,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__indexmap-2.13.0", - sha256 = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017", + name = "cu__indexmap-2.14.0", + sha256 = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9", type = "tar.gz", - urls = ["https://static.crates.io/crates/indexmap/2.13.0/download"], - strip_prefix = "indexmap-2.13.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.indexmap-2.13.0.bazel"), + urls = ["https://static.crates.io/crates/indexmap/2.14.0/download"], + strip_prefix = "indexmap-2.14.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.indexmap-2.14.0.bazel"), ) maybe( @@ -892,12 +956,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__object-0.37.3", - sha256 = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe", + name = "cu__object-0.39.1", + sha256 = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b", type = "tar.gz", - urls = ["https://static.crates.io/crates/object/0.37.3/download"], - strip_prefix = "object-0.37.3", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.object-0.37.3.bazel"), + urls = ["https://static.crates.io/crates/object/0.39.1/download"], + strip_prefix = "object-0.39.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.object-0.39.1.bazel"), ) maybe( @@ -942,22 +1006,22 @@ def crate_repositories(): maybe( http_archive, - name = "cu__pulley-interpreter-42.0.1", - sha256 = "bc2d61e068654529dc196437f8df0981db93687fdc67dec6a5de92363120b9da", + name = "cu__pulley-interpreter-44.0.1", + sha256 = "b9326e3a0093d170582cf64ed9e4cf253b8aac155ec4a294ff62330450bbf094", type = "tar.gz", - urls = ["https://static.crates.io/crates/pulley-interpreter/42.0.1/download"], - strip_prefix = "pulley-interpreter-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.pulley-interpreter-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/pulley-interpreter/44.0.1/download"], + strip_prefix = "pulley-interpreter-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.pulley-interpreter-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__pulley-macros-42.0.1", - sha256 = "c3f210c61b6ecfaebbba806b6d9113a222519d4e5cc4ab2d5ecca047bb7927ae", + name = "cu__pulley-macros-44.0.1", + sha256 = "00c6433917e3789605b1f4cd2a589f637ff17212344e7fa5ba99544625ba52c7", type = "tar.gz", - urls = ["https://static.crates.io/crates/pulley-macros/42.0.1/download"], - strip_prefix = "pulley-macros-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.pulley-macros-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/pulley-macros/44.0.1/download"], + strip_prefix = "pulley-macros-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.pulley-macros-44.0.1.bazel"), ) maybe( @@ -972,12 +1036,22 @@ def crate_repositories(): maybe( http_archive, - name = "cu__regalloc2-0.13.5", - sha256 = "08effbc1fa53aaebff69521a5c05640523fab037b34a4a2c109506bc938246fa", + name = "cu__regalloc2-0.15.1", + sha256 = "de2c52737737f8609e94f975dee22854a2d5c125772d4b1cf292120f4d45c186", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regalloc2/0.15.1/download"], + strip_prefix = "regalloc2-0.15.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.15.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustc-demangle-0.1.27", + sha256 = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d", type = "tar.gz", - urls = ["https://static.crates.io/crates/regalloc2/0.13.5/download"], - strip_prefix = "regalloc2-0.13.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.13.5.bazel"), + urls = ["https://static.crates.io/crates/rustc-demangle/0.1.27/download"], + strip_prefix = "rustc-demangle-0.1.27", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.27.bazel"), ) maybe( @@ -1040,6 +1114,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.228.bazel"), ) + maybe( + http_archive, + name = "cu__sha2-0.10.9", + sha256 = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283", + type = "tar.gz", + urls = ["https://static.crates.io/crates/sha2/0.10.9/download"], + strip_prefix = "sha2-0.10.9", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.sha2-0.10.9.bazel"), + ) + maybe( http_archive, name = "cu__shlex-1.3.0", @@ -1140,6 +1224,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tracing-core-0.1.36.bazel"), ) + maybe( + http_archive, + name = "cu__typenum-1.20.0", + sha256 = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de", + type = "tar.gz", + urls = ["https://static.crates.io/crates/typenum/1.20.0/download"], + strip_prefix = "typenum-1.20.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.typenum-1.20.0.bazel"), + ) + maybe( http_archive, name = "cu__unicode-ident-1.0.12", @@ -1152,152 +1246,162 @@ def crate_repositories(): maybe( http_archive, - name = "cu__wasm-encoder-0.244.0", - sha256 = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319", + name = "cu__version_check-0.9.5", + sha256 = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/version_check/0.9.5/download"], + strip_prefix = "version_check-0.9.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.version_check-0.9.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasm-encoder-0.246.2", + sha256 = "61fb705ce81adde29d2a8e99d87995e39a6e927358c91398f374474746070ef7", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasm-encoder/0.244.0/download"], - strip_prefix = "wasm-encoder-0.244.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasm-encoder-0.244.0.bazel"), + urls = ["https://static.crates.io/crates/wasm-encoder/0.246.2/download"], + strip_prefix = "wasm-encoder-0.246.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasm-encoder-0.246.2.bazel"), ) maybe( http_archive, - name = "cu__wasmparser-0.244.0", - sha256 = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe", + name = "cu__wasmparser-0.246.2", + sha256 = "71cde4757396defafd25417cfb36aa3161027d06d865b0c24baaae229aac005d", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmparser/0.244.0/download"], - strip_prefix = "wasmparser-0.244.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.244.0.bazel"), + urls = ["https://static.crates.io/crates/wasmparser/0.246.2/download"], + strip_prefix = "wasmparser-0.246.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.246.2.bazel"), ) maybe( http_archive, - name = "cu__wasmprinter-0.244.0", - sha256 = "09390d7b2bd7b938e563e4bff10aa345ef2e27a3bc99135697514ef54495e68f", + name = "cu__wasmprinter-0.246.2", + sha256 = "6e41f7493ba994b8a779430a4c25ff550fd5a40d291693af43a6ef48688f00e3", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmprinter/0.244.0/download"], - strip_prefix = "wasmprinter-0.244.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmprinter-0.244.0.bazel"), + urls = ["https://static.crates.io/crates/wasmprinter/0.246.2/download"], + strip_prefix = "wasmprinter-0.246.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmprinter-0.246.2.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-42.0.1", - sha256 = "39bef52be4fb4c5b47d36f847172e896bc94b35c9c6a6f07117686bd16ed89a7", + name = "cu__wasmtime-44.0.1", + sha256 = "372db8bbad8ec962038101f75ab2c3ffcd18797d7d3ae877a58ab9873cd0c4bd", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime/42.0.1/download"], - strip_prefix = "wasmtime-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime/44.0.1/download"], + strip_prefix = "wasmtime-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-c-api-impl-42.0.1", - sha256 = "f85b0e5730bc49481311862132c2e1f61bb13570ce104138dbe8a0c9fd5c2a33", + name = "cu__wasmtime-c-api-impl-44.0.1", + sha256 = "af63f5db854133f67cdec5faabff9db2764221968231c42fc18e8a9d63f849d5", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-c-api-impl/42.0.1/download"], - strip_prefix = "wasmtime-c-api-impl-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-impl-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-c-api-impl/44.0.1/download"], + strip_prefix = "wasmtime-c-api-impl-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-impl-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-environ-42.0.1", - sha256 = "bb637d5aa960ac391ca5a4cbf3e45807632e56beceeeb530e14dfa67fdfccc62", + name = "cu__wasmtime-environ-44.0.1", + sha256 = "1e15aa0d1545e48d9b25ca604e9e27b4cd6d5886d30ac5787b57b3a2daf85b57", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-environ/42.0.1/download"], - strip_prefix = "wasmtime-environ-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-environ/44.0.1/download"], + strip_prefix = "wasmtime-environ-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-c-api-macros-42.0.1", - sha256 = "6c513c5ff9db62195d5cad799eb4a9ff0e5471bf4b447bad27bfb365e100718d", + name = "cu__wasmtime-internal-c-api-macros-44.0.1", + sha256 = "5da86bdcaf6f4f20466b5093f0b3cc72fd013dee2a24f26af69ccd85d8524c17", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-c-api-macros/42.0.1/download"], - strip_prefix = "wasmtime-internal-c-api-macros-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-c-api-macros-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-c-api-macros/44.0.1/download"], + strip_prefix = "wasmtime-internal-c-api-macros-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-c-api-macros-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-core-42.0.1", - sha256 = "03a4a3f055a804a2f3d86e816a9df78a8fa57762212a8506164959224a40cd48", + name = "cu__wasmtime-internal-core-44.0.1", + sha256 = "8f2c7fa6523647262bfb4095dbdf4087accefe525813e783f81a0c682f418ce4", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-core/42.0.1/download"], - strip_prefix = "wasmtime-internal-core-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-core-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-core/44.0.1/download"], + strip_prefix = "wasmtime-internal-core-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-core-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-cranelift-42.0.1", - sha256 = "55154a91d22ad51f9551124ce7fb49ddddc6a82c4910813db4c790c97c9ccf32", + name = "cu__wasmtime-internal-cranelift-44.0.1", + sha256 = "98c032f422e39061dfc43f32190c0a3526b04161ec4867f362958f3fe9d1fe29", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-cranelift/42.0.1/download"], - strip_prefix = "wasmtime-internal-cranelift-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-cranelift-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-cranelift/44.0.1/download"], + strip_prefix = "wasmtime-internal-cranelift-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-cranelift-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-fiber-42.0.1", - sha256 = "05decfad1021ad2efcca5c1be9855acb54b6ee7158ac4467119b30b7481508e3", + name = "cu__wasmtime-internal-fiber-44.0.1", + sha256 = "d8dd76d80adf450cc260ba58f23c28030401930b19149695b1d121f7d621e791", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-fiber/42.0.1/download"], - strip_prefix = "wasmtime-internal-fiber-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-fiber-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-fiber/44.0.1/download"], + strip_prefix = "wasmtime-internal-fiber-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-fiber-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-jit-debug-42.0.1", - sha256 = "924980c50427885fd4feed2049b88380178e567768aaabf29045b02eb262eaa7", + name = "cu__wasmtime-internal-jit-debug-44.0.1", + sha256 = "ab453cc600b28ee5d3f9495aa6d4cb2c81eda40903e9287296b548fba8b2391d", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-jit-debug/42.0.1/download"], - strip_prefix = "wasmtime-internal-jit-debug-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-jit-debug-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-jit-debug/44.0.1/download"], + strip_prefix = "wasmtime-internal-jit-debug-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-jit-debug-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-jit-icache-coherence-42.0.1", - sha256 = "c57d24e8d1334a0e5a8b600286ffefa1fc4c3e8176b110dff6fbc1f43c4a599b", + name = "cu__wasmtime-internal-jit-icache-coherence-44.0.1", + sha256 = "6a1859e920871515d324fb9757c3e448d6ed1512ca6ccdff14b6e016505d6ada", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-jit-icache-coherence/42.0.1/download"], - strip_prefix = "wasmtime-internal-jit-icache-coherence-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-jit-icache-coherence-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-jit-icache-coherence/44.0.1/download"], + strip_prefix = "wasmtime-internal-jit-icache-coherence-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-jit-icache-coherence-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-unwinder-42.0.1", - sha256 = "3a1a144bd4393593a868ba9df09f34a6a360cb5db6e71815f20d3f649c6e6735", + name = "cu__wasmtime-internal-unwinder-44.0.1", + sha256 = "f1dfe405bd6adb1386d935a30f16a236bd4ef0d3c383e7cbbab98d063c9d9b73", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-unwinder/42.0.1/download"], - strip_prefix = "wasmtime-internal-unwinder-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-unwinder-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-unwinder/44.0.1/download"], + strip_prefix = "wasmtime-internal-unwinder-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-unwinder-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-versioned-export-macros-42.0.1", - sha256 = "9a6948b56bb00c62dbd205ea18a4f1ceccbe1e4b8479651fdb0bab2553790f20", + name = "cu__wasmtime-internal-versioned-export-macros-44.0.1", + sha256 = "2a9b9165fc45d42c81edfe3e9cb458e58720594ad5db6553c4079ea041a4a581", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-versioned-export-macros/42.0.1/download"], - strip_prefix = "wasmtime-internal-versioned-export-macros-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-versioned-export-macros-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-versioned-export-macros/44.0.1/download"], + strip_prefix = "wasmtime-internal-versioned-export-macros-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-versioned-export-macros-44.0.1.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-internal-winch-42.0.1", - sha256 = "9130b3ab6fb01be80b27b9a2c84817af29ae8224094f2503d2afa9fea5bf9d00", + name = "cu__wasmtime-internal-winch-44.0.1", + sha256 = "95f439b70ba3855a8c808d2cd798eef79bcd389f78aa48a8a694ea8e2904410c", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-internal-winch/42.0.1/download"], - strip_prefix = "wasmtime-internal-winch-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-winch-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-internal-winch/44.0.1/download"], + strip_prefix = "wasmtime-internal-winch-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-internal-winch-44.0.1.bazel"), ) maybe( @@ -1312,12 +1416,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__winch-codegen-42.0.1", - sha256 = "1977857998e4dd70d26e2bfc0618a9684a2fb65b1eca174dc13f3b3e9c2159ca", + name = "cu__winch-codegen-44.0.1", + sha256 = "6da7c536f3cfe5ff63537f795902fed56b8b5adcc7a87843a86dd8d4e57a7946", type = "tar.gz", - urls = ["https://static.crates.io/crates/winch-codegen/42.0.1/download"], - strip_prefix = "winch-codegen-42.0.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.winch-codegen-42.0.1.bazel"), + urls = ["https://static.crates.io/crates/winch-codegen/44.0.1/download"], + strip_prefix = "winch-codegen-44.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.winch-codegen-44.0.1.bazel"), ) maybe( @@ -1442,5 +1546,5 @@ def crate_repositories(): return [ struct(repo = "cu__log-0.4.29", is_dev_dep = False), - struct(repo = "cu__wasmtime-c-api-impl-42.0.1", is_dev_dep = False), + struct(repo = "cu__wasmtime-c-api-impl-44.0.1", is_dev_dep = False), ] diff --git a/bazel/external/prefixed_wasmtime.patch b/bazel/external/prefixed_wasmtime.patch index 20099aba2..792e0b6f5 100644 --- a/bazel/external/prefixed_wasmtime.patch +++ b/bazel/external/prefixed_wasmtime.patch @@ -1,6 +1,6 @@ -From 64044f8cb9481c2c5e7964340bcde448373f8274 Mon Sep 17 00:00:00 2001 +From 6bf35e0d3012fcf16ec1ad109e04ad83b208975e Mon Sep 17 00:00:00 2001 From: Matt Leon -Date: Thu, 12 Mar 2026 18:09:21 -0400 +Date: Mon, 18 May 2026 15:33:27 -0400 Subject: [PATCH] Prefix wasmtime API with wasmtime_ This patch is generated from the following commands: @@ -24,9 +24,9 @@ EOF Signed-off-by: Matt Leon --- crates/c-api/doxygen.conf.in | 2 +- - crates/c-api/include/doc-wasm.h | 842 +++++++++--------- + crates/c-api/include/doc-wasm.h | 880 +++++++++--------- crates/c-api/include/wasi.h | 2 +- - crates/c-api/include/wasm.h | 582 ++++++------ + crates/c-api/include/wasm.h | 594 ++++++------ crates/c-api/include/wasmtime/async.h | 12 +- .../include/wasmtime/component/component.h | 8 +- .../include/wasmtime/component/component.hh | 4 +- @@ -36,15 +36,17 @@ Signed-off-by: Matt Leon .../include/wasmtime/component/types/module.h | 12 +- crates/c-api/include/wasmtime/component/val.h | 10 +- .../c-api/include/wasmtime/component/val.hh | 20 +- - crates/c-api/include/wasmtime/config.h | 50 +- - crates/c-api/include/wasmtime/config.hh | 100 +-- + crates/c-api/include/wasmtime/config.h | 54 +- + crates/c-api/include/wasmtime/config.hh | 106 +-- crates/c-api/include/wasmtime/engine.h | 6 +- crates/c-api/include/wasmtime/engine.hh | 10 +- crates/c-api/include/wasmtime/error.h | 4 +- crates/c-api/include/wasmtime/error.hh | 4 +- + crates/c-api/include/wasmtime/exn.h | 2 +- crates/c-api/include/wasmtime/extern.h | 2 +- crates/c-api/include/wasmtime/func.h | 14 +- crates/c-api/include/wasmtime/func.hh | 8 +- + crates/c-api/include/wasmtime/gc.h | 4 +- crates/c-api/include/wasmtime/global.h | 4 +- crates/c-api/include/wasmtime/instance.h | 4 +- crates/c-api/include/wasmtime/instance.hh | 2 +- @@ -57,28 +59,31 @@ Signed-off-by: Matt Leon crates/c-api/include/wasmtime/sharedmemory.h | 6 +- crates/c-api/include/wasmtime/store.h | 2 +- crates/c-api/include/wasmtime/table.h | 4 +- + crates/c-api/include/wasmtime/tag.h | 4 +- crates/c-api/include/wasmtime/trap.h | 16 +- crates/c-api/include/wasmtime/trap.hh | 28 +- crates/c-api/include/wasmtime/types/export.hh | 18 +- - crates/c-api/include/wasmtime/types/extern.hh | 12 +- + crates/c-api/include/wasmtime/types/extern.hh | 14 +- crates/c-api/include/wasmtime/types/func.hh | 30 +- crates/c-api/include/wasmtime/types/global.hh | 24 +- crates/c-api/include/wasmtime/types/import.hh | 20 +- crates/c-api/include/wasmtime/types/memory.hh | 28 +- crates/c-api/include/wasmtime/types/table.hh | 34 +- + crates/c-api/include/wasmtime/types/tag.hh | 20 +- crates/c-api/include/wasmtime/types/val.hh | 26 +- crates/c-api/include/wasmtime/wat.h | 2 +- crates/c-api/include/wasmtime/wat.hh | 4 +- crates/c-api/src/async.rs | 30 +- - crates/c-api/src/component/component.rs | 14 +- + crates/c-api/src/component/component.rs | 20 +- crates/c-api/src/component/linker.rs | 4 +- crates/c-api/src/component/types/component.rs | 18 +- crates/c-api/src/component/types/instance.rs | 6 +- crates/c-api/src/component/types/module.rs | 18 +- crates/c-api/src/component/val.rs | 24 +- - crates/c-api/src/config.rs | 130 +-- + crates/c-api/src/config.rs | 134 +-- crates/c-api/src/engine.rs | 18 +- crates/c-api/src/error.rs | 6 +- + crates/c-api/src/exn.rs | 6 +- crates/c-api/src/extern.rs | 52 +- crates/c-api/src/func.rs | 124 +-- crates/c-api/src/global.rs | 48 +- @@ -91,26 +96,32 @@ Signed-off-by: Matt Leon crates/c-api/src/sharedmemory.rs | 8 +- crates/c-api/src/store.rs | 16 +- crates/c-api/src/table.rs | 74 +- + crates/c-api/src/tag.rs | 8 +- crates/c-api/src/trap.rs | 82 +- crates/c-api/src/types.rs | 4 +- crates/c-api/src/types/export.rs | 34 +- - crates/c-api/src/types/extern.rs | 88 +- - crates/c-api/src/types/func.rs | 50 +- + crates/c-api/src/types/extern.rs | 90 +- + crates/c-api/src/types/func.rs | 56 +- crates/c-api/src/types/global.rs | 50 +- crates/c-api/src/types/import.rs | 42 +- crates/c-api/src/types/memory.rs | 52 +- crates/c-api/src/types/table.rs | 44 +- + crates/c-api/src/types/tag.rs | 46 +- crates/c-api/src/types/val.rs | 28 +- crates/c-api/src/val.rs | 64 +- crates/c-api/src/vec.rs | 178 ++-- crates/c-api/src/wasi.rs | 2 +- crates/c-api/src/wat2wasm.rs | 4 +- + crates/c-api/tests/component/types.cc | 2 +- crates/c-api/tests/config.cc | 32 +- - src/lib.rs | 11 +- - 84 files changed, 1840 insertions(+), 1849 deletions(-) + crates/c-api/tests/exception.cc | 2 +- + crates/c-api/tests/gc.cc | 20 +- + crates/c-api/tests/tag_type.cc | 26 +- + src/lib.rs | 10 +- + 95 files changed, 1950 insertions(+), 1958 deletions(-) diff --git a/crates/c-api/doxygen.conf.in b/crates/c-api/doxygen.conf.in -index 6ee6fe7b74..c105985a8d 100644 +index 1c9f33a548..34ca261950 100644 --- a/crates/c-api/doxygen.conf.in +++ b/crates/c-api/doxygen.conf.in @@ -945,7 +945,7 @@ EXCLUDE_SYMBOLS = assertions \ @@ -123,7 +134,7 @@ index 6ee6fe7b74..c105985a8d 100644 CASE_KIND_PRINT_NAME \ CASE_KIND_TO_C \ diff --git a/crates/c-api/include/doc-wasm.h b/crates/c-api/include/doc-wasm.h -index d7911f0e9a..deade2c8c9 100644 +index 4a92d15d77..8cad7c8c57 100644 --- a/crates/c-api/include/doc-wasm.h +++ b/crates/c-api/include/doc-wasm.h @@ -52,7 +52,7 @@ @@ -269,8 +280,8 @@ index d7911f0e9a..deade2c8c9 100644 + * \fn wasmtime_wasm_name_new_empty * \brief Convenience alias * -- * \fn wasm_name_new_new_uninitialized -+ * \fn wasmtime_wasm_name_new_new_uninitialized +- * \fn wasm_name_new_uninitialized ++ * \fn wasmtime_wasm_name_new_uninitialized * \brief Convenience alias * - * \fn wasm_name_new_from_string @@ -777,12 +788,93 @@ index d7911f0e9a..deade2c8c9 100644 @@ -612,65 +612,65 @@ */ + /** +- * \struct wasm_tagtype_t ++ * \struct wasmtime_wasm_tagtype_t + * \brief An opaque object representing the type of a tag. + * +- * \typedef wasm_tagtype_t ++ * \typedef wasmtime_wasm_tagtype_t + * \brief Convenience alias for #wasm_tagtype_t + * +- * \struct wasm_tagtype_vec_t ++ * \struct wasmtime_wasm_tagtype_vec_t + * \brief A list of #wasm_tagtype_t values. + * +- * \var wasm_tagtype_vec_t::size ++ * \var wasmtime_wasm_tagtype_vec_t::size + * \brief Length of this vector. + * +- * \var wasm_tagtype_vec_t::data ++ * \var wasmtime_wasm_tagtype_vec_t::data + * \brief Pointer to the base of this vector + * +- * \typedef wasm_tagtype_vec_t ++ * \typedef wasmtime_wasm_tagtype_vec_t + * \brief Convenience alias for #wasm_tagtype_vec_t + * +- * \fn void wasm_tagtype_delete(wasm_tagtype_t *); ++ * \fn void wasmtime_wasm_tagtype_delete(wasmtime_wasm_tagtype_t *); + * \brief Deletes a type. + * +- * \fn void wasm_tagtype_vec_new_empty(wasm_tagtype_vec_t *out); ++ * \fn void wasmtime_wasm_tagtype_vec_new_empty(wasmtime_wasm_tagtype_vec_t *out); + * \brief Creates an empty vector. + * + * See #wasm_byte_vec_new_empty for more information. + * +- * \fn void wasm_tagtype_vec_new_uninitialized(wasm_tagtype_vec_t *out, size_t); ++ * \fn void wasmtime_wasm_tagtype_vec_new_uninitialized(wasmtime_wasm_tagtype_vec_t *out, size_t); + * \brief Creates a vector with the given capacity. + * + * See #wasm_byte_vec_new_uninitialized for more information. + * +- * \fn void wasm_tagtype_vec_new(wasm_tagtype_vec_t *out, size_t, wasm_tagtype_t *const[]); ++ * \fn void wasmtime_wasm_tagtype_vec_new(wasmtime_wasm_tagtype_vec_t *out, size_t, wasmtime_wasm_tagtype_t *const[]); + * \brief Creates a vector with the provided contents. + * + * See #wasm_byte_vec_new for more information. + * +- * \fn void wasm_tagtype_vec_copy(wasm_tagtype_vec_t *out, const wasm_tagtype_vec_t *) ++ * \fn void wasmtime_wasm_tagtype_vec_copy(wasmtime_wasm_tagtype_vec_t *out, const wasmtime_wasm_tagtype_vec_t *) + * \brief Copies one vector to another + * + * See #wasm_byte_vec_copy for more information. + * +- * \fn void wasm_tagtype_vec_delete(wasm_tagtype_vec_t *out) ++ * \fn void wasmtime_wasm_tagtype_vec_delete(wasmtime_wasm_tagtype_vec_t *out) + * \brief Deallocates memory for a vector. + * + * See #wasm_byte_vec_delete for more information. + * +- * \fn wasm_tagtype_t* wasm_tagtype_copy(const wasm_tagtype_t *) ++ * \fn wasmtime_wasm_tagtype_t* wasmtime_wasm_tagtype_copy(const wasmtime_wasm_tagtype_t *) + * \brief Creates a new value which matches the provided one. + * + * The caller is responsible for deleting the returned value. + * +- * \fn wasm_tagtype_t* wasm_tagtype_new(wasm_functype_t *) ++ * \fn wasmtime_wasm_tagtype_t* wasmtime_wasm_tagtype_new(wasmtime_wasm_functype_t *) + * \brief Creates a new tag type. + * + * This function takes ownership of the #wasm_functype_t argument. + * + * The caller is responsible for deallocating the returned type. + * +- * \fn const wasm_functype_t* wasm_tagtype_functype(const wasm_tagtype_t *); ++ * \fn const wasmtime_wasm_functype_t* wasmtime_wasm_tagtype_functype(const wasmtime_wasm_tagtype_t *); + * \brief Returns the function type of this tag type. + * + * The returned #wasm_functype_t is owned by the #wasm_tagtype_t parameter, the +@@ -678,65 +678,65 @@ + */ + /** - * \struct wasm_externtype_t + * \struct wasmtime_wasm_externtype_t * \brief An opaque object representing the type of a external value. Can be * seen as a superclass of #wasm_functype_t, #wasm_tabletype_t, - * #wasm_globaltype_t, and #wasm_memorytype_t. + * #wasm_globaltype_t, #wasm_memorytype_t, and #wasm_tagtype_t. * - * \typedef wasm_externtype_t + * \typedef wasmtime_wasm_externtype_t @@ -855,7 +947,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Classifier for #wasm_externtype_t * * This is returned from #wasm_extern_kind and #wasm_externtype_kind to -@@ -678,104 +678,104 @@ +@@ -759,130 +759,130 @@ */ /** @@ -887,6 +979,13 @@ index d7911f0e9a..deade2c8c9 100644 * The returned value is owned by the #wasm_memorytype_t argument and should not * be deleted. * +- * \fn wasm_externtype_t* wasm_tagtype_as_externtype(wasm_tagtype_t *) ++ * \fn wasmtime_wasm_externtype_t* wasmtime_wasm_tagtype_as_externtype(wasmtime_wasm_tagtype_t *) + * \brief Converts a #wasm_tagtype_t to a #wasm_externtype_t + * + * The returned value is owned by the #wasm_tagtype_t argument and should not + * be deleted. + * - * \fn const wasm_externtype_t* wasm_functype_as_externtype_const(const wasm_functype_t *) + * \fn const wasmtime_wasm_externtype_t* wasmtime_wasm_functype_as_externtype_const(const wasmtime_wasm_functype_t *) * \brief Converts a #wasm_functype_t to a #wasm_externtype_t @@ -915,6 +1014,13 @@ index d7911f0e9a..deade2c8c9 100644 * The returned value is owned by the #wasm_memorytype_t argument and should not * be deleted. * +- * \fn const wasm_externtype_t* wasm_tagtype_as_externtype_const(const wasm_tagtype_t *) ++ * \fn const wasmtime_wasm_externtype_t* wasmtime_wasm_tagtype_as_externtype_const(const wasmtime_wasm_tagtype_t *) + * \brief Converts a #wasm_tagtype_t to a #wasm_externtype_t + * + * The returned value is owned by the #wasm_tagtype_t argument and should not + * be deleted. + * - * \fn wasm_functype_t* wasm_externtype_as_functype(wasm_externtype_t *) + * \fn wasmtime_wasm_functype_t* wasmtime_wasm_externtype_as_functype(wasmtime_wasm_externtype_t *) * \brief Attempts to convert a #wasm_externtype_t to a #wasm_functype_t @@ -939,6 +1045,14 @@ index d7911f0e9a..deade2c8c9 100644 * be deleted. Returns `NULL` if the provided argument is not a * #wasm_memorytype_t. * +- * \fn wasm_tagtype_t* wasm_externtype_as_tagtype(wasm_externtype_t *) ++ * \fn wasmtime_wasm_tagtype_t* wasmtime_wasm_externtype_as_tagtype(wasmtime_wasm_externtype_t *) + * \brief Attempts to convert a #wasm_externtype_t to a #wasm_tagtype_t + * + * The returned value is owned by the #wasm_tagtype_t argument and should not + * be deleted. Returns `NULL` if the provided argument is not a + * #wasm_tagtype_t. + * - * \fn wasm_globaltype_t* wasm_externtype_as_globaltype(wasm_externtype_t *) + * \fn wasmtime_wasm_globaltype_t* wasmtime_wasm_externtype_as_globaltype(wasmtime_wasm_externtype_t *) * \brief Attempts to convert a #wasm_externtype_t to a #wasm_globaltype_t @@ -971,12 +1085,20 @@ index d7911f0e9a..deade2c8c9 100644 * be deleted. Returns `NULL` if the provided argument is not a * #wasm_memorytype_t. * +- * \fn const wasm_tagtype_t* wasm_externtype_as_tagtype_const(const wasm_externtype_t *) ++ * \fn const wasmtime_wasm_tagtype_t* wasmtime_wasm_externtype_as_tagtype_const(const wasmtime_wasm_externtype_t *) + * \brief Attempts to convert a #wasm_externtype_t to a #wasm_tagtype_t + * + * The returned value is owned by the #wasm_tagtype_t argument and should not + * be deleted. Returns `NULL` if the provided argument is not a + * #wasm_tagtype_t. + * - * \fn const wasm_globaltype_t* wasm_externtype_as_globaltype_const(const wasm_externtype_t *) + * \fn const wasmtime_wasm_globaltype_t* wasmtime_wasm_externtype_as_globaltype_const(const wasmtime_wasm_externtype_t *) * \brief Attempts to convert a #wasm_externtype_t to a #wasm_globaltype_t * * The returned value is owned by the #wasm_globaltype_t argument and should not -@@ -784,58 +784,58 @@ +@@ -891,58 +891,58 @@ */ /** @@ -1049,7 +1171,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Creates a new import type. * * This function takes ownership of the `module`, `name`, and -@@ -843,13 +843,13 @@ +@@ -950,13 +950,13 @@ * returned value. Note that `name` can be `NULL` where in the module linking * proposal the import name can be omitted. * @@ -1065,7 +1187,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the name this import is importing from. * * The returned memory is owned by the #wasm_importtype_t argument, the caller -@@ -857,7 +857,7 @@ +@@ -964,7 +964,7 @@ * that the import name is not provided. This is for imports with the module * linking proposal that only have the module specified. * @@ -1074,7 +1196,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the type of item this import is importing. * * The returned memory is owned by the #wasm_importtype_t argument, the caller -@@ -865,71 +865,71 @@ +@@ -972,71 +972,71 @@ */ /** @@ -1162,7 +1284,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the type of this export. * * The returned memory is owned by the #wasm_exporttype_t argument, the caller -@@ -937,7 +937,7 @@ +@@ -1044,7 +1044,7 @@ */ /** @@ -1171,7 +1293,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Representation of a WebAssembly value. * * Note that this structure is intended to represent the way to communicate -@@ -948,78 +948,78 @@ +@@ -1055,78 +1055,78 @@ * #wasm_val_delete function does not delete the memory holding the #wasm_val_t * itself, but only the memory pointed to by #wasm_val_t. * @@ -1269,7 +1391,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Copies a #wasm_val_t to a new one. * * The second argument to this function is copied to the first. The caller is -@@ -1029,142 +1029,142 @@ +@@ -1136,142 +1136,142 @@ */ /** @@ -1450,7 +1572,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Creates a new #wasm_trap_t with the provided message. * * This function will create a new trap within the given #wasm_store_t with the -@@ -1178,20 +1178,20 @@ +@@ -1285,20 +1285,20 @@ * * The caller is responsible for deallocating the trap returned. * @@ -1474,7 +1596,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the trace of wasm frames for this trap. * * The caller is responsible for deallocating the returned list of frames. -@@ -1201,103 +1201,103 @@ +@@ -1308,103 +1308,103 @@ */ /** @@ -1608,7 +1730,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Creates a shareable module from the provided module. * * > Note that this API is not necessary in Wasmtime because #wasm_module_t can -@@ -1306,7 +1306,7 @@ +@@ -1413,7 +1413,7 @@ * This function does not take ownership of the argument, but the caller is * expected to deallocate the returned #wasm_shared_module_t. * @@ -1617,7 +1739,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Attempts to create a #wasm_module_t from the shareable module. * * > Note that this API is not necessary in Wasmtime because #wasm_module_t can -@@ -1318,7 +1318,7 @@ +@@ -1425,7 +1425,7 @@ * This function may fail if the engines associated with the #wasm_store_t or * #wasm_shared_module_t are different. * @@ -1626,7 +1748,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Compiles a raw WebAssembly binary to a #wasm_module_t. * * This function will validate and compile the provided binary. The returned -@@ -1330,14 +1330,14 @@ +@@ -1437,14 +1437,14 @@ * This function may fail if the provided binary is not a WebAssembly binary or * if it does not pass validation. In these cases this function returns `NULL`. * @@ -1643,7 +1765,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the list of imports that this module expects. * * The list of imports returned are the types of items expected to be passed to -@@ -1348,7 +1348,7 @@ +@@ -1455,7 +1455,7 @@ * `out` is passed to the caller. Note that `out` is treated as uninitialized * when passed to this function. * @@ -1652,7 +1774,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the list of exports that this module provides. * * The list of exports returned are in the same order as the items returned by -@@ -1358,14 +1358,14 @@ +@@ -1465,14 +1465,14 @@ * of `out` is passed to the caller. Note that `out` is treated as * uninitialized when passed to this function. * @@ -1669,7 +1791,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Deserializes a previously-serialized module. * * The input bytes must have been created from a previous call to -@@ -1373,13 +1373,13 @@ +@@ -1480,13 +1480,13 @@ */ /** @@ -1686,7 +1808,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Type definition for functions passed to #wasm_func_new. * * This is the type signature of a host function created with #wasm_func_new. -@@ -1397,49 +1397,49 @@ +@@ -1504,49 +1504,49 @@ * Ownership of the results and the trap returned, if any, is passed to the * caller of this function. * @@ -1749,7 +1871,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Creates a new WebAssembly function with host functionality. * * This function creates a new #wasm_func_t from a host-provided function. The -@@ -1449,10 +1449,10 @@ +@@ -1556,10 +1556,10 @@ * The returned #wasm_func_t is expected to be deleted by the caller. This * function does not take ownership of its arguments. * @@ -1764,7 +1886,7 @@ index d7911f0e9a..deade2c8c9 100644 * void *env, * void (*finalizer)(void *)); * \brief Creates a new WebAssembly function with host functionality. -@@ -1469,18 +1469,18 @@ +@@ -1576,18 +1576,18 @@ * deallocated automatically by calling `finalizer`). This function yields * ownership of the returned #wasm_func_t to the caller. * @@ -1787,7 +1909,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Calls the provided function with the arguments given. * * This function is used to call WebAssembly from the host. The parameter array -@@ -1504,48 +1504,48 @@ +@@ -1611,48 +1611,48 @@ */ /** @@ -1850,7 +1972,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Creates a new WebAssembly global. * * This function is used to create a wasm global from the host, typically to -@@ -1560,18 +1560,18 @@ +@@ -1667,18 +1667,18 @@ * This function does not take ownership of any of its arguments. The caller is * expected to deallocate the returned value. * @@ -1872,7 +1994,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Sets the value of this global. * * This function will set the value of a global to a new value. This function -@@ -1583,51 +1583,51 @@ +@@ -1690,51 +1690,51 @@ */ /** @@ -1939,7 +2061,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Creates a new WebAssembly table. * * Creates a new host-defined table of values. This table has the type provided -@@ -1638,12 +1638,12 @@ +@@ -1745,12 +1745,12 @@ * * Does not take ownship of the `init` value. * @@ -1954,7 +2076,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Gets an element from this table. * * Attempts to get a value at an index in this table. This function returns -@@ -1651,7 +1651,7 @@ +@@ -1758,7 +1758,7 @@ * * Gives ownership of the resulting `wasm_ref_t*`. * @@ -1963,7 +2085,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Sets an element in this table. * * Attempts to set a value at an index in this table. This function does nothing -@@ -1663,10 +1663,10 @@ +@@ -1770,10 +1770,10 @@ * * Does not take ownership of the given `wasm_ref_t*`. * @@ -1976,7 +2098,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Attempts to grow this table by `delta` elements. * * This function will grow the table by `delta` elements, initializing all new -@@ -1683,72 +1683,72 @@ +@@ -1790,72 +1790,72 @@ */ /** @@ -2069,7 +2191,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Attempts to grow this memory by `delta` wasm pages. * * This function is similar to the `memory.grow` instruction in wasm itself. It -@@ -1757,151 +1757,151 @@ +@@ -1864,151 +1864,151 @@ */ /** @@ -2254,7 +2376,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_func_t. * * The returned #wasm_func_t is owned by the #wasm_extern_t argument. Callers -@@ -1910,7 +1910,7 @@ +@@ -2017,7 +2017,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_func_t then `NULL` is returned. * @@ -2263,7 +2385,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_table_t. * * The returned #wasm_table_t is owned by the #wasm_extern_t argument. Callers -@@ -1919,7 +1919,7 @@ +@@ -2026,7 +2026,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_table_t then `NULL` is returned. * @@ -2272,7 +2394,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_memory_t. * * The returned #wasm_memory_t is owned by the #wasm_extern_t argument. Callers -@@ -1928,7 +1928,7 @@ +@@ -2035,7 +2035,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_memory_t then `NULL` is returned. * @@ -2281,7 +2403,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_global_t. * * The returned #wasm_global_t is owned by the #wasm_extern_t argument. Callers -@@ -1937,7 +1937,7 @@ +@@ -2044,7 +2044,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_global_t then `NULL` is returned. * @@ -2290,7 +2412,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_func_t. * * The returned #wasm_func_t is owned by the #wasm_extern_t argument. Callers -@@ -1946,7 +1946,7 @@ +@@ -2053,7 +2053,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_func_t then `NULL` is returned. * @@ -2299,7 +2421,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_table_t. * * The returned #wasm_table_t is owned by the #wasm_extern_t argument. Callers -@@ -1955,7 +1955,7 @@ +@@ -2062,7 +2062,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_table_t then `NULL` is returned. * @@ -2308,7 +2430,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_memory_t. * * The returned #wasm_memory_t is owned by the #wasm_extern_t argument. Callers -@@ -1964,7 +1964,7 @@ +@@ -2071,7 +2071,7 @@ * * If the #wasm_extern_t argument isn't a #wasm_memory_t then `NULL` is returned. * @@ -2317,7 +2439,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Converts a #wasm_extern_t to #wasm_global_t. * * The returned #wasm_global_t is owned by the #wasm_extern_t argument. Callers -@@ -1975,48 +1975,48 @@ +@@ -2082,48 +2082,48 @@ */ /** @@ -2380,7 +2502,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Instantiates a module with the provided imports. * * This function will instantiate the provided #wasm_module_t into the provided -@@ -2035,7 +2035,7 @@ +@@ -2142,7 +2142,7 @@ * This function does not take ownership of any of its arguments, and the * returned #wasm_instance_t and #wasm_trap_t are owned by the caller. * @@ -2389,7 +2511,7 @@ index d7911f0e9a..deade2c8c9 100644 * \brief Returns the exports of an instance. * * This function returns a list of #wasm_extern_t values, which will be owned by -@@ -2052,20 +2052,20 @@ +@@ -2159,20 +2159,20 @@ * \brief Used to initialize a vector type from a C array. * * \def WASM_I32_VAL @@ -2430,7 +2552,7 @@ index 5f341dee67..7787eb74f2 100644 /** * \brief Configures this process's own stdin stream to be used as stdin for diff --git a/crates/c-api/include/wasm.h b/crates/c-api/include/wasm.h -index c8b3cb7d31..11941904f6 100644 +index dc43a26a42..0f957ad1ea 100644 --- a/crates/c-api/include/wasm.h +++ b/crates/c-api/include/wasm.h @@ -52,9 +52,9 @@ typedef double float64_t; @@ -2507,13 +2629,13 @@ index c8b3cb7d31..11941904f6 100644 -#define wasm_name wasm_byte_vec -#define wasm_name_new wasm_byte_vec_new -#define wasm_name_new_empty wasm_byte_vec_new_empty --#define wasm_name_new_new_uninitialized wasm_byte_vec_new_uninitialized +-#define wasm_name_new_uninitialized wasm_byte_vec_new_uninitialized -#define wasm_name_copy wasm_byte_vec_copy -#define wasm_name_delete wasm_byte_vec_delete +#define wasmtime_wasm_name wasmtime_wasm_byte_vec +#define wasmtime_wasm_name_new wasmtime_wasm_byte_vec_new +#define wasmtime_wasm_name_new_empty wasmtime_wasm_byte_vec_new_empty -+#define wasmtime_wasm_name_new_new_uninitialized wasmtime_wasm_byte_vec_new_uninitialized ++#define wasmtime_wasm_name_new_uninitialized wasmtime_wasm_byte_vec_new_uninitialized +#define wasmtime_wasm_name_copy wasmtime_wasm_byte_vec_copy +#define wasmtime_wasm_name_delete wasmtime_wasm_byte_vec_delete @@ -2638,7 +2760,7 @@ index c8b3cb7d31..11941904f6 100644 } -@@ -215,100 +215,100 @@ static inline bool wasm_valtype_is_ref(const wasm_valtype_t* t) { +@@ -215,59 +215,59 @@ static inline bool wasm_valtype_is_ref(const wasm_valtype_t* t) { WASM_DECLARE_TYPE(functype) @@ -2694,6 +2816,17 @@ index c8b3cb7d31..11941904f6 100644 +WASM_API_EXTERN const wasmtime_wasm_limits_t* wasmtime_wasm_memorytype_limits(const wasmtime_wasm_memorytype_t*); + // Tag Types + + WASM_DECLARE_TYPE(tagtype) + +-WASM_API_EXTERN own wasm_tagtype_t* wasm_tagtype_new(own wasm_functype_t*); ++WASM_API_EXTERN own wasmtime_wasm_tagtype_t* wasmtime_wasm_tagtype_new(own wasmtime_wasm_functype_t*); + +-WASM_API_EXTERN const wasm_functype_t* wasm_tagtype_functype(const wasm_tagtype_t*); ++WASM_API_EXTERN const wasmtime_wasm_functype_t* wasmtime_wasm_tagtype_functype(const wasmtime_wasm_tagtype_t*); + + // Extern Types WASM_DECLARE_TYPE(externtype) @@ -2705,7 +2838,8 @@ index c8b3cb7d31..11941904f6 100644 WASM_EXTERN_FUNC, WASM_EXTERN_GLOBAL, WASM_EXTERN_TABLE, - WASM_EXTERN_MEMORY, +@@ -275,54 +275,54 @@ enum wasm_externkind_enum { + WASM_EXTERN_TAG, }; -WASM_API_EXTERN wasm_externkind_t wasm_externtype_kind(const wasm_externtype_t*); @@ -2715,37 +2849,45 @@ index c8b3cb7d31..11941904f6 100644 -WASM_API_EXTERN wasm_externtype_t* wasm_globaltype_as_externtype(wasm_globaltype_t*); -WASM_API_EXTERN wasm_externtype_t* wasm_tabletype_as_externtype(wasm_tabletype_t*); -WASM_API_EXTERN wasm_externtype_t* wasm_memorytype_as_externtype(wasm_memorytype_t*); +-WASM_API_EXTERN wasm_externtype_t* wasm_tagtype_as_externtype(wasm_tagtype_t*); +WASM_API_EXTERN wasmtime_wasm_externtype_t* wasmtime_wasm_functype_as_externtype(wasmtime_wasm_functype_t*); +WASM_API_EXTERN wasmtime_wasm_externtype_t* wasmtime_wasm_globaltype_as_externtype(wasmtime_wasm_globaltype_t*); +WASM_API_EXTERN wasmtime_wasm_externtype_t* wasmtime_wasm_tabletype_as_externtype(wasmtime_wasm_tabletype_t*); +WASM_API_EXTERN wasmtime_wasm_externtype_t* wasmtime_wasm_memorytype_as_externtype(wasmtime_wasm_memorytype_t*); ++WASM_API_EXTERN wasmtime_wasm_externtype_t* wasmtime_wasm_tagtype_as_externtype(wasmtime_wasm_tagtype_t*); -WASM_API_EXTERN wasm_functype_t* wasm_externtype_as_functype(wasm_externtype_t*); -WASM_API_EXTERN wasm_globaltype_t* wasm_externtype_as_globaltype(wasm_externtype_t*); -WASM_API_EXTERN wasm_tabletype_t* wasm_externtype_as_tabletype(wasm_externtype_t*); -WASM_API_EXTERN wasm_memorytype_t* wasm_externtype_as_memorytype(wasm_externtype_t*); +-WASM_API_EXTERN wasm_tagtype_t* wasm_externtype_as_tagtype(wasm_externtype_t*); +WASM_API_EXTERN wasmtime_wasm_functype_t* wasmtime_wasm_externtype_as_functype(wasmtime_wasm_externtype_t*); +WASM_API_EXTERN wasmtime_wasm_globaltype_t* wasmtime_wasm_externtype_as_globaltype(wasmtime_wasm_externtype_t*); +WASM_API_EXTERN wasmtime_wasm_tabletype_t* wasmtime_wasm_externtype_as_tabletype(wasmtime_wasm_externtype_t*); +WASM_API_EXTERN wasmtime_wasm_memorytype_t* wasmtime_wasm_externtype_as_memorytype(wasmtime_wasm_externtype_t*); ++WASM_API_EXTERN wasmtime_wasm_tagtype_t* wasmtime_wasm_externtype_as_tagtype(wasmtime_wasm_externtype_t*); -WASM_API_EXTERN const wasm_externtype_t* wasm_functype_as_externtype_const(const wasm_functype_t*); -WASM_API_EXTERN const wasm_externtype_t* wasm_globaltype_as_externtype_const(const wasm_globaltype_t*); -WASM_API_EXTERN const wasm_externtype_t* wasm_tabletype_as_externtype_const(const wasm_tabletype_t*); -WASM_API_EXTERN const wasm_externtype_t* wasm_memorytype_as_externtype_const(const wasm_memorytype_t*); +-WASM_API_EXTERN const wasm_externtype_t* wasm_tagtype_as_externtype_const(const wasm_tagtype_t*); +WASM_API_EXTERN const wasmtime_wasm_externtype_t* wasmtime_wasm_functype_as_externtype_const(const wasmtime_wasm_functype_t*); +WASM_API_EXTERN const wasmtime_wasm_externtype_t* wasmtime_wasm_globaltype_as_externtype_const(const wasmtime_wasm_globaltype_t*); +WASM_API_EXTERN const wasmtime_wasm_externtype_t* wasmtime_wasm_tabletype_as_externtype_const(const wasmtime_wasm_tabletype_t*); +WASM_API_EXTERN const wasmtime_wasm_externtype_t* wasmtime_wasm_memorytype_as_externtype_const(const wasmtime_wasm_memorytype_t*); ++WASM_API_EXTERN const wasmtime_wasm_externtype_t* wasmtime_wasm_tagtype_as_externtype_const(const wasmtime_wasm_tagtype_t*); -WASM_API_EXTERN const wasm_functype_t* wasm_externtype_as_functype_const(const wasm_externtype_t*); -WASM_API_EXTERN const wasm_globaltype_t* wasm_externtype_as_globaltype_const(const wasm_externtype_t*); -WASM_API_EXTERN const wasm_tabletype_t* wasm_externtype_as_tabletype_const(const wasm_externtype_t*); -WASM_API_EXTERN const wasm_memorytype_t* wasm_externtype_as_memorytype_const(const wasm_externtype_t*); +-WASM_API_EXTERN const wasm_tagtype_t* wasm_externtype_as_tagtype_const(const wasm_externtype_t*); +WASM_API_EXTERN const wasmtime_wasm_functype_t* wasmtime_wasm_externtype_as_functype_const(const wasmtime_wasm_externtype_t*); +WASM_API_EXTERN const wasmtime_wasm_globaltype_t* wasmtime_wasm_externtype_as_globaltype_const(const wasmtime_wasm_externtype_t*); +WASM_API_EXTERN const wasmtime_wasm_tabletype_t* wasmtime_wasm_externtype_as_tabletype_const(const wasmtime_wasm_externtype_t*); +WASM_API_EXTERN const wasmtime_wasm_memorytype_t* wasmtime_wasm_externtype_as_memorytype_const(const wasmtime_wasm_externtype_t*); ++WASM_API_EXTERN const wasmtime_wasm_tagtype_t* wasmtime_wasm_externtype_as_tagtype_const(const wasmtime_wasm_externtype_t*); // Import Types @@ -2781,7 +2923,7 @@ index c8b3cb7d31..11941904f6 100644 /////////////////////////////////////////////////////////////////////////////// -@@ -316,21 +316,21 @@ WASM_API_EXTERN const wasm_externtype_t* wasm_exporttype_type(const wasm_exportt +@@ -330,21 +330,21 @@ WASM_API_EXTERN const wasm_externtype_t* wasm_exporttype_type(const wasm_exportt // Values @@ -2810,7 +2952,7 @@ index c8b3cb7d31..11941904f6 100644 WASM_DECLARE_VEC(val, ) -@@ -340,28 +340,28 @@ WASM_DECLARE_VEC(val, ) +@@ -354,28 +354,28 @@ WASM_DECLARE_VEC(val, ) #define WASM_DECLARE_REF_BASE(name) \ WASM_DECLARE_OWN(name) \ \ @@ -2851,7 +2993,7 @@ index c8b3cb7d31..11941904f6 100644 WASM_DECLARE_REF_BASE(ref) -@@ -371,121 +371,121 @@ WASM_DECLARE_REF_BASE(ref) +@@ -385,121 +385,121 @@ WASM_DECLARE_REF_BASE(ref) WASM_DECLARE_OWN(frame) WASM_DECLARE_VEC(frame, *) @@ -3024,7 +3166,7 @@ index c8b3cb7d31..11941904f6 100644 // Externals -@@ -493,40 +493,40 @@ WASM_API_EXTERN bool wasm_memory_grow(wasm_memory_t*, wasm_memory_pages_t delta) +@@ -507,40 +507,40 @@ WASM_API_EXTERN bool wasm_memory_grow(wasm_memory_t*, wasm_memory_pages_t delta) WASM_DECLARE_REF(extern) WASM_DECLARE_VEC(extern, *) @@ -3087,7 +3229,7 @@ index c8b3cb7d31..11941904f6 100644 /////////////////////////////////////////////////////////////////////////////// -@@ -540,159 +540,159 @@ WASM_API_EXTERN void wasm_instance_exports(const wasm_instance_t*, own wasm_exte +@@ -554,159 +554,159 @@ WASM_API_EXTERN void wasm_instance_exports(const wasm_instance_t*, own wasm_exte // Value Type construction short-hands @@ -3351,7 +3493,7 @@ index c8b3cb7d31..11941904f6 100644 #if UINTPTR_MAX == UINT32_MAX out->kind = WASM_I32; out->of.i32 = (intptr_t)p; -@@ -702,7 +702,7 @@ static inline void wasm_val_init_ptr(own wasm_val_t* out, void* p) { +@@ -716,7 +716,7 @@ static inline void wasm_val_init_ptr(own wasm_val_t* out, void* p) { #endif } @@ -3459,10 +3601,10 @@ index de22e7fd2b..c560902e2d 100644 wasmtime_component_t **component_out); diff --git a/crates/c-api/include/wasmtime/component/component.hh b/crates/c-api/include/wasmtime/component/component.hh -index 0463516d19..80ca585abf 100644 +index 10df55abb0..caa29f6314 100644 --- a/crates/c-api/include/wasmtime/component/component.hh +++ b/crates/c-api/include/wasmtime/component/component.hh -@@ -130,7 +130,7 @@ class Component { +@@ -133,7 +133,7 @@ class Component { * quickly recreate this component in a different process perhaps. */ Result> serialize() const { @@ -3471,7 +3613,7 @@ index 0463516d19..80ca585abf 100644 auto *error = wasmtime_component_serialize(ptr.get(), &bytes); if (error != nullptr) { return Error(error); -@@ -138,7 +138,7 @@ class Component { +@@ -141,7 +141,7 @@ class Component { std::vector ret; Span raw(reinterpret_cast(bytes.data), bytes.size); ret.assign(raw.begin(), raw.end()); @@ -3481,7 +3623,7 @@ index 0463516d19..80ca585abf 100644 } #endif // WASMTIME_FEATURE_COMPILER diff --git a/crates/c-api/include/wasmtime/component/linker.h b/crates/c-api/include/wasmtime/component/linker.h -index 5a125f655f..cab5e8aa66 100644 +index 117acdcc2a..feb1347d06 100644 --- a/crates/c-api/include/wasmtime/component/linker.h +++ b/crates/c-api/include/wasmtime/component/linker.h @@ -33,7 +33,7 @@ typedef struct wasmtime_component_linker_instance_t @@ -3632,18 +3774,19 @@ index 117d9a413d..eec580848a 100644 #ifdef __cplusplus } // extern "C" diff --git a/crates/c-api/include/wasmtime/component/val.h b/crates/c-api/include/wasmtime/component/val.h -index 2021651273..746eb1a92f 100644 +index c6a31469f7..bcdc507233 100644 --- a/crates/c-api/include/wasmtime/component/val.h +++ b/crates/c-api/include/wasmtime/component/val.h -@@ -295,14 +295,14 @@ DECLARE_VEC(wasmtime_component_vallist, struct wasmtime_component_val) +@@ -299,7 +299,7 @@ DECLARE_VEC(wasmtime_component_vallist, struct wasmtime_component_val) DECLARE_VEC(wasmtime_component_valrecord, struct wasmtime_component_valrecord_entry) DECLARE_VEC(wasmtime_component_valtuple, struct wasmtime_component_val) -DECLARE_VEC(wasmtime_component_valflags, wasm_name_t) +DECLARE_VEC(wasmtime_component_valflags, wasmtime_wasm_name_t) + DECLARE_VEC(wasmtime_component_valmap, struct wasmtime_component_valmap_entry) #undef DECLARE_VEC - +@@ -307,7 +307,7 @@ DECLARE_VEC(wasmtime_component_valmap, struct wasmtime_component_valmap_entry) /// Represents a variant type typedef struct { /// The discriminant of the variant @@ -3652,7 +3795,7 @@ index 2021651273..746eb1a92f 100644 /// The payload of the variant struct wasmtime_component_val *val; } wasmtime_component_valvariant_t; -@@ -345,7 +345,7 @@ typedef union { +@@ -350,7 +350,7 @@ typedef union { uint32_t character; /// Field used if #wasmtime_component_val_t::kind is /// #WASMTIME_COMPONENT_STRING @@ -3661,7 +3804,7 @@ index 2021651273..746eb1a92f 100644 /// Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_LIST wasmtime_component_vallist_t list; /// Field used if #wasmtime_component_val_t::kind is -@@ -357,7 +357,7 @@ typedef union { +@@ -362,7 +362,7 @@ typedef union { /// #WASMTIME_COMPONENT_VARIANT wasmtime_component_valvariant_t variant; /// Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_ENUM @@ -3670,7 +3813,7 @@ index 2021651273..746eb1a92f 100644 /// Field used if #wasmtime_component_val_t::kind is /// #WASMTIME_COMPONENT_OPTION struct wasmtime_component_val *option; -@@ -384,7 +384,7 @@ typedef struct wasmtime_component_val { +@@ -391,7 +391,7 @@ typedef struct wasmtime_component_val { /// with kind #WASMTIME_COMPONENT_RECORD typedef struct wasmtime_component_valrecord_entry { /// The name of this entry @@ -3680,7 +3823,7 @@ index 2021651273..746eb1a92f 100644 wasmtime_component_val_t val; } wasmtime_component_valrecord_entry_t; diff --git a/crates/c-api/include/wasmtime/component/val.hh b/crates/c-api/include/wasmtime/component/val.hh -index ffc377ab2e..56bd9cc9a4 100644 +index 1ff5c9a5be..7acd7bde73 100644 --- a/crates/c-api/include/wasmtime/component/val.hh +++ b/crates/c-api/include/wasmtime/component/val.hh @@ -254,7 +254,7 @@ class Variant { @@ -3727,7 +3870,7 @@ index ffc377ab2e..56bd9cc9a4 100644 /// \brief Returns the name of this flag. std::string_view name() const { return std::string_view{raw.data, raw.size}; } -@@ -589,7 +589,7 @@ public: +@@ -646,7 +646,7 @@ public: static Val string(std::string_view v) { wasmtime_component_val_t raw; raw.kind = WASMTIME_COMPONENT_STRING; @@ -3736,7 +3879,7 @@ index ffc377ab2e..56bd9cc9a4 100644 return Val(std::move(raw)); } -@@ -633,7 +633,7 @@ public: +@@ -690,7 +690,7 @@ public: static Val enum_(std::string_view discriminant) { wasmtime_component_val_t raw; raw.kind = WASMTIME_COMPONENT_ENUM; @@ -3745,7 +3888,7 @@ index ffc377ab2e..56bd9cc9a4 100644 discriminant.data()); return Val(std::move(raw)); } -@@ -846,7 +846,7 @@ inline Record::Record(std::vector> entries) { +@@ -918,7 +918,7 @@ inline Record::Record(std::vector> entries) { wasmtime_component_valrecord_new_uninit(&raw, entries.size()); auto dst = raw.data; for (auto &&[name, val] : entries) { @@ -3754,7 +3897,7 @@ index ffc377ab2e..56bd9cc9a4 100644 new (&dst->val) Val(std::move(val)); dst++; } -@@ -867,7 +867,7 @@ inline Tuple::Tuple(std::vector values) { +@@ -949,7 +949,7 @@ inline Tuple::Tuple(std::vector values) { } inline Variant::Variant(std::string_view discriminant, std::optional x) { @@ -3764,7 +3907,7 @@ index ffc377ab2e..56bd9cc9a4 100644 raw.val = wasmtime_component_val_new(&x->raw); } else { diff --git a/crates/c-api/include/wasmtime/config.h b/crates/c-api/include/wasmtime/config.h -index af5f3e0f06..0c65f83cd4 100644 +index d7788a694b..803e267618 100644 --- a/crates/c-api/include/wasmtime/config.h +++ b/crates/c-api/include/wasmtime/config.h @@ -88,7 +88,7 @@ enum wasmtime_profiling_strategy_enum { // ProfilingStrategy @@ -3819,8 +3962,8 @@ index af5f3e0f06..0c65f83cd4 100644 +WASMTIME_CONFIG_PROP(void, wasmtime_wasm_gc, bool) /** - * \brief Configures whether the WebAssembly SIMD proposal is -@@ -195,7 +195,7 @@ WASMTIME_CONFIG_PROP(void, wasm_gc, bool) + * \brief Enables or disables GC support in Wasmtime entirely. +@@ -203,7 +203,7 @@ WASMTIME_CONFIG_PROP(void, gc_support, bool) * * This setting is `false` by default. */ @@ -3829,7 +3972,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly relaxed SIMD proposal is -@@ -203,7 +203,7 @@ WASMTIME_CONFIG_PROP(void, wasm_simd, bool) +@@ -211,7 +211,7 @@ WASMTIME_CONFIG_PROP(void, wasm_simd, bool) * * This setting is `false` by default. */ @@ -3838,7 +3981,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly relaxed SIMD proposal is -@@ -211,7 +211,7 @@ WASMTIME_CONFIG_PROP(void, wasm_relaxed_simd, bool) +@@ -219,7 +219,7 @@ WASMTIME_CONFIG_PROP(void, wasm_relaxed_simd, bool) * * This setting is `false` by default. */ @@ -3847,7 +3990,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly bulk memory proposal is -@@ -219,7 +219,7 @@ WASMTIME_CONFIG_PROP(void, wasm_relaxed_simd_deterministic, bool) +@@ -227,7 +227,7 @@ WASMTIME_CONFIG_PROP(void, wasm_relaxed_simd_deterministic, bool) * * This setting is `false` by default. */ @@ -3856,7 +3999,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly multi value proposal is -@@ -227,7 +227,7 @@ WASMTIME_CONFIG_PROP(void, wasm_bulk_memory, bool) +@@ -235,7 +235,7 @@ WASMTIME_CONFIG_PROP(void, wasm_bulk_memory, bool) * * This setting is `true` by default. */ @@ -3865,7 +4008,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly multi-memory proposal is -@@ -235,7 +235,7 @@ WASMTIME_CONFIG_PROP(void, wasm_multi_value, bool) +@@ -243,7 +243,7 @@ WASMTIME_CONFIG_PROP(void, wasm_multi_value, bool) * * This setting is `false` by default. */ @@ -3874,7 +4017,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly memory64 proposal is -@@ -243,7 +243,7 @@ WASMTIME_CONFIG_PROP(void, wasm_multi_memory, bool) +@@ -251,7 +251,7 @@ WASMTIME_CONFIG_PROP(void, wasm_multi_memory, bool) * * This setting is `false` by default. */ @@ -3883,7 +4026,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly wide-arithmetic proposal is -@@ -251,14 +251,14 @@ WASMTIME_CONFIG_PROP(void, wasm_memory64, bool) +@@ -259,14 +259,14 @@ WASMTIME_CONFIG_PROP(void, wasm_memory64, bool) * * This setting is `false` by default. */ @@ -3900,7 +4043,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures whether the WebAssembly custom-page-sizes proposal is -@@ -266,7 +266,7 @@ WASMTIME_CONFIG_PROP(void, wasm_exceptions, bool) +@@ -274,7 +274,7 @@ WASMTIME_CONFIG_PROP(void, wasm_exceptions, bool) * * This setting is `false` by default. */ @@ -3909,7 +4052,7 @@ index af5f3e0f06..0c65f83cd4 100644 #ifdef WASMTIME_FEATURE_COMPILER -@@ -276,7 +276,7 @@ WASMTIME_CONFIG_PROP(void, wasm_custom_page_sizes, bool) +@@ -284,7 +284,7 @@ WASMTIME_CONFIG_PROP(void, wasm_custom_page_sizes, bool) * * This setting is `false` by default. */ @@ -3918,7 +4061,7 @@ index af5f3e0f06..0c65f83cd4 100644 /** * \brief Configures how JIT code will be compiled. -@@ -406,7 +406,7 @@ WASMTIME_CONFIG_PROP(void, native_unwind_info, bool) +@@ -414,7 +414,7 @@ WASMTIME_CONFIG_PROP(void, native_unwind_info, bool) * cache could not be enabled. */ WASM_API_EXTERN wasmtime_error_t * @@ -3927,7 +4070,7 @@ index af5f3e0f06..0c65f83cd4 100644 #endif // WASMTIME_FEATURE_CACHE -@@ -435,7 +435,7 @@ WASMTIME_CONFIG_PROP(wasmtime_error_t *, target, const char *) +@@ -443,7 +443,7 @@ WASMTIME_CONFIG_PROP(wasmtime_error_t *, target, const char *) * For more information see the Rust documentation at * https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.cranelift_flag_enable */ @@ -3936,7 +4079,7 @@ index af5f3e0f06..0c65f83cd4 100644 const char *); /** -@@ -447,7 +447,7 @@ WASM_API_EXTERN void wasmtime_config_cranelift_flag_enable(wasm_config_t *, +@@ -455,7 +455,7 @@ WASM_API_EXTERN void wasmtime_config_cranelift_flag_enable(wasm_config_t *, * For more information see the Rust documentation at * https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.cranelift_flag_set */ @@ -3945,7 +4088,7 @@ index af5f3e0f06..0c65f83cd4 100644 const char *key, const char *value); -@@ -527,7 +527,7 @@ typedef struct wasmtime_linear_memory { +@@ -535,7 +535,7 @@ typedef struct wasmtime_linear_memory { * https://docs.wasmtime.dev/api/wasmtime/trait.MemoryCreator.html#tymethod.new_memory */ typedef wasmtime_error_t *(*wasmtime_new_memory_callback_t)( @@ -3954,7 +4097,7 @@ index af5f3e0f06..0c65f83cd4 100644 size_t reserved_size_in_bytes, size_t guard_size_in_bytes, wasmtime_linear_memory_t *memory_ret); -@@ -561,7 +561,7 @@ typedef struct wasmtime_memory_creator { +@@ -569,7 +569,7 @@ typedef struct wasmtime_memory_creator { * https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.with_host_memory */ WASM_API_EXTERN void @@ -3963,7 +4106,7 @@ index af5f3e0f06..0c65f83cd4 100644 wasmtime_memory_creator_t *); /** -@@ -801,7 +801,7 @@ WASMTIME_POOLING_ALLOCATION_CONFIG_PROP(total_gc_heaps, uint32_t) +@@ -809,7 +809,7 @@ WASMTIME_POOLING_ALLOCATION_CONFIG_PROP(total_gc_heaps, uint32_t) * https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.allocation_strategy. */ WASM_API_EXTERN void wasmtime_pooling_allocation_strategy_set( @@ -3972,7 +4115,7 @@ index af5f3e0f06..0c65f83cd4 100644 #endif // WASMTIME_FEATURE_POOLING_ALLOCATOR -@@ -812,9 +812,9 @@ WASM_API_EXTERN void wasmtime_pooling_allocation_strategy_set( +@@ -820,9 +820,9 @@ WASM_API_EXTERN void wasmtime_pooling_allocation_strategy_set( * enabled for compilation. * * For more information see the Rust documentation at @@ -3982,10 +4125,22 @@ index af5f3e0f06..0c65f83cd4 100644 -WASMTIME_CONFIG_PROP(void, wasm_component_model, bool) +WASMTIME_CONFIG_PROP(void, wasmtime_wasm_component_model, bool) + /** + * \brief Specifies whether support for concurrent execution of WebAssembly is +@@ -838,9 +838,9 @@ WASMTIME_CONFIG_PROP(void, concurrency_support, bool) + * enabled for compilation. + * + * For more information see the Rust documentation at +- * https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasm_component_model_map. ++ * https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasmtime_wasm_component_model_map. + */ +-WASMTIME_CONFIG_PROP(void, wasm_component_model_map, bool) ++WASMTIME_CONFIG_PROP(void, wasmtime_wasm_component_model_map, bool) + #endif // WASMTIME_FEATURE_COMPONENT_MODEL diff --git a/crates/c-api/include/wasmtime/config.hh b/crates/c-api/include/wasmtime/config.hh -index 59d549899d..e90c3db7e5 100644 +index 12d57245fb..95646a48d5 100644 --- a/crates/c-api/include/wasmtime/config.hh +++ b/crates/c-api/include/wasmtime/config.hh @@ -244,10 +244,10 @@ class PoolAllocationConfig { @@ -4014,7 +4169,7 @@ index 59d549899d..e90c3db7e5 100644 } #endif // WASMTIME_FEATURE_THREADS -@@ -298,114 +298,114 @@ class Config { +@@ -298,122 +298,122 @@ class Config { /// \brief Configures whether the WebAssembly tail call proposal is enabled /// @@ -4171,9 +4326,20 @@ index 59d549899d..e90c3db7e5 100644 + void wasmtime_wasm_component_model(bool enable) { + wasmtime_config_wasmtime_wasm_component_model_set(ptr.get(), enable); } + + /// \brief Configures whether the WebAssembly component model map type will be + /// enabled + /// +- /// https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasm_component_model_map +- void wasm_component_model_map(bool enable) { +- wasmtime_config_wasm_component_model_map_set(ptr.get(), enable); ++ /// https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasmtime_wasm_component_model_map ++ void wasmtime_wasm_component_model_map(bool enable) { ++ wasmtime_config_wasmtime_wasm_component_model_map_set(ptr.get(), enable); + } #endif // WASMTIME_FEATURE_COMPONENT_MODEL -@@ -577,7 +577,7 @@ private: +@@ -585,7 +585,7 @@ private: template static wasmtime_error_t * @@ -4275,11 +4441,24 @@ index 91c9bae12a..17734b6c57 100644 return ret; } +diff --git a/crates/c-api/include/wasmtime/exn.h b/crates/c-api/include/wasmtime/exn.h +index effc5d383c..1125bf8c38 100644 +--- a/crates/c-api/include/wasmtime/exn.h ++++ b/crates/c-api/include/wasmtime/exn.h +@@ -130,7 +130,7 @@ WASM_API_EXTERN wasmtime_error_t *wasmtime_exn_field(wasmtime_context_t *store, + * \param exn the exception to throw (ownership transferred) + * \return a trap to return from the host callback (caller-owned) + */ +-WASM_API_EXTERN wasm_trap_t * ++WASM_API_EXTERN wasmtime_wasm_trap_t * + wasmtime_context_set_exception(wasmtime_context_t *store, wasmtime_exn_t *exn); + + /** diff --git a/crates/c-api/include/wasmtime/extern.h b/crates/c-api/include/wasmtime/extern.h -index 51675b970d..3b9fc10a48 100644 +index 113d1e22e9..6915744fb2 100644 --- a/crates/c-api/include/wasmtime/extern.h +++ b/crates/c-api/include/wasmtime/extern.h -@@ -157,7 +157,7 @@ void wasmtime_extern_delete(wasmtime_extern_t *val); +@@ -163,7 +163,7 @@ void wasmtime_extern_delete(wasmtime_extern_t *val); /// /// Does not take ownership of `context` or `val`, but the returned /// #wasm_externtype_t is an owned value that needs to be deleted. @@ -4395,6 +4574,28 @@ index 84ec28e1d0..19b7496e96 100644 auto *error = wasmtime_func_call_unchecked(cx.capi(), &f.func, ptr, storage.size(), &trap); if (error != nullptr) { +diff --git a/crates/c-api/include/wasmtime/gc.h b/crates/c-api/include/wasmtime/gc.h +index 701c296bec..589ac2b842 100644 +--- a/crates/c-api/include/wasmtime/gc.h ++++ b/crates/c-api/include/wasmtime/gc.h +@@ -181,7 +181,7 @@ typedef struct wasmtime_struct_type wasmtime_struct_type_t; + * types). + */ + WASM_API_EXTERN wasmtime_struct_type_t * +-wasmtime_struct_type_new(const wasm_engine_t *engine, ++wasmtime_struct_type_new(const wasmtime_wasm_engine_t *engine, + const wasmtime_field_type_t *fields, size_t nfields); + + /** +@@ -361,7 +361,7 @@ typedef struct wasmtime_array_type wasmtime_array_type_t; + * \return Returns a new array type. + */ + WASM_API_EXTERN wasmtime_array_type_t * +-wasmtime_array_type_new(const wasm_engine_t *engine, ++wasmtime_array_type_new(const wasmtime_wasm_engine_t *engine, + const wasmtime_field_type_t *field); + + /** diff --git a/crates/c-api/include/wasmtime/global.h b/crates/c-api/include/wasmtime/global.h index 8b20af9150..7df9b0e025 100644 --- a/crates/c-api/include/wasmtime/global.h @@ -4440,10 +4641,10 @@ index db65ea87c7..bfd8985c77 100644 /** * \brief Get the module (as a shallow clone) for a instance_pre. diff --git a/crates/c-api/include/wasmtime/instance.hh b/crates/c-api/include/wasmtime/instance.hh -index 1aa75a060f..78ffeba1bc 100644 +index 636c058b67..a7e84f5b72 100644 --- a/crates/c-api/include/wasmtime/instance.hh +++ b/crates/c-api/include/wasmtime/instance.hh -@@ -63,7 +63,7 @@ public: +@@ -64,7 +64,7 @@ public: detail::cvt_extern(item, last); } wasmtime_instance_t instance; @@ -4650,10 +4851,10 @@ index 7f42432cf8..de3b7eb294 100644 /** diff --git a/crates/c-api/include/wasmtime/module.hh b/crates/c-api/include/wasmtime/module.hh -index 4a28439de8..80f5b963de 100644 +index efdaeba5d1..e2067e8e67 100644 --- a/crates/c-api/include/wasmtime/module.hh +++ b/crates/c-api/include/wasmtime/module.hh -@@ -147,7 +147,7 @@ class Module { +@@ -150,7 +150,7 @@ class Module { * quickly recreate this module in a different process perhaps. */ Result> serialize() const { @@ -4662,7 +4863,7 @@ index 4a28439de8..80f5b963de 100644 auto *error = wasmtime_module_serialize(ptr.get(), &bytes); if (error != nullptr) { return Error(error); -@@ -156,7 +156,7 @@ class Module { +@@ -159,7 +159,7 @@ class Module { // NOLINTNEXTLINE TODO can this be done without triggering lints? Span raw(reinterpret_cast(bytes.data), bytes.size); ret.assign(raw.begin(), raw.end()); @@ -4727,7 +4928,7 @@ index 3065a0ef1a..08beccc095 100644 /** diff --git a/crates/c-api/include/wasmtime/store.h b/crates/c-api/include/wasmtime/store.h -index aefe31c959..35b16cc9f5 100644 +index f440db1a3f..7c631365bf 100644 --- a/crates/c-api/include/wasmtime/store.h +++ b/crates/c-api/include/wasmtime/store.h @@ -69,7 +69,7 @@ typedef struct wasmtime_context wasmtime_context_t; @@ -4761,11 +4962,33 @@ index 7a648691ca..c63b087317 100644 wasmtime_table_type(const wasmtime_context_t *store, const wasmtime_table_t *table); +diff --git a/crates/c-api/include/wasmtime/tag.h b/crates/c-api/include/wasmtime/tag.h +index 9335a6a05a..c078e0b2ee 100644 +--- a/crates/c-api/include/wasmtime/tag.h ++++ b/crates/c-api/include/wasmtime/tag.h +@@ -50,7 +50,7 @@ typedef struct wasmtime_tag { + * \return NULL on success, otherwise an error describing the failure. + */ + WASM_API_EXTERN wasmtime_error_t *wasmtime_tag_new(wasmtime_context_t *store, +- const wasm_tagtype_t *tt, ++ const wasmtime_wasm_tagtype_t *tt, + wasmtime_tag_t *ret); + + /** +@@ -58,7 +58,7 @@ WASM_API_EXTERN wasmtime_error_t *wasmtime_tag_new(wasmtime_context_t *store, + * + * The returned #wasm_tagtype_t is owned by the caller. + */ +-WASM_API_EXTERN wasm_tagtype_t * ++WASM_API_EXTERN wasmtime_wasm_tagtype_t * + wasmtime_tag_type(const wasmtime_context_t *store, const wasmtime_tag_t *tag); + + /** diff --git a/crates/c-api/include/wasmtime/trap.h b/crates/c-api/include/wasmtime/trap.h -index 9f251363e7..1dd82280b3 100644 +index 6c29b991a5..0384043d82 100644 --- a/crates/c-api/include/wasmtime/trap.h +++ b/crates/c-api/include/wasmtime/trap.h -@@ -119,7 +119,7 @@ enum wasmtime_trap_code_enum { +@@ -144,7 +144,7 @@ enum wasmtime_trap_code_enum { * * The #wasm_trap_t returned is owned by the caller. */ @@ -4774,7 +4997,7 @@ index 9f251363e7..1dd82280b3 100644 /** * \brief Creates a new trap from the given trap code. -@@ -128,7 +128,7 @@ WASM_API_EXTERN wasm_trap_t *wasmtime_trap_new(const char *msg, size_t msg_len); +@@ -153,7 +153,7 @@ WASM_API_EXTERN wasm_trap_t *wasmtime_trap_new(const char *msg, size_t msg_len); * * The #wasm_trap_t returned is owned by the caller. */ @@ -4783,7 +5006,7 @@ index 9f251363e7..1dd82280b3 100644 /** * \brief Attempts to extract the trap code from this trap. -@@ -136,10 +136,10 @@ WASM_API_EXTERN wasm_trap_t *wasmtime_trap_new_code(wasmtime_trap_code_t code); +@@ -161,10 +161,10 @@ WASM_API_EXTERN wasm_trap_t *wasmtime_trap_new_code(wasmtime_trap_code_t code); * Returns `true` if the trap is an instruction trap triggered while * executing Wasm. If `true` is returned then the trap code is returned * through the `code` pointer. If `false` is returned then this is not @@ -4796,7 +5019,7 @@ index 9f251363e7..1dd82280b3 100644 wasmtime_trap_code_t *code); /** -@@ -150,8 +150,8 @@ WASM_API_EXTERN bool wasmtime_trap_code(const wasm_trap_t *, +@@ -175,8 +175,8 @@ WASM_API_EXTERN bool wasmtime_trap_code(const wasm_trap_t *, * * The lifetime of the returned name is the same as the #wasm_frame_t itself. */ @@ -4807,7 +5030,7 @@ index 9f251363e7..1dd82280b3 100644 /** * \brief Returns a human-readable name for this frame's module. -@@ -161,8 +161,8 @@ wasmtime_frame_func_name(const wasm_frame_t *); +@@ -186,8 +186,8 @@ wasmtime_frame_func_name(const wasm_frame_t *); * * The lifetime of the returned name is the same as the #wasm_frame_t itself. */ @@ -4962,10 +5185,10 @@ index 80d7ac957e..2f34b2cec5 100644 } diff --git a/crates/c-api/include/wasmtime/types/extern.hh b/crates/c-api/include/wasmtime/types/extern.hh -index 88412a0e42..fab0cfa6f8 100644 +index 755c3f8265..b19422f90e 100644 --- a/crates/c-api/include/wasmtime/types/extern.hh +++ b/crates/c-api/include/wasmtime/types/extern.hh -@@ -49,16 +49,16 @@ public: +@@ -50,18 +50,18 @@ public: } private: @@ -4985,15 +5208,18 @@ index 88412a0e42..fab0cfa6f8 100644 case WASM_EXTERN_MEMORY: - return wasm_externtype_as_memorytype_const(ptr); + return wasmtime_wasm_externtype_as_memorytype_const(ptr); + case WASM_EXTERN_TAG: +- return wasm_externtype_as_tagtype_const(ptr); ++ return wasmtime_wasm_externtype_as_tagtype_const(ptr); } std::abort(); } diff --git a/crates/c-api/include/wasmtime/types/func.hh b/crates/c-api/include/wasmtime/types/func.hh -index a3bc2a6868..c42de6ae3a 100644 +index 0971fe9579..d586889a01 100644 --- a/crates/c-api/include/wasmtime/types/func.hh +++ b/crates/c-api/include/wasmtime/types/func.hh -@@ -17,34 +17,34 @@ class FuncType { - friend class Linker; +@@ -18,34 +18,34 @@ class FuncType { + friend class TagType; struct deleter { - void operator()(wasm_functype_t *p) const { wasm_functype_delete(p); } @@ -5034,7 +5260,7 @@ index a3bc2a6868..c42de6ae3a 100644 public: /// Creates a new function type from the given list of parameters and results. -@@ -55,13 +55,13 @@ public: +@@ -56,13 +56,13 @@ public: } /// Copies a reference into a uniquely owned function type. @@ -5051,7 +5277,7 @@ index a3bc2a6868..c42de6ae3a 100644 return *this; } ~FuncType() = default; -@@ -73,10 +73,10 @@ public: +@@ -74,10 +74,10 @@ public: /// Creates a new function type from the given list of parameters and results. template static FuncType from_iters(P params, R results) { @@ -5066,7 +5292,7 @@ index a3bc2a6868..c42de6ae3a 100644 size_t i = 0; for (auto val : params) { -@@ -87,7 +87,7 @@ public: +@@ -88,7 +88,7 @@ public: result_vec.data[i++] = val.ptr.release(); // NOLINT } @@ -5410,13 +5636,77 @@ index 1bb8b68609..21ed61025f 100644 return *this; } ~TableType() = default; +diff --git a/crates/c-api/include/wasmtime/types/tag.hh b/crates/c-api/include/wasmtime/types/tag.hh +index 28ce8a8df4..2ee68a562c 100644 +--- a/crates/c-api/include/wasmtime/types/tag.hh ++++ b/crates/c-api/include/wasmtime/types/tag.hh +@@ -22,21 +22,21 @@ class TagType { + friend class Exn; + + struct deleter { +- void operator()(wasm_tagtype_t *p) const { wasm_tagtype_delete(p); } ++ void operator()(wasmtime_wasm_tagtype_t *p) const { wasmtime_wasm_tagtype_delete(p); } + }; + +- std::unique_ptr ptr; ++ std::unique_ptr ptr; + + public: + /// Non-owning reference to a `TagType`, must not be used after the original + /// owner is deleted. + class Ref { + friend class TagType; +- const wasm_tagtype_t *ptr; ++ const wasmtime_wasm_tagtype_t *ptr; + + public: + /// Creates a reference from the raw underlying C API representation. +- Ref(const wasm_tagtype_t *ptr) : ptr(ptr) {} ++ Ref(const wasmtime_wasm_tagtype_t *ptr) : ptr(ptr) {} + /// Creates a reference to the provided `TagType`. + Ref(const TagType &ty) : Ref(ty.ptr.get()) {} + +@@ -44,27 +44,27 @@ public: + /// + /// The caller owns the returned `FuncType`. + FuncType functype() const { +- return FuncType(wasm_functype_copy(wasm_tagtype_functype(ptr))); ++ return FuncType(wasmtime_wasm_functype_copy(wasmtime_wasm_tagtype_functype(ptr))); + } + }; + + private: + Ref ref; +- TagType(wasm_tagtype_t *ptr) : ptr(ptr), ref(ptr) {} ++ TagType(wasmtime_wasm_tagtype_t *ptr) : ptr(ptr), ref(ptr) {} + + public: + /// Creates a new tag type from the given function type. + /// Copies `functype` so the original is not consumed. + explicit TagType(const FuncType &functype) +- : TagType(wasm_tagtype_new(wasm_functype_copy(functype.ptr.get()))) {} ++ : TagType(wasmtime_wasm_tagtype_new(wasmtime_wasm_functype_copy(functype.ptr.get()))) {} + + /// Copies a reference into a uniquely owned tag type. +- TagType(Ref other) : TagType(wasm_tagtype_copy(other.ptr)) {} ++ TagType(Ref other) : TagType(wasmtime_wasm_tagtype_copy(other.ptr)) {} + /// Copies another tag type into this one. +- TagType(const TagType &other) : TagType(wasm_tagtype_copy(other.ptr.get())) {} ++ TagType(const TagType &other) : TagType(wasmtime_wasm_tagtype_copy(other.ptr.get())) {} + /// Copies another tag type into this one. + TagType &operator=(const TagType &other) { +- ptr.reset(wasm_tagtype_copy(other.ptr.get())); ++ ptr.reset(wasmtime_wasm_tagtype_copy(other.ptr.get())); + ref = ptr.get(); + return *this; + } diff --git a/crates/c-api/include/wasmtime/types/val.hh b/crates/c-api/include/wasmtime/types/val.hh -index 2b063e176b..11657d9f67 100644 +index a42d445b6d..6ef0d1ccd5 100644 --- a/crates/c-api/include/wasmtime/types/val.hh +++ b/crates/c-api/include/wasmtime/types/val.hh -@@ -70,12 +70,12 @@ class ValType { +@@ -72,12 +72,12 @@ class ValType { + friend class GlobalType; friend class FuncType; - struct deleter { - void operator()(wasm_valtype_t *p) const { wasm_valtype_delete(p); } + void operator()(wasmtime_wasm_valtype_t *p) const { wasmtime_wasm_valtype_delete(p); } @@ -5430,7 +5720,7 @@ index 2b063e176b..11657d9f67 100644 switch (kind) { #define CASE_KIND_TO_C(kind, ignore, ckind) \ case ValKind::kind: \ -@@ -93,17 +93,17 @@ public: +@@ -95,17 +95,17 @@ public: class Ref { friend class ValType; @@ -5451,7 +5741,7 @@ index 2b063e176b..11657d9f67 100644 #define CASE_C_TO_KIND(kind, ignore, ckind) \ case ckind: \ return ValKind::kind; -@@ -117,11 +117,11 @@ public: +@@ -119,11 +119,11 @@ public: /// \brief Non-owning reference to a list of `ValType` instances. Must not be /// used after the original owner is deleted. class ListRef { @@ -5465,7 +5755,7 @@ index 2b063e176b..11657d9f67 100644 /// This list iterates over a list of `ValType::Ref` instances. typedef const Ref *iterator; -@@ -142,18 +142,18 @@ public: +@@ -144,18 +144,18 @@ public: private: Ref ref; @@ -5653,10 +5943,10 @@ index 22f83106c7..cf5ea81eec 100644 ) { c.config.with_host_stack(Arc::new(CHostStackCreator { diff --git a/crates/c-api/src/component/component.rs b/crates/c-api/src/component/component.rs -index cfededb3dc..3a824a58af 100644 +index 1db3dbaa55..66207c89f6 100644 --- a/crates/c-api/src/component/component.rs +++ b/crates/c-api/src/component/component.rs -@@ -1,13 +1,13 @@ +@@ -1,21 +1,21 @@ use crate::{ - wasm_byte_vec_t, wasm_config_t, wasm_engine_t, wasmtime_component_type_t, wasmtime_error_t, + wasmtime_wasm_byte_vec_t, wasmtime_wasm_config_t, wasmtime_wasm_engine_t, wasmtime_component_type_t, wasmtime_error_t, @@ -5672,8 +5962,19 @@ index cfededb3dc..3a824a58af 100644 + c.config.wasmtime_wasm_component_model(enable); } + #[unsafe(no_mangle)] +-pub extern "C" fn wasmtime_config_wasm_component_model_map_set( +- c: &mut wasm_config_t, ++pub extern "C" fn wasmtime_config_wasmtime_wasm_component_model_map_set( ++ c: &mut wasmtime_wasm_config_t, + enable: bool, + ) { +- c.config.wasm_component_model_map(enable); ++ c.config.wasmtime_wasm_component_model_map(enable); + } + #[derive(Clone)] -@@ -19,7 +19,7 @@ pub struct wasmtime_component_t { +@@ -27,7 +27,7 @@ pub struct wasmtime_component_t { #[unsafe(no_mangle)] #[cfg(any(feature = "cranelift", feature = "winch"))] pub unsafe extern "C" fn wasmtime_component_new( @@ -5682,7 +5983,7 @@ index cfededb3dc..3a824a58af 100644 buf: *const u8, len: usize, component_out: &mut *mut wasmtime_component_t, -@@ -34,7 +34,7 @@ pub unsafe extern "C" fn wasmtime_component_new( +@@ -42,7 +42,7 @@ pub unsafe extern "C" fn wasmtime_component_new( #[cfg(any(feature = "cranelift", feature = "winch"))] pub extern "C" fn wasmtime_component_serialize( component: &wasmtime_component_t, @@ -5691,7 +5992,7 @@ index cfededb3dc..3a824a58af 100644 ) -> Option> { crate::handle_result(component.component.serialize(), |buffer| { ret.set_buffer(buffer); -@@ -43,7 +43,7 @@ pub extern "C" fn wasmtime_component_serialize( +@@ -51,7 +51,7 @@ pub extern "C" fn wasmtime_component_serialize( #[unsafe(no_mangle)] pub unsafe extern "C" fn wasmtime_component_deserialize( @@ -5700,7 +6001,7 @@ index cfededb3dc..3a824a58af 100644 buf: *const u8, len: usize, component_out: &mut *mut wasmtime_component_t, -@@ -59,7 +59,7 @@ pub unsafe extern "C" fn wasmtime_component_deserialize( +@@ -67,7 +67,7 @@ pub unsafe extern "C" fn wasmtime_component_deserialize( #[unsafe(no_mangle)] pub unsafe extern "C" fn wasmtime_component_deserialize_file( @@ -5710,7 +6011,7 @@ index cfededb3dc..3a824a58af 100644 component_out: &mut *mut wasmtime_component_t, ) -> Option> { diff --git a/crates/c-api/src/component/linker.rs b/crates/c-api/src/component/linker.rs -index b17045a081..9afe27bed2 100644 +index 9af8c82c9c..513ffaf567 100644 --- a/crates/c-api/src/component/linker.rs +++ b/crates/c-api/src/component/linker.rs @@ -1,5 +1,5 @@ @@ -5902,7 +6203,7 @@ index 2cf58aaae6..552e69d1b3 100644 CExternType::new(item), ))) diff --git a/crates/c-api/src/component/val.rs b/crates/c-api/src/component/val.rs -index 00c2c6a639..a20b46192a 100644 +index 60177f2d2d..b69a9fc54d 100644 --- a/crates/c-api/src/component/val.rs +++ b/crates/c-api/src/component/val.rs @@ -1,5 +1,5 @@ @@ -5921,7 +6222,7 @@ index 00c2c6a639..a20b46192a 100644 new: wasmtime_component_valflags_new, empty: wasmtime_component_valflags_new_empty, uninit: wasmtime_component_valflags_new_uninit, -@@ -66,14 +66,14 @@ impl From<&[Val]> for wasmtime_component_vallist_t { +@@ -98,7 +98,7 @@ impl From<&[(Val, Val)]> for wasmtime_component_valmap_t { #[derive(Clone)] #[repr(C)] pub struct wasmtime_component_valrecord_entry_t { @@ -5930,6 +6231,7 @@ index 00c2c6a639..a20b46192a 100644 val: wasmtime_component_val_t, } +@@ -112,7 +112,7 @@ pub struct wasmtime_component_valmap_entry_t { impl Default for wasmtime_component_valrecord_entry_t { fn default() -> Self { Self { @@ -5938,7 +6240,7 @@ index 00c2c6a639..a20b46192a 100644 val: Default::default(), } } -@@ -91,7 +91,7 @@ impl From<&wasmtime_component_valrecord_entry_t> for (String, Val) { +@@ -130,7 +130,7 @@ impl From<&wasmtime_component_valrecord_entry_t> for (String, Val) { impl From<&(String, Val)> for wasmtime_component_valrecord_entry_t { fn from((name, val): &(String, Val)) -> Self { Self { @@ -5947,7 +6249,7 @@ index 00c2c6a639..a20b46192a 100644 val: wasmtime_component_val_t::from(val), } } -@@ -145,7 +145,7 @@ impl From<&[String]> for wasmtime_component_valflags_t { +@@ -184,7 +184,7 @@ impl From<&[String]> for wasmtime_component_valflags_t { fn from(value: &[String]) -> Self { value .iter() @@ -5956,7 +6258,7 @@ index 00c2c6a639..a20b46192a 100644 .collect::>() .into() } -@@ -154,14 +154,14 @@ impl From<&[String]> for wasmtime_component_valflags_t { +@@ -193,14 +193,14 @@ impl From<&[String]> for wasmtime_component_valflags_t { #[repr(C)] #[derive(Clone)] pub struct wasmtime_component_valvariant_t { @@ -5973,7 +6275,7 @@ index 00c2c6a639..a20b46192a 100644 val: value .as_ref() .map(|x| Box::new(wasmtime_component_val_t::from(x.as_ref()))), -@@ -224,12 +224,12 @@ pub enum wasmtime_component_val_t { +@@ -263,12 +263,12 @@ pub enum wasmtime_component_val_t { F32(f32), F64(f64), Char(u32), @@ -5988,7 +6290,7 @@ index 00c2c6a639..a20b46192a 100644 Option(Option>), Result(wasmtime_component_valresult_t), Flags(wasmtime_component_valflags_t), -@@ -295,14 +295,14 @@ impl From<&Val> for wasmtime_component_val_t { +@@ -336,14 +336,14 @@ impl From<&Val> for wasmtime_component_val_t { Val::Float32(x) => wasmtime_component_val_t::F32(*x), Val::Float64(x) => wasmtime_component_val_t::F64(*x), Val::Char(x) => wasmtime_component_val_t::Char(*x as _), @@ -6006,7 +6308,7 @@ index 00c2c6a639..a20b46192a 100644 x.as_ref() .map(|x| Box::new(wasmtime_component_val_t::from(x.as_ref()))), diff --git a/crates/c-api/src/config.rs b/crates/c-api/src/config.rs -index cf132c7490..c00c427cfa 100644 +index 365fd37b4c..2ef9e65c4a 100644 --- a/crates/c-api/src/config.rs +++ b/crates/c-api/src/config.rs @@ -2,7 +2,7 @@ @@ -6032,7 +6334,7 @@ index cf132c7490..c00c427cfa 100644 #[repr(u8)] #[derive(Clone)] -@@ -47,113 +47,113 @@ pub enum wasmtime_profiling_strategy_t { +@@ -47,118 +47,118 @@ pub enum wasmtime_profiling_strategy_t { } #[unsafe(no_mangle)] @@ -6114,6 +6416,12 @@ index cf132c7490..c00c427cfa 100644 + c.config.wasmtime_wasm_gc(enable); } + #[unsafe(no_mangle)] +-pub extern "C" fn wasmtime_config_gc_support_set(c: &mut wasm_config_t, enable: bool) { ++pub extern "C" fn wasmtime_config_gc_support_set(c: &mut wasmtime_wasm_config_t, enable: bool) { + c.config.gc_support(enable); + } + #[unsafe(no_mangle)] -pub extern "C" fn wasmtime_config_wasm_simd_set(c: &mut wasm_config_t, enable: bool) { - c.config.wasm_simd(enable); @@ -6181,7 +6489,7 @@ index cf132c7490..c00c427cfa 100644 strategy: wasmtime_strategy_t, ) { use wasmtime_strategy_t::*; -@@ -165,14 +165,14 @@ pub extern "C" fn wasmtime_config_strategy_set( +@@ -170,14 +170,14 @@ pub extern "C" fn wasmtime_config_strategy_set( #[unsafe(no_mangle)] #[cfg(feature = "parallel-compilation")] @@ -6198,7 +6506,7 @@ index cf132c7490..c00c427cfa 100644 enable: bool, ) { c.config.cranelift_debug_verifier(enable); -@@ -181,7 +181,7 @@ pub extern "C" fn wasmtime_config_cranelift_debug_verifier_set( +@@ -186,7 +186,7 @@ pub extern "C" fn wasmtime_config_cranelift_debug_verifier_set( #[unsafe(no_mangle)] #[cfg(any(feature = "cranelift", feature = "winch"))] pub extern "C" fn wasmtime_config_cranelift_nan_canonicalization_set( @@ -6207,7 +6515,7 @@ index cf132c7490..c00c427cfa 100644 enable: bool, ) { c.config.cranelift_nan_canonicalization(enable); -@@ -190,7 +190,7 @@ pub extern "C" fn wasmtime_config_cranelift_nan_canonicalization_set( +@@ -195,7 +195,7 @@ pub extern "C" fn wasmtime_config_cranelift_nan_canonicalization_set( #[unsafe(no_mangle)] #[cfg(any(feature = "cranelift", feature = "winch"))] pub extern "C" fn wasmtime_config_cranelift_opt_level_set( @@ -6216,7 +6524,7 @@ index cf132c7490..c00c427cfa 100644 opt_level: wasmtime_opt_level_t, ) { use wasmtime_opt_level_t::*; -@@ -203,7 +203,7 @@ pub extern "C" fn wasmtime_config_cranelift_opt_level_set( +@@ -208,7 +208,7 @@ pub extern "C" fn wasmtime_config_cranelift_opt_level_set( #[unsafe(no_mangle)] pub extern "C" fn wasmtime_config_profiler_set( @@ -6225,7 +6533,7 @@ index cf132c7490..c00c427cfa 100644 strategy: wasmtime_profiling_strategy_t, ) { use wasmtime_profiling_strategy_t::*; -@@ -218,7 +218,7 @@ pub extern "C" fn wasmtime_config_profiler_set( +@@ -223,7 +223,7 @@ pub extern "C" fn wasmtime_config_profiler_set( #[unsafe(no_mangle)] #[cfg(feature = "cache")] pub unsafe extern "C" fn wasmtime_config_cache_config_load( @@ -6234,7 +6542,7 @@ index cf132c7490..c00c427cfa 100644 filename: *const c_char, ) -> Option> { use std::path::Path; -@@ -241,36 +241,36 @@ pub unsafe extern "C" fn wasmtime_config_cache_config_load( +@@ -246,36 +246,36 @@ pub unsafe extern "C" fn wasmtime_config_cache_config_load( } #[unsafe(no_mangle)] @@ -6277,7 +6585,7 @@ index cf132c7490..c00c427cfa 100644 target: *const c_char, ) -> Option> { let target = CStr::from_ptr(target).to_str().expect("not valid utf-8"); -@@ -278,19 +278,19 @@ pub unsafe extern "C" fn wasmtime_config_target_set( +@@ -283,19 +283,19 @@ pub unsafe extern "C" fn wasmtime_config_target_set( } #[unsafe(no_mangle)] @@ -6300,7 +6608,7 @@ index cf132c7490..c00c427cfa 100644 flag: *const c_char, ) { let flag = CStr::from_ptr(flag).to_str().expect("not valid utf-8"); -@@ -300,7 +300,7 @@ pub unsafe extern "C" fn wasmtime_config_cranelift_flag_enable( +@@ -305,7 +305,7 @@ pub unsafe extern "C" fn wasmtime_config_cranelift_flag_enable( #[unsafe(no_mangle)] #[cfg(any(feature = "cranelift", feature = "winch"))] pub unsafe extern "C" fn wasmtime_config_cranelift_flag_set( @@ -6309,7 +6617,7 @@ index cf132c7490..c00c427cfa 100644 flag: *const c_char, value: *const c_char, ) { -@@ -328,7 +328,7 @@ pub struct wasmtime_linear_memory_t { +@@ -333,7 +333,7 @@ pub struct wasmtime_linear_memory_t { pub type wasmtime_new_memory_callback_t = extern "C" fn( env: *mut std::ffi::c_void, @@ -6318,7 +6626,7 @@ index cf132c7490..c00c427cfa 100644 minimum: usize, maximum: usize, reserved_size_in_bytes: usize, -@@ -419,7 +419,7 @@ unsafe impl MemoryCreator for CHostMemoryCreator { +@@ -424,7 +424,7 @@ unsafe impl MemoryCreator for CHostMemoryCreator { let cb = self.new_memory; let error = cb( self.foreign.data, @@ -6327,7 +6635,7 @@ index cf132c7490..c00c427cfa 100644 minimum, maximum.unwrap_or(usize::MAX), reserved_size_in_bytes.unwrap_or(0), -@@ -448,7 +448,7 @@ unsafe impl MemoryCreator for CHostMemoryCreator { +@@ -453,7 +453,7 @@ unsafe impl MemoryCreator for CHostMemoryCreator { #[unsafe(no_mangle)] pub unsafe extern "C" fn wasmtime_config_host_memory_creator_set( @@ -6336,7 +6644,7 @@ index cf132c7490..c00c427cfa 100644 creator: &wasmtime_memory_creator_t, ) { c.config.with_host_memory(Arc::new(CHostMemoryCreator { -@@ -461,23 +461,23 @@ pub unsafe extern "C" fn wasmtime_config_host_memory_creator_set( +@@ -466,23 +466,23 @@ pub unsafe extern "C" fn wasmtime_config_host_memory_creator_set( } #[unsafe(no_mangle)] @@ -6367,7 +6675,7 @@ index cf132c7490..c00c427cfa 100644 } #[repr(C)] -@@ -686,7 +686,7 @@ pub extern "C" fn wasmtime_pooling_allocation_config_total_gc_heaps_set( +@@ -691,7 +691,7 @@ pub extern "C" fn wasmtime_pooling_allocation_config_total_gc_heaps_set( #[unsafe(no_mangle)] #[cfg(feature = "pooling-allocator")] pub extern "C" fn wasmtime_pooling_allocation_strategy_set( @@ -6376,6 +6684,14 @@ index cf132c7490..c00c427cfa 100644 pc: &wasmtime_pooling_allocation_config_t, ) { c.config +@@ -699,6 +699,6 @@ pub extern "C" fn wasmtime_pooling_allocation_strategy_set( + } + + #[unsafe(no_mangle)] +-pub extern "C" fn wasmtime_config_concurrency_support_set(c: &mut wasm_config_t, enable: bool) { ++pub extern "C" fn wasmtime_config_concurrency_support_set(c: &mut wasmtime_wasm_config_t, enable: bool) { + c.config.concurrency_support(enable); + } diff --git a/crates/c-api/src/engine.rs b/crates/c-api/src/engine.rs index 986a5b5793..d5509c92a8 100644 --- a/crates/c-api/src/engine.rs @@ -6466,8 +6782,33 @@ index 9a528a0160..a2cedc9b90 100644 ) { crate::trap::error_trace(&raw.error, out) } +diff --git a/crates/c-api/src/exn.rs b/crates/c-api/src/exn.rs +index 618644170f..81ce34d66d 100644 +--- a/crates/c-api/src/exn.rs ++++ b/crates/c-api/src/exn.rs +@@ -1,5 +1,5 @@ + use crate::{ +- WasmtimeStoreContextMut, handle_result, wasm_trap_t, wasmtime_error_t, wasmtime_val_t, ++ WasmtimeStoreContextMut, handle_result, wasmtime_wasm_trap_t, wasmtime_error_t, wasmtime_val_t, + }; + use std::mem::MaybeUninit; + use wasmtime::{AsContextMut, ExnRef, ExnRefPre, ExnType, RootScope, Tag}; +@@ -79,11 +79,11 @@ pub unsafe extern "C" fn wasmtime_exn_field( + pub unsafe extern "C" fn wasmtime_context_set_exception( + mut store: WasmtimeStoreContextMut<'_>, + exn: Box, +-) -> Box { ++) -> Box { + let mut scope = RootScope::new(&mut store); + let rooted = exn.exn.to_rooted(&mut scope); + let thrown = scope.as_context_mut().throw::<()>(rooted).unwrap_err(); +- Box::new(wasm_trap_t::new(wasmtime::Error::new(thrown))) ++ Box::new(wasmtime_wasm_trap_t::new(wasmtime::Error::new(thrown))) + } + + #[unsafe(no_mangle)] diff --git a/crates/c-api/src/extern.rs b/crates/c-api/src/extern.rs -index b32eb801f1..0a297d0b0d 100644 +index ae54173d8f..5d39debce2 100644 --- a/crates/c-api/src/extern.rs +++ b/crates/c-api/src/extern.rs @@ -1,77 +1,77 @@ @@ -6478,7 +6819,7 @@ index b32eb801f1..0a297d0b0d 100644 + wasmtime_wasm_global_t, wasmtime_wasm_memory_t, wasmtime_wasm_table_t, }; use std::mem::ManuallyDrop; - use wasmtime::{Extern, Func, Global, Memory, SharedMemory, Table}; + use wasmtime::{Extern, Func, Global, Memory, SharedMemory, Table, Tag}; #[derive(Clone)] -pub struct wasm_extern_t { @@ -6502,7 +6843,7 @@ index b32eb801f1..0a297d0b0d 100644 - "Shared Memory no implemented for wasm_* types. Please use wasmtime_* types instead" + "Shared Memory no implemented for wasmtime_wasm_* types. Please use wasmtime_* types instead" ), - Extern::Tag(_) => todo!(), // FIXME: #10252 C embedder API for exceptions and control tags. + Extern::Tag(_) => crate::types::WASMTIME_EXTERNTYPE_TAG, } } @@ -6572,7 +6913,7 @@ index b32eb801f1..0a297d0b0d 100644 } #[repr(C)] -@@ -158,6 +158,6 @@ pub unsafe extern "C" fn wasmtime_extern_delete(e: &mut ManuallyDrop, e: &wasmtime_extern_t, @@ -6582,7 +6923,7 @@ index b32eb801f1..0a297d0b0d 100644 + Box::new(wasmtime_wasm_externtype_t::from_extern_type(e.to_extern().ty(store))) } diff --git a/crates/c-api/src/func.rs b/crates/c-api/src/func.rs -index 4ff396e146..14cfe38dfd 100644 +index 6200f12146..95719e5137 100644 --- a/crates/c-api/src/func.rs +++ b/crates/c-api/src/func.rs @@ -1,7 +1,7 @@ @@ -6857,7 +7198,7 @@ index 4ff396e146..14cfe38dfd 100644 -fn store_err(err: Error, trap_ret: &mut *mut wasm_trap_t) -> Option> { +fn store_err(err: Error, trap_ret: &mut *mut wasmtime_wasm_trap_t) -> Option> { - if err.is::() { + if err.is::() || err.is::() { - *trap_ret = Box::into_raw(Box::new(wasm_trap_t::new(err))); + *trap_ret = Box::into_raw(Box::new(wasmtime_wasm_trap_t::new(err))); None @@ -7115,7 +7456,7 @@ index e7a84639e0..c2f6f9146c 100644 let result = instance_pre.underlying.instantiate(store); handle_instantiate(result, instance_ptr, trap_ptr) diff --git a/crates/c-api/src/linker.rs b/crates/c-api/src/linker.rs -index 93a0d38631..a21042f21d 100644 +index 00d04cb619..e17c23939c 100644 --- a/crates/c-api/src/linker.rs +++ b/crates/c-api/src/linker.rs @@ -1,6 +1,6 @@ @@ -7554,12 +7895,12 @@ index 307b434f80..1b6356011d 100644 let mut buf = vec![]; match guestprofiler.guest_profiler.finish(&mut buf) { diff --git a/crates/c-api/src/ref.rs b/crates/c-api/src/ref.rs -index b890f03c74..75a6e00c17 100644 +index 9774a713c1..12b0f2b55c 100644 --- a/crates/c-api/src/ref.rs +++ b/crates/c-api/src/ref.rs -@@ -3,63 +3,63 @@ use std::mem::{ManuallyDrop, MaybeUninit}; - use std::{num::NonZeroU64, os::raw::c_void, ptr}; - use wasmtime::{AnyRef, ExternRef, I31, OwnedRooted, Ref, RootScope, Val}; +@@ -6,63 +6,63 @@ use wasmtime::{ + OwnedRooted, Ref, RootScope, StorageType, StructRef, StructRefPre, StructType, Val, ValType, + }; -/// `*mut wasm_ref_t` is a reference type (`externref` or `funcref`), as seen by +/// `*mut wasmtime_wasm_ref_t` is a reference type (`externref` or `funcref`), as seen by @@ -7637,7 +7978,7 @@ index b890f03c74..75a6e00c17 100644 _info: *mut c_void, _finalizer: Option, ) { -@@ -67,119 +67,119 @@ pub extern "C" fn wasm_ref_set_host_info_with_finalizer( +@@ -70,119 +70,119 @@ pub extern "C" fn wasm_ref_set_host_info_with_finalizer( } #[unsafe(no_mangle)] @@ -7817,7 +8158,7 @@ index c6748eef95..c376736b9b 100644 #[unsafe(no_mangle)] diff --git a/crates/c-api/src/store.rs b/crates/c-api/src/store.rs -index 6e5d2d8e74..d9a6d8ff26 100644 +index 6ea7fdce72..e478c143f8 100644 --- a/crates/c-api/src/store.rs +++ b/crates/c-api/src/store.rs @@ -1,4 +1,4 @@ @@ -7848,7 +8189,7 @@ index 6e5d2d8e74..d9a6d8ff26 100644 store: WasmStoreRef { store: Arc::new(UnsafeCell::new(store)), }, -@@ -91,7 +91,7 @@ pub struct WasmtimeStoreData { +@@ -93,7 +93,7 @@ pub struct WasmtimeStoreData { /// Temporary storage for usage during host->wasm calls, same as above but /// for a different direction. @@ -7857,7 +8198,7 @@ index 6e5d2d8e74..d9a6d8ff26 100644 /// Limits for the store. pub store_limits: StoreLimits, -@@ -106,7 +106,7 @@ impl wasmtime_wasi::WasiView for WasmtimeStoreData { +@@ -122,7 +122,7 @@ impl wasmtime_wasi_http::p2::WasiHttpView for WasmtimeStoreData { #[unsafe(no_mangle)] pub extern "C" fn wasmtime_store_new( @@ -7866,9 +8207,9 @@ index 6e5d2d8e74..d9a6d8ff26 100644 data: *mut c_void, finalizer: Option, ) -> Box { -@@ -118,7 +118,7 @@ pub extern "C" fn wasmtime_store_new( - #[cfg(feature = "wasi")] - wasi: None, +@@ -136,7 +136,7 @@ pub extern "C" fn wasmtime_store_new( + #[cfg(feature = "wasi-http")] + wasi_http: None, hostcall_val_storage: Vec::new(), - wasm_val_storage: Vec::new(), + wasmtime_wasm_val_storage: Vec::new(), @@ -8037,8 +8378,40 @@ index bffb1ffc80..15b58d5d23 100644 } #[unsafe(no_mangle)] +diff --git a/crates/c-api/src/tag.rs b/crates/c-api/src/tag.rs +index bf23b8a648..8d789b0f12 100644 +--- a/crates/c-api/src/tag.rs ++++ b/crates/c-api/src/tag.rs +@@ -1,5 +1,5 @@ + use crate::{ +- WasmtimeStoreContext, WasmtimeStoreContextMut, handle_result, wasm_tagtype_t, wasmtime_error_t, ++ WasmtimeStoreContext, WasmtimeStoreContextMut, handle_result, wasmtime_wasm_tagtype_t, wasmtime_error_t, + }; + use std::mem::MaybeUninit; + use wasmtime::Tag; +@@ -8,7 +8,7 @@ use wasmtime::Tag; + #[unsafe(no_mangle)] + pub unsafe extern "C" fn wasmtime_tag_new( + mut store: WasmtimeStoreContextMut<'_>, +- tt: &wasm_tagtype_t, ++ tt: &wasmtime_wasm_tagtype_t, + ret: &mut MaybeUninit, + ) -> Option> { + let tag_type = tt.to_tag_type(store.engine()); +@@ -22,9 +22,9 @@ pub unsafe extern "C" fn wasmtime_tag_new( + pub extern "C" fn wasmtime_tag_type( + store: WasmtimeStoreContext<'_>, + tag: &Tag, +-) -> Box { ++) -> Box { + let ty = tag.ty(store); +- Box::new(wasm_tagtype_t::from_tag_type(ty)) ++ Box::new(wasmtime_wasm_tagtype_t::from_tag_type(ty)) + } + + /// Tests whether two tags are the same (identity equality). diff --git a/crates/c-api/src/trap.rs b/crates/c-api/src/trap.rs -index 1eb3a1c508..c56af91925 100644 +index 9af88d3671..7999c8e688 100644 --- a/crates/c-api/src/trap.rs +++ b/crates/c-api/src/trap.rs @@ -1,4 +1,4 @@ @@ -8047,7 +8420,7 @@ index 1eb3a1c508..c56af91925 100644 use std::cell::OnceCell; use wasmtime::{Error, Trap, WasmBacktrace, format_err}; -@@ -43,7 +43,7 @@ const _: () = { +@@ -55,7 +55,7 @@ const _: () = { }; #[repr(C)] @@ -8056,7 +8429,7 @@ index 1eb3a1c508..c56af91925 100644 pub(crate) error: Error, } -@@ -51,69 +51,69 @@ pub struct wasm_trap_t { +@@ -63,69 +63,69 @@ pub struct wasm_trap_t { // // For now the impl here is "fake it til you make it" since this is losing // context by only cloning the error string. @@ -8148,7 +8521,7 @@ index 1eb3a1c508..c56af91925 100644 let mut buffer = Vec::new(); buffer.extend_from_slice(format!("{:?}", trap.error).as_bytes()); buffer.reserve_exact(1); -@@ -122,13 +122,13 @@ pub extern "C" fn wasm_trap_message(trap: &wasm_trap_t, out: &mut wasm_message_t +@@ -134,13 +134,13 @@ pub extern "C" fn wasm_trap_message(trap: &wasm_trap_t, out: &mut wasm_message_t } #[unsafe(no_mangle)] @@ -8164,7 +8537,7 @@ index 1eb3a1c508..c56af91925 100644 trace, idx: 0, func_name: OnceCell::new(), -@@ -140,18 +140,18 @@ pub extern "C" fn wasm_trap_origin(raw: &wasm_trap_t) -> Option Option(error: &'a Error, out: &mut wasm_frame_vec_t<'a>) +@@ -175,7 +175,7 @@ pub(crate) fn error_trace<'a>(error: &'a Error, out: &mut wasm_frame_vec_t<'a>) } #[unsafe(no_mangle)] @@ -8195,7 +8568,7 @@ index 1eb3a1c508..c56af91925 100644 let trap = match raw.error.downcast_ref::() { Some(trap) => trap, None => return false, -@@ -173,59 +173,59 @@ pub extern "C" fn wasmtime_trap_code(raw: &wasm_trap_t, code: &mut u8) -> bool { +@@ -185,59 +185,59 @@ pub extern "C" fn wasmtime_trap_code(raw: &wasm_trap_t, code: &mut u8) -> bool { } #[unsafe(no_mangle)] @@ -8267,7 +8640,7 @@ index 1eb3a1c508..c56af91925 100644 Box::new(frame.clone()) } diff --git a/crates/c-api/src/types.rs b/crates/c-api/src/types.rs -index e1aa3a704a..28085d5027 100644 +index 99e08400fe..a2698e4ef2 100644 --- a/crates/c-api/src/types.rs +++ b/crates/c-api/src/types.rs @@ -1,11 +1,11 @@ @@ -8351,11 +8724,11 @@ index 5a7a72c582..a0f2c3298e 100644 + .get_or_init(|| wasmtime_wasm_externtype_t::from_cextern_type(et.ty.clone())) } diff --git a/crates/c-api/src/types/extern.rs b/crates/c-api/src/types/extern.rs -index 075b1b7105..5e45d76a02 100644 +index ea755bd835..2acb645015 100644 --- a/crates/c-api/src/types/extern.rs +++ b/crates/c-api/src/types/extern.rs @@ -1,14 +1,14 @@ - use crate::{CFuncType, CGlobalType, CMemoryType, CTableType}; + use crate::{CFuncType, CGlobalType, CMemoryType, CTableType, CTagType}; -use crate::{wasm_functype_t, wasm_globaltype_t, wasm_memorytype_t, wasm_tabletype_t}; +use crate::{wasm_functype_t, wasmtime_wasm_globaltype_t, wasmtime_wasm_memorytype_t, wasmtime_wasm_tabletype_t}; use wasmtime::ExternType; @@ -8372,7 +8745,7 @@ index 075b1b7105..5e45d76a02 100644 #[derive(Clone)] pub(crate) enum CExternType { -@@ -30,27 +30,27 @@ impl CExternType { +@@ -31,30 +31,30 @@ impl CExternType { } } @@ -8387,6 +8760,10 @@ index 075b1b7105..5e45d76a02 100644 +pub const WASM_EXTERN_GLOBAL: wasmtime_wasm_externkind_t = 1; +pub const WASM_EXTERN_TABLE: wasmtime_wasm_externkind_t = 2; +pub const WASM_EXTERN_MEMORY: wasmtime_wasm_externkind_t = 3; + /// Value returned by `wasm_externtype_kind` for exception tags. + /// This extends the `wasm_externkind_t` range (0-3 in wasm.h) with tag support. +-pub const WASMTIME_EXTERNTYPE_TAG: wasm_externkind_t = 4; ++pub const WASMTIME_EXTERNTYPE_TAG: wasmtime_wasm_externkind_t = 4; -impl wasm_externtype_t { - pub(crate) fn from_extern_type(ty: ExternType) -> wasm_externtype_t { @@ -8411,7 +8788,7 @@ index 075b1b7105..5e45d76a02 100644 match &et.which { CExternType::Func(_) => WASM_EXTERN_FUNC, CExternType::Table(_) => WASM_EXTERN_TABLE, -@@ -60,55 +60,55 @@ pub extern "C" fn wasm_externtype_kind(et: &wasm_externtype_t) -> wasm_externkin +@@ -65,55 +65,55 @@ pub extern "C" fn wasm_externtype_kind(et: &wasm_externtype_t) -> wasm_externkin } #[unsafe(no_mangle)] @@ -8498,7 +8875,7 @@ index 075b1b7105..5e45d76a02 100644 + wasmtime_wasm_memorytype_t::try_from(et) } diff --git a/crates/c-api/src/types/func.rs b/crates/c-api/src/types/func.rs -index 220801a3f1..72e0318778 100644 +index af506ee1fb..e2bf45248d 100644 --- a/crates/c-api/src/types/func.rs +++ b/crates/c-api/src/types/func.rs @@ -1,4 +1,4 @@ @@ -8522,7 +8899,7 @@ index 220801a3f1..72e0318778 100644 #[derive(Clone)] enum LazyFuncType { -@@ -83,26 +83,26 @@ impl<'a, T> ExactSizeIterator for LazyFuncTypeIter<'a, T> where T: ExactSizeIter +@@ -83,32 +83,32 @@ impl<'a, T> ExactSizeIterator for LazyFuncTypeIter<'a, T> where T: ExactSizeIter #[derive(Clone)] pub(crate) struct CFuncType { ty: Arc>, @@ -8554,12 +8931,21 @@ index 220801a3f1..72e0318778 100644 } } +- pub(crate) fn from_cfunc(ty: CFuncType) -> wasm_functype_t { +- wasm_functype_t { +- ext: wasm_externtype_t::from_cextern_type(CExternType::Func(ty)), ++ pub(crate) fn from_cfunc(ty: CFuncType) -> wasmtime_wasm_functype_t { ++ wasmtime_wasm_functype_t { ++ ext: wasmtime_wasm_externtype_t::from_cextern_type(CExternType::Func(ty)), + } + } + - pub(crate) fn try_from(e: &wasm_externtype_t) -> Option<&wasm_functype_t> { + pub(crate) fn try_from(e: &wasmtime_wasm_externtype_t) -> Option<&wasmtime_wasm_functype_t> { match &e.which { CExternType::Func(_) => Some(unsafe { &*(e as *const _ as *const _) }), _ => None, -@@ -141,10 +141,10 @@ impl CFuncType { +@@ -147,10 +147,10 @@ impl CFuncType { } #[unsafe(no_mangle)] @@ -8574,7 +8960,7 @@ index 220801a3f1..72e0318778 100644 let params = params .take() .into_iter() -@@ -155,39 +155,39 @@ pub extern "C" fn wasm_functype_new( +@@ -161,39 +161,39 @@ pub extern "C" fn wasm_functype_new( .into_iter() .map(|vt| vt.unwrap().ty.clone()) .collect(); @@ -9054,8 +9440,118 @@ index 63440f9b29..81b2a408df 100644 +pub extern "C" fn wasmtime_wasm_tabletype_as_externtype_const(ty: &wasmtime_wasm_tabletype_t) -> &wasmtime_wasm_externtype_t { &ty.ext } +diff --git a/crates/c-api/src/types/tag.rs b/crates/c-api/src/types/tag.rs +index 8f22f4bf03..734662704a 100644 +--- a/crates/c-api/src/types/tag.rs ++++ b/crates/c-api/src/types/tag.rs +@@ -1,19 +1,19 @@ +-use crate::{CExternType, CFuncType, wasm_externtype_t, wasm_functype_t}; ++use crate::{CExternType, CFuncType, wasmtime_wasm_externtype_t, wasmtime_wasm_functype_t}; + use std::cell::OnceCell; + use wasmtime::{Engine, TagType}; + + #[repr(transparent)] + #[derive(Clone)] +-pub struct wasm_tagtype_t { +- ext: wasm_externtype_t, ++pub struct wasmtime_wasm_tagtype_t { ++ ext: wasmtime_wasm_externtype_t, + } + +-wasmtime_c_api_macros::declare_ty!(wasm_tagtype_t); ++wasmtime_c_api_macros::declare_ty!(wasmtime_wasm_tagtype_t); + + #[derive(Clone)] + pub(crate) struct CTagType { + ty: CFuncType, +- functype_cache: OnceCell>, ++ functype_cache: OnceCell>, + } + + impl CTagType { +@@ -32,8 +32,8 @@ impl CTagType { + } + } + +-impl wasm_tagtype_t { +- pub(crate) fn try_from(e: &wasm_externtype_t) -> Option<&wasm_tagtype_t> { ++impl wasmtime_wasm_tagtype_t { ++ pub(crate) fn try_from(e: &wasmtime_wasm_externtype_t) -> Option<&wasmtime_wasm_tagtype_t> { + match &e.which { + CExternType::Tag(_) => Some(unsafe { &*(e as *const _ as *const _) }), + _ => None, +@@ -54,9 +54,9 @@ impl wasm_tagtype_t { + } + + /// Creates a `wasm_tagtype_t` from a Wasmtime `TagType`. +- pub(crate) fn from_tag_type(ty: TagType) -> wasm_tagtype_t { +- wasm_tagtype_t { +- ext: wasm_externtype_t::from_cextern_type(CExternType::Tag(CTagType::new(ty))), ++ pub(crate) fn from_tag_type(ty: TagType) -> wasmtime_wasm_tagtype_t { ++ wasmtime_wasm_tagtype_t { ++ ext: wasmtime_wasm_externtype_t::from_cextern_type(CExternType::Tag(CTagType::new(ty))), + } + } + } +@@ -64,43 +64,43 @@ impl wasm_tagtype_t { + /// Creates a new tag type from a function type describing the exception payload. + /// Takes ownership of `functype`. + #[unsafe(no_mangle)] +-pub extern "C" fn wasm_tagtype_new(functype: Box) -> Box { ++pub extern "C" fn wasmtime_wasm_tagtype_new(functype: Box) -> Box { + let cfunc = functype.ty().clone(); +- Box::new(wasm_tagtype_t { +- ext: wasm_externtype_t::from_cextern_type(CExternType::Tag(CTagType::from_cfunc(cfunc))), ++ Box::new(wasmtime_wasm_tagtype_t { ++ ext: wasmtime_wasm_externtype_t::from_cextern_type(CExternType::Tag(CTagType::from_cfunc(cfunc))), + }) + } + + /// Returns a borrowed reference to the function type describing this tag's exception payload. + #[unsafe(no_mangle)] +-pub extern "C" fn wasm_tagtype_functype(tt: &wasm_tagtype_t) -> &wasm_functype_t { ++pub extern "C" fn wasmtime_wasm_tagtype_functype(tt: &wasmtime_wasm_tagtype_t) -> &wasmtime_wasm_functype_t { + let cty = tt.cty(); + cty.functype_cache +- .get_or_init(|| Box::new(wasm_functype_t::from_cfunc(cty.ty.clone()))) ++ .get_or_init(|| Box::new(wasmtime_wasm_functype_t::from_cfunc(cty.ty.clone()))) + } + + /// Converts a `wasm_tagtype_t` to a `wasm_externtype_t` (borrowed). + #[unsafe(no_mangle)] +-pub extern "C" fn wasm_tagtype_as_externtype(ty: &wasm_tagtype_t) -> &wasm_externtype_t { ++pub extern "C" fn wasmtime_wasm_tagtype_as_externtype(ty: &wasmtime_wasm_tagtype_t) -> &wasmtime_wasm_externtype_t { + &ty.ext + } + + /// Converts a const `wasm_tagtype_t` to a const `wasm_externtype_t` (borrowed). + #[unsafe(no_mangle)] +-pub extern "C" fn wasm_tagtype_as_externtype_const(ty: &wasm_tagtype_t) -> &wasm_externtype_t { ++pub extern "C" fn wasmtime_wasm_tagtype_as_externtype_const(ty: &wasmtime_wasm_tagtype_t) -> &wasmtime_wasm_externtype_t { + &ty.ext + } + + /// Converts a `wasm_externtype_t` to a `wasm_tagtype_t`, or NULL if not a tag. + #[unsafe(no_mangle)] +-pub extern "C" fn wasm_externtype_as_tagtype(et: &wasm_externtype_t) -> Option<&wasm_tagtype_t> { +- wasm_externtype_as_tagtype_const(et) ++pub extern "C" fn wasmtime_wasm_externtype_as_tagtype(et: &wasmtime_wasm_externtype_t) -> Option<&wasmtime_wasm_tagtype_t> { ++ wasmtime_wasm_externtype_as_tagtype_const(et) + } + + /// Converts a const `wasm_externtype_t` to a const `wasm_tagtype_t`, or NULL if not a tag. + #[unsafe(no_mangle)] +-pub extern "C" fn wasm_externtype_as_tagtype_const( +- et: &wasm_externtype_t, +-) -> Option<&wasm_tagtype_t> { +- wasm_tagtype_t::try_from(et) ++pub extern "C" fn wasmtime_wasm_externtype_as_tagtype_const( ++ et: &wasmtime_wasm_externtype_t, ++) -> Option<&wasmtime_wasm_tagtype_t> { ++ wasmtime_wasm_tagtype_t::try_from(et) + } diff --git a/crates/c-api/src/types/val.rs b/crates/c-api/src/types/val.rs -index 57f10d35b0..40cf3d424a 100644 +index baf134e6b4..f2e4f59820 100644 --- a/crates/c-api/src/types/val.rs +++ b/crates/c-api/src/types/val.rs @@ -2,33 +2,33 @@ use wasmtime::{HeapType, ValType}; @@ -9115,7 +9611,7 @@ index 57f10d35b0..40cf3d424a 100644 ValType::I32 => WASM_I32, ValType::I64 => WASM_I64, diff --git a/crates/c-api/src/val.rs b/crates/c-api/src/val.rs -index 8da29cc8d7..105a23c5b2 100644 +index 8d8ff86dfc..a1d317737f 100644 --- a/crates/c-api/src/val.rs +++ b/crates/c-api/src/val.rs @@ -1,6 +1,6 @@ @@ -9123,7 +9619,7 @@ index 8da29cc8d7..105a23c5b2 100644 use crate::{ - WASM_I32, from_valtype, into_valtype, wasm_ref_t, wasm_valkind_t, wasmtime_anyref_t, + WASM_I32, from_valtype, into_valtype, wasmtime_wasm_ref_t, wasmtime_wasm_valkind_t, wasmtime_anyref_t, - wasmtime_externref_t, wasmtime_valkind_t, + wasmtime_exnref_t, wasmtime_externref_t, wasmtime_valkind_t, }; use std::mem::{ManuallyDrop, MaybeUninit}; @@ -8,24 +8,24 @@ use std::ptr; @@ -9508,8 +10004,21 @@ index 5f6f0f6630..aa51a06d82 100644 ) -> Option> { let wat = crate::slice_from_raw_parts(wat, wat_len); let wat = match std::str::from_utf8(wat) { +diff --git a/crates/c-api/tests/component/types.cc b/crates/c-api/tests/component/types.cc +index 5953366f48..fd50a3f7f5 100644 +--- a/crates/c-api/tests/component/types.cc ++++ b/crates/c-api/tests/component/types.cc +@@ -190,7 +190,7 @@ TEST(types, valtype_list) { + + TEST(types, valtype_map) { + Config config; +- config.wasm_component_model_map(true); ++ config.wasmtime_wasm_component_model_map(true); + Engine engine(std::move(config)); + auto component = + Component::compile( diff --git a/crates/c-api/tests/config.cc b/crates/c-api/tests/config.cc -index 1d61d232a8..4a39191034 100644 +index 3637dd4b25..88afe3f6e5 100644 --- a/crates/c-api/tests/config.cc +++ b/crates/c-api/tests/config.cc @@ -37,22 +37,22 @@ TEST(Config, Smoke) { @@ -9551,22 +10060,189 @@ index 1d61d232a8..4a39191034 100644 config.strategy(Strategy::Auto); config.cranelift_debug_verifier(false); config.cranelift_opt_level(OptLevel::Speed); +diff --git a/crates/c-api/tests/exception.cc b/crates/c-api/tests/exception.cc +index 63962b7231..a7b307bb00 100644 +--- a/crates/c-api/tests/exception.cc ++++ b/crates/c-api/tests/exception.cc +@@ -5,7 +5,7 @@ using namespace wasmtime; + + static Engine make_engine() { + Config config; +- config.wasm_exceptions(true); ++ config.wasmtime_wasm_exceptions(true); + return Engine(std::move(config)); + } + +diff --git a/crates/c-api/tests/gc.cc b/crates/c-api/tests/gc.cc +index b7fbc44501..acba2037b0 100644 +--- a/crates/c-api/tests/gc.cc ++++ b/crates/c-api/tests/gc.cc +@@ -7,7 +7,7 @@ using namespace wasmtime; + + TEST(EqRef, CopyAndMove) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + +@@ -49,7 +49,7 @@ TEST(EqRef, NullEqRef) { + + TEST(I31Ref, CreateAndRead) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -75,7 +75,7 @@ TEST(I31Ref, CreateAndRead) { + + TEST(I31Ref, SignedValues) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -93,7 +93,7 @@ TEST(I31Ref, SignedValues) { + + TEST(StructRef, CreateAndReadFields) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -131,7 +131,7 @@ TEST(StructRef, CreateAndReadFields) { + + TEST(StructRef, UpcastAndDowncast) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -163,7 +163,7 @@ TEST(StructRef, UpcastAndDowncast) { + + TEST(ArrayRef, CreateAndReadElements) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -200,7 +200,7 @@ TEST(ArrayRef, CreateAndReadElements) { + + TEST(ArrayRef, UpcastAndDowncast) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -235,7 +235,7 @@ TEST(ArrayRef, UpcastAndDowncast) { + + TEST(AnyRef, DowncastI31) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -258,7 +258,7 @@ TEST(AnyRef, DowncastI31) { + + TEST(AnyRef, DowncastStruct) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +@@ -286,7 +286,7 @@ TEST(AnyRef, DowncastStruct) { + + TEST(AnyRef, DowncastArray) { + Config config; +- config.wasm_gc(true); ++ config.wasmtime_wasm_gc(true); + Engine engine(std::move(config)); + Store store(engine); + auto cx = store.context(); +diff --git a/crates/c-api/tests/tag_type.cc b/crates/c-api/tests/tag_type.cc +index a2f7db1ead..2beb29e303 100644 +--- a/crates/c-api/tests/tag_type.cc ++++ b/crates/c-api/tests/tag_type.cc +@@ -8,7 +8,7 @@ using namespace wasmtime; + // Basic TagType construction and param inspection via functype. + TEST(TagType, Simple) { + Config config; +- config.wasm_exceptions(true); ++ config.wasmtime_wasm_exceptions(true); + Engine engine(std::move(config)); + + // Tag with no payload: empty functype. +@@ -38,7 +38,7 @@ TEST(TagType, Simple) { + // Previously, CExternType::new() hit todo!() for ExternType::Tag. + TEST(TagType, ModuleExportEnumeration) { + Config config; +- config.wasm_exceptions(true); ++ config.wasmtime_wasm_exceptions(true); + Engine engine(std::move(config)); + + // Compile a module that exports a tag. The tag has an i32 payload. +@@ -64,11 +64,11 @@ TEST(TagType, ModuleExportEnumeration) { + EXPECT_EQ(params.begin()->kind(), ValKind::I32); + } + +-// Verify that wasm_externtype_kind returns WASM_EXTERN_TAG for tag exports ++// Verify that wasmtime_wasm_externtype_kind returns WASM_EXTERN_TAG for tag exports + // and that the C-level cast functions work correctly. + TEST(TagType, ExternTypeKindAndCast) { + Config config; +- config.wasm_exceptions(true); ++ config.wasmtime_wasm_exceptions(true); + Engine engine(std::move(config)); + + Module module = Module::compile(engine, "(module" +@@ -83,14 +83,14 @@ TEST(TagType, ExternTypeKindAndCast) { + auto e = *exports.begin(); + + // Access the raw C export type to verify kind and cast functions. +- const wasm_exporttype_t *raw_et = +- *reinterpret_cast(&e); +- const wasm_externtype_t *ext = wasm_exporttype_type(raw_et); ++ const wasmtime_wasm_exporttype_t *raw_et = ++ *reinterpret_cast(&e); ++ const wasmtime_wasm_externtype_t *ext = wasmtime_wasm_exporttype_type(raw_et); + +- EXPECT_EQ(wasm_externtype_kind(ext), WASM_EXTERN_TAG); +- EXPECT_NE(wasm_externtype_as_tagtype_const(ext), nullptr); +- EXPECT_EQ(wasm_externtype_as_functype_const(ext), nullptr); +- EXPECT_EQ(wasm_externtype_as_globaltype_const(ext), nullptr); +- EXPECT_EQ(wasm_externtype_as_memorytype_const(ext), nullptr); +- EXPECT_EQ(wasm_externtype_as_tabletype_const(ext), nullptr); ++ EXPECT_EQ(wasmtime_wasm_externtype_kind(ext), WASM_EXTERN_TAG); ++ EXPECT_NE(wasmtime_wasm_externtype_as_tagtype_const(ext), nullptr); ++ EXPECT_EQ(wasmtime_wasm_externtype_as_functype_const(ext), nullptr); ++ EXPECT_EQ(wasmtime_wasm_externtype_as_globaltype_const(ext), nullptr); ++ EXPECT_EQ(wasmtime_wasm_externtype_as_memorytype_const(ext), nullptr); ++ EXPECT_EQ(wasmtime_wasm_externtype_as_tabletype_const(ext), nullptr); + } diff --git a/src/lib.rs b/src/lib.rs -index f0b736f95b..834b9d2ab5 100644 +index f0b736f95b..e110da813a 100644 --- a/src/lib.rs +++ b/src/lib.rs -@@ -1,10 +1 @@ +@@ -1,10 +1,2 @@ -//! The Wasmtime command line interface (CLI) crate. -//! -//! This crate implements the Wasmtime command line tools. -- ++pub use wasmtime_c_api; + -#![deny(missing_docs)] - -pub mod commands; - -#[cfg(any(feature = "run", feature = "wizer"))] -pub(crate) mod common; -+pub use wasmtime_c_api; -- -2.53.0.880.g73c4285caa-goog +2.54.0.563.g4f69b47b94-goog diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 4f0937c2a..2a61f4cab 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -373,9 +373,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "c7c2f13eeb7c513352e4e65940cb88ee69d9d1e6c92bb40a3886e71dc7c24d66", - strip_prefix = "wasmtime-42.0.1", - url = "https://github.com/bytecodealliance/wasmtime/archive/v42.0.1.tar.gz", + sha256 = "bcfafdb58721d460c7bd1b4a0f1b7480145e38be5a6824a1656a7803f20d6667", + strip_prefix = "wasmtime-44.0.1", + url = "https://github.com/bytecodealliance/wasmtime/archive/v44.0.1.tar.gz", patches = ["@proxy_wasm_cpp_host//bazel/external:prefixed_wasmtime.patch"], patch_args = ["-p1"], )