diff --git a/bazel/cargo/BUILD.bazel b/bazel/cargo/BUILD.bazel index 4ee8495f9..36448d9ef 100644 --- a/bazel/cargo/BUILD.bazel +++ b/bazel/cargo/BUILD.bazel @@ -14,7 +14,7 @@ licenses([ # Aliased targets alias( name = "anyhow", - actual = "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", + actual = "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", tags = [ "cargo-raze", "manual", @@ -30,27 +30,9 @@ alias( ], ) -alias( - name = "indexmap", - actual = "@proxy_wasm_cpp_host__indexmap__1_1_0//:indexmap", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "object", - actual = "@proxy_wasm_cpp_host__object__0_21_1//:object", - tags = [ - "cargo-raze", - "manual", - ], -) - alias( name = "once_cell", - actual = "@proxy_wasm_cpp_host__once_cell__1_5_2//:once_cell", + actual = "@proxy_wasm_cpp_host__once_cell__1_7_2//:once_cell", tags = [ "cargo-raze", "manual", @@ -59,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@proxy_wasm_cpp_host__wasmtime__0_21_0//:wasmtime", + actual = "@proxy_wasm_cpp_host__wasmtime__0_25_0//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/Cargo.raze.lock b/bazel/cargo/Cargo.raze.lock index d025df1b3..958a38635 100644 --- a/bazel/cargo/Cargo.raze.lock +++ b/bazel/cargo/Cargo.raze.lock @@ -6,14 +6,14 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7" dependencies = [ - "gimli 0.23.0", + "gimli", ] [[package]] name = "adler" -version = "0.2.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aho-corasick" @@ -26,9 +26,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1" +checksum = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b" [[package]] name = "atty" @@ -57,15 +57,15 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.23.0", + "object", "rustc-demangle", ] [[package]] name = "bincode" -version = "1.3.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d" +checksum = "d175dfa69e619905c4c3cdb7c3c203fa3bdd5d51184e3afdb2742c0280493772" dependencies = [ "byteorder", "serde", @@ -79,15 +79,15 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "byteorder" -version = "1.4.2" +version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" [[package]] name = "cc" -version = "1.0.66" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48" +checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd" [[package]] name = "cfg-if" @@ -95,27 +95,37 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cpp_demangle" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44919ecaf6f99e8e737bc239408931c9a01e9a6c74814fee8242dd2506b65390" +dependencies = [ + "cfg-if", + "glob", +] + [[package]] name = "cranelift-bforest" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9221545c0507dc08a62b2d8b5ffe8e17ac580b0a74d1813b496b8d70b070fbd0" +checksum = "841476ab6d3530136b5162b64a2c6969d68141843ad2fd59126e5ea84fd9b5fe" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9936ea608b6cd176f107037f6adbb4deac933466fc7231154f96598b2d3ab1" +checksum = "2b5619cef8d19530298301f91e9a0390d369260799a3d8dd01e28fc88e53637a" dependencies = [ "byteorder", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", - "gimli 0.22.0", + "gimli", "log", "regalloc", "serde", @@ -126,9 +136,9 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ef2b2768568306540f4c8db3acce9105534d34c4a1e440529c1e702d7f8c8d7" +checksum = "2a319709b8267939155924114ea83f2a5b5af65ece3ac6f703d4735f3c66bb0d" dependencies = [ "cranelift-codegen-shared", "cranelift-entity", @@ -136,24 +146,27 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6759012d6d19c4caec95793f052613e9d4113e925e7f14154defbac0f1d4c938" +checksum = "15925b23cd3a448443f289d85a8f53f3cf7a80f0137aa53c8e3b01ae8aefaef7" +dependencies = [ + "serde", +] [[package]] name = "cranelift-entity" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86badbce14e15f52a45b666b38abe47b204969dd7f8fb7488cb55dd46b361fa6" +checksum = "610cf464396c89af0f9f7c64b5aa90aa9e8812ac84084098f1565b40051bc415" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b608bb7656c554d0a4cf8f50c7a10b857e80306f6ff829ad6d468a7e2323c8d8" +checksum = "4d20c8bd4a1c41ded051734f0e33ad1d843a0adc98b9bd975ee6657e2c70cdc9" dependencies = [ "cranelift-codegen", "log", @@ -163,20 +176,19 @@ dependencies = [ [[package]] name = "cranelift-native" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5246a1af14b7812ee4d94a3f0c4b295ec02c370c08b0ecc3dec512890fdad175" +checksum = "304e100df41f34a5a15291b37bfe0fd7abd0427a2c84195cc69578b4137f9099" dependencies = [ "cranelift-codegen", - "raw-cpuid", "target-lexicon", ] [[package]] name = "cranelift-wasm" -version = "0.68.0" +version = "0.72.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ef491714e82f9fb910547e2047a3b1c47c03861eca67540c5abd0416371a2ac" +checksum = "4efd473b2917303957e0bfaea6ea9d08b8c93695bee015a611a2514ce5254abc" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -186,7 +198,7 @@ dependencies = [ "serde", "smallvec", "thiserror", - "wasmparser 0.65.0", + "wasmparser", ] [[package]] @@ -223,11 +235,22 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + [[package]] name = "gimli" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724" +checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce" dependencies = [ "fallible-iterator", "indexmap", @@ -235,10 +258,16 @@ dependencies = [ ] [[package]] -name = "gimli" -version = "0.23.0" +name = "glob" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" + +[[package]] +name = "hashbrown" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" [[package]] name = "hermit-abi" @@ -257,18 +286,20 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "indexmap" -version = "1.1.0" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d6d89e0948bf10c08b9ecc8ac5b83f07f857ebe2c0cbe38de15b4e4f510356" +checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" dependencies = [ + "autocfg", + "hashbrown", "serde", ] [[package]] name = "itertools" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" +checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319" dependencies = [ "either", ] @@ -281,9 +312,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.86" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c" +checksum = "56d855069fafbb9b344c0f962150cd2c1187975cb1c22c1522c240d8c4986714" [[package]] name = "log" @@ -311,18 +342,18 @@ checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" [[package]] name = "memoffset" -version = "0.5.6" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa" +checksum = "f83fb6581e8ed1f85fd45c116db8405483899489e38406156c25eb743554361d" dependencies = [ "autocfg", ] [[package]] name = "miniz_oxide" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" dependencies = [ "adler", "autocfg", @@ -336,32 +367,37 @@ checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238" [[package]] name = "object" -version = "0.21.1" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693" +checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4" dependencies = [ "crc32fast", "indexmap", - "wasmparser 0.57.0", ] [[package]] -name = "object" -version = "0.23.0" +name = "once_cell" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4" +checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" [[package]] -name = "once_cell" -version = "1.5.2" +name = "paste" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0" +checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" + +[[package]] +name = "ppv-lite86" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" [[package]] name = "proc-macro2" -version = "1.0.24" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" +checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec" dependencies = [ "unicode-xid", ] @@ -385,14 +421,44 @@ dependencies = [ ] [[package]] -name = "raw-cpuid" -version = "7.0.4" +name = "rand" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beb71f708fe39b2c5e98076204c3cc094ee5a4c12c4cdb119a2b72dc34164f41" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "bitflags", - "cc", - "rustc_version", + "getrandom", + "libc", + "rand_chacha", + "rand_core", + "rand_hc", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core", ] [[package]] @@ -403,26 +469,26 @@ checksum = "571f7f397d61c4755285cd37853fe8e03271c243424a907415909379659381c5" dependencies = [ "log", "rustc-hash", + "serde", "smallvec", ] [[package]] name = "regex" -version = "1.4.3" +version = "1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a" +checksum = "957056ecddbeba1b26965114e191d2e8589ce74db242b6ea25fc4062427a5c19" dependencies = [ "aho-corasick", "memchr", "regex-syntax", - "thread_local", ] [[package]] name = "regex-syntax" -version = "0.6.22" +version = "0.6.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581" +checksum = "24d5f089152e60f62d28b835fbff2cd2e8dc0baf1ac13343bef92ab7eed84548" [[package]] name = "region" @@ -448,44 +514,20 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver", -] - -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - [[package]] name = "serde" -version = "1.0.123" +version = "1.0.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d5161132722baa40d802cc70b15262b98258453e85e5d1d365c757c73869ae" +checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.123" +version = "1.0.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9391c295d64fc0abb2c556bad848f33cb8296276b1ad2677d1ae1ace4f258f31" +checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d" dependencies = [ "proc-macro2", "quote", @@ -506,9 +548,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "1.0.60" +version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c700597eca8a5a762beb35753ef6b94df201c81cca676604f547495a0d7f0081" +checksum = "3ce15dd3ed8aa2f8eeac4716d6ef5ab58b6b9256db41d7e1a0224c2788e8fd87" dependencies = [ "proc-macro2", "quote", @@ -532,33 +574,24 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146" +checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1" +checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" dependencies = [ "proc-macro2", "quote", "syn", ] -[[package]] -name = "thread_local" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd" -dependencies = [ - "once_cell", -] - [[package]] name = "unicode-xid" version = "0.2.1" @@ -566,36 +599,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" [[package]] -name = "wasmparser" -version = "0.57.0" +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32fddd575d477c6e9702484139cf9f23dcd554b06d185ed0f56c857dd3a47aa6" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasmparser" -version = "0.65.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc2fe6350834b4e528ba0901e7aa405d78b89dc1fa3145359eb4de0e323fcf" +checksum = "755a9a4afe3f6cccbbe6d7e965eef44cf260b001f93e547eba84255c1d0187d8" [[package]] name = "wasmtime" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a4d945221f4d29feecdac80514c1ef1527dfcdcc7715ff1b4a5161fe5c8ebab" +checksum = "26ea2ad49bb047e10ca292f55cd67040bef14b676d07e7b04ed65fd312d52ece" dependencies = [ "anyhow", "backtrace", "bincode", "cfg-if", - "lazy_static", + "cpp_demangle", + "indexmap", "libc", "log", + "paste", "region", "rustc-demangle", "serde", "smallvec", "target-lexicon", - "wasmparser 0.65.0", + "wasmparser", "wasmtime-environ", "wasmtime-jit", "wasmtime-profiling", @@ -605,12 +640,10 @@ dependencies = [ [[package]] name = "wasmtime-c-api-bazel" -version = "0.21.0" +version = "0.25.0" dependencies = [ "anyhow", "env_logger", - "indexmap", - "object 0.21.1", "once_cell", "wasmtime", "wasmtime-c-api-macros", @@ -619,7 +652,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.21.0#ab1958434a2b7a5b07d197e71b88200d9e06e026" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.25.0#a8aaf812ef675e92f717893fc845db2dc5018128" dependencies = [ "proc-macro2", "quote", @@ -627,59 +660,62 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1e55c17317922951a9bdd5547b527d2cc7be3cea118dc17ad7c05a4c8e67c7a" +checksum = "5e769b80abbb89255926f69ba37085f7dd6608c980134838c3c89d7bf6e776bc" dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-frontend", "cranelift-wasm", + "wasmparser", "wasmtime-environ", ] [[package]] name = "wasmtime-debug" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576daa6b228f8663c38bede2f7f23d094d578b0061c39fc122cc28eee1e2c18" +checksum = "38501788c936a4932b0ddf61135963a4b7d1f549f63a6908ae56a1c86d74fc7b" dependencies = [ "anyhow", - "gimli 0.22.0", + "gimli", "more-asserts", - "object 0.21.1", + "object", "target-lexicon", "thiserror", - "wasmparser 0.65.0", + "wasmparser", "wasmtime-environ", ] [[package]] name = "wasmtime-environ" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396ceda32fd67205235c098e092a85716942883bfd2c773c250cf5f2457b8307" +checksum = "fae793ea1387b2fede277d209bb27285366df58f0a3ae9d59e58a7941dce60fa" dependencies = [ "anyhow", "cfg-if", "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli 0.22.0", + "gimli", "indexmap", "log", "more-asserts", + "region", "serde", "thiserror", - "wasmparser 0.65.0", + "wasmparser", ] [[package]] name = "wasmtime-jit" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a45f6dd5bdf12d41f10100482d58d9cb160a85af5884dfd41a2861af4b0f50" +checksum = "9b3bd0fae8396473a68a1491559d61776127bb9bea75c9a6a6c038ae4a656eb2" dependencies = [ + "addr2line", "anyhow", "cfg-if", "cranelift-codegen", @@ -687,15 +723,15 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.22.0", + "gimli", "log", "more-asserts", - "object 0.21.1", + "object", "region", "serde", "target-lexicon", "thiserror", - "wasmparser 0.65.0", + "wasmparser", "wasmtime-cranelift", "wasmtime-debug", "wasmtime-environ", @@ -707,13 +743,13 @@ dependencies = [ [[package]] name = "wasmtime-obj" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84aebe3b4331a603625f069944192fa3f6ffe499802ef91273fd73af9a8087d" +checksum = "a79fa098a3be8fabc50f5be60f8e47694d569afdc255de37850fc80295485012" dependencies = [ "anyhow", "more-asserts", - "object 0.21.1", + "object", "target-lexicon", "wasmtime-debug", "wasmtime-environ", @@ -721,9 +757,9 @@ dependencies = [ [[package]] name = "wasmtime-profiling" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f27fda1b81d701f7ea1da9ae51b5b62d4cdc37ca5b93eae771ca2cde53b70c" +checksum = "d81e2106efeef4c01917fd16956a91d39bb78c07cf97027abdba9ca98da3f258" dependencies = [ "anyhow", "cfg-if", @@ -737,10 +773,11 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "0.21.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e452b8b3b32dbf1b831f05003a740581cc2c3c2122f5806bae9f167495e1e66c" +checksum = "f747c656ca4680cad7846ae91c57d03f2dd4f4170da77a700df4e21f0d805378" dependencies = [ + "anyhow", "backtrace", "cc", "cfg-if", @@ -751,6 +788,7 @@ dependencies = [ "memoffset", "more-asserts", "psm", + "rand", "region", "thiserror", "wasmtime-environ", diff --git a/bazel/cargo/Cargo.toml b/bazel/cargo/Cargo.toml index 1c7324365..b081d562a 100644 --- a/bazel/cargo/Cargo.toml +++ b/bazel/cargo/Cargo.toml @@ -1,19 +1,17 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "0.21.0" +version = "0.25.0" [lib] path = "fake_lib.rs" [dependencies] -anyhow = "1.0" env_logger = "0.8" -indexmap = {version = "=1.1.0", features = ["serde-1"]} -object = {version = "=0.21.1", default-features = false, features = ["write"]} +anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "0.21.0", default-features = false} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.21.0", path = "crates/c-api/macros"} +wasmtime = {version = "0.25.0", default-features = false} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.25.0", path = "crates/c-api/macros"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" diff --git a/bazel/cargo/crates.bzl b/bazel/cargo/crates.bzl index a27aa34ca..53fe7e24f 100644 --- a/bazel/cargo/crates.bzl +++ b/bazel/cargo/crates.bzl @@ -23,12 +23,12 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__adler__0_2_3", - url = "https://crates.io/api/v1/crates/adler/0.2.3/download", + name = "proxy_wasm_cpp_host__adler__1_0_2", + url = "https://crates.io/api/v1/crates/adler/1.0.2/download", type = "tar.gz", - sha256 = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e", - strip_prefix = "adler-0.2.3", - build_file = Label("//bazel/cargo/remote:BUILD.adler-0.2.3.bazel"), + sha256 = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe", + strip_prefix = "adler-1.0.2", + build_file = Label("//bazel/cargo/remote:BUILD.adler-1.0.2.bazel"), ) maybe( @@ -43,12 +43,12 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__anyhow__1_0_38", - url = "https://crates.io/api/v1/crates/anyhow/1.0.38/download", + name = "proxy_wasm_cpp_host__anyhow__1_0_40", + url = "https://crates.io/api/v1/crates/anyhow/1.0.40/download", type = "tar.gz", - sha256 = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1", - strip_prefix = "anyhow-1.0.38", - build_file = Label("//bazel/cargo/remote:BUILD.anyhow-1.0.38.bazel"), + sha256 = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b", + strip_prefix = "anyhow-1.0.40", + build_file = Label("//bazel/cargo/remote:BUILD.anyhow-1.0.40.bazel"), ) maybe( @@ -83,12 +83,12 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__bincode__1_3_1", - url = "https://crates.io/api/v1/crates/bincode/1.3.1/download", + name = "proxy_wasm_cpp_host__bincode__1_3_2", + url = "https://crates.io/api/v1/crates/bincode/1.3.2/download", type = "tar.gz", - sha256 = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d", - strip_prefix = "bincode-1.3.1", - build_file = Label("//bazel/cargo/remote:BUILD.bincode-1.3.1.bazel"), + sha256 = "d175dfa69e619905c4c3cdb7c3c203fa3bdd5d51184e3afdb2742c0280493772", + strip_prefix = "bincode-1.3.2", + build_file = Label("//bazel/cargo/remote:BUILD.bincode-1.3.2.bazel"), ) maybe( @@ -103,22 +103,22 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__byteorder__1_4_2", - url = "https://crates.io/api/v1/crates/byteorder/1.4.2/download", + name = "proxy_wasm_cpp_host__byteorder__1_3_4", + url = "https://crates.io/api/v1/crates/byteorder/1.3.4/download", type = "tar.gz", - sha256 = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b", - strip_prefix = "byteorder-1.4.2", - build_file = Label("//bazel/cargo/remote:BUILD.byteorder-1.4.2.bazel"), + sha256 = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de", + strip_prefix = "byteorder-1.3.4", + build_file = Label("//bazel/cargo/remote:BUILD.byteorder-1.3.4.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cc__1_0_66", - url = "https://crates.io/api/v1/crates/cc/1.0.66/download", + name = "proxy_wasm_cpp_host__cc__1_0_67", + url = "https://crates.io/api/v1/crates/cc/1.0.67/download", type = "tar.gz", - sha256 = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48", - strip_prefix = "cc-1.0.66", - build_file = Label("//bazel/cargo/remote:BUILD.cc-1.0.66.bazel"), + sha256 = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd", + strip_prefix = "cc-1.0.67", + build_file = Label("//bazel/cargo/remote:BUILD.cc-1.0.67.bazel"), ) maybe( @@ -133,82 +133,92 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_bforest__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.68.0/download", + name = "proxy_wasm_cpp_host__cpp_demangle__0_3_2", + url = "https://crates.io/api/v1/crates/cpp_demangle/0.3.2/download", type = "tar.gz", - sha256 = "9221545c0507dc08a62b2d8b5ffe8e17ac580b0a74d1813b496b8d70b070fbd0", - strip_prefix = "cranelift-bforest-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-bforest-0.68.0.bazel"), + sha256 = "44919ecaf6f99e8e737bc239408931c9a01e9a6c74814fee8242dd2506b65390", + strip_prefix = "cpp_demangle-0.3.2", + build_file = Label("//bazel/cargo/remote:BUILD.cpp_demangle-0.3.2.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_codegen__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_bforest__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.72.0/download", type = "tar.gz", - sha256 = "7e9936ea608b6cd176f107037f6adbb4deac933466fc7231154f96598b2d3ab1", - strip_prefix = "cranelift-codegen-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-codegen-0.68.0.bazel"), + sha256 = "841476ab6d3530136b5162b64a2c6969d68141843ad2fd59126e5ea84fd9b5fe", + strip_prefix = "cranelift-bforest-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-bforest-0.72.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_codegen_meta__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_codegen__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.72.0/download", type = "tar.gz", - sha256 = "4ef2b2768568306540f4c8db3acce9105534d34c4a1e440529c1e702d7f8c8d7", - strip_prefix = "cranelift-codegen-meta-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-codegen-meta-0.68.0.bazel"), + sha256 = "2b5619cef8d19530298301f91e9a0390d369260799a3d8dd01e28fc88e53637a", + strip_prefix = "cranelift-codegen-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-codegen-0.72.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_codegen_shared__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_codegen_meta__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.72.0/download", type = "tar.gz", - sha256 = "6759012d6d19c4caec95793f052613e9d4113e925e7f14154defbac0f1d4c938", - strip_prefix = "cranelift-codegen-shared-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-codegen-shared-0.68.0.bazel"), + sha256 = "2a319709b8267939155924114ea83f2a5b5af65ece3ac6f703d4735f3c66bb0d", + strip_prefix = "cranelift-codegen-meta-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-codegen-meta-0.72.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_entity__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_codegen_shared__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.72.0/download", type = "tar.gz", - sha256 = "86badbce14e15f52a45b666b38abe47b204969dd7f8fb7488cb55dd46b361fa6", - strip_prefix = "cranelift-entity-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-entity-0.68.0.bazel"), + sha256 = "15925b23cd3a448443f289d85a8f53f3cf7a80f0137aa53c8e3b01ae8aefaef7", + strip_prefix = "cranelift-codegen-shared-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-codegen-shared-0.72.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_frontend__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_entity__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.72.0/download", type = "tar.gz", - sha256 = "b608bb7656c554d0a4cf8f50c7a10b857e80306f6ff829ad6d468a7e2323c8d8", - strip_prefix = "cranelift-frontend-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-frontend-0.68.0.bazel"), + sha256 = "610cf464396c89af0f9f7c64b5aa90aa9e8812ac84084098f1565b40051bc415", + strip_prefix = "cranelift-entity-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-entity-0.72.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_native__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-native/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_frontend__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.72.0/download", type = "tar.gz", - sha256 = "5246a1af14b7812ee4d94a3f0c4b295ec02c370c08b0ecc3dec512890fdad175", - strip_prefix = "cranelift-native-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-native-0.68.0.bazel"), + sha256 = "4d20c8bd4a1c41ded051734f0e33ad1d843a0adc98b9bd975ee6657e2c70cdc9", + strip_prefix = "cranelift-frontend-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-frontend-0.72.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__cranelift_wasm__0_68_0", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.68.0/download", + name = "proxy_wasm_cpp_host__cranelift_native__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-native/0.72.0/download", type = "tar.gz", - sha256 = "8ef491714e82f9fb910547e2047a3b1c47c03861eca67540c5abd0416371a2ac", - strip_prefix = "cranelift-wasm-0.68.0", - build_file = Label("//bazel/cargo/remote:BUILD.cranelift-wasm-0.68.0.bazel"), + sha256 = "304e100df41f34a5a15291b37bfe0fd7abd0427a2c84195cc69578b4137f9099", + strip_prefix = "cranelift-native-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-native-0.72.0.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__cranelift_wasm__0_72_0", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.72.0/download", + type = "tar.gz", + sha256 = "4efd473b2917303957e0bfaea6ea9d08b8c93695bee015a611a2514ce5254abc", + strip_prefix = "cranelift-wasm-0.72.0", + build_file = Label("//bazel/cargo/remote:BUILD.cranelift-wasm-0.72.0.bazel"), ) maybe( @@ -253,12 +263,12 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__gimli__0_22_0", - url = "https://crates.io/api/v1/crates/gimli/0.22.0/download", + name = "proxy_wasm_cpp_host__getrandom__0_1_16", + url = "https://crates.io/api/v1/crates/getrandom/0.1.16/download", type = "tar.gz", - sha256 = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724", - strip_prefix = "gimli-0.22.0", - build_file = Label("//bazel/cargo/remote:BUILD.gimli-0.22.0.bazel"), + sha256 = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce", + strip_prefix = "getrandom-0.1.16", + build_file = Label("//bazel/cargo/remote:BUILD.getrandom-0.1.16.bazel"), ) maybe( @@ -271,6 +281,26 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): build_file = Label("//bazel/cargo/remote:BUILD.gimli-0.23.0.bazel"), ) + maybe( + http_archive, + name = "proxy_wasm_cpp_host__glob__0_3_0", + url = "https://crates.io/api/v1/crates/glob/0.3.0/download", + type = "tar.gz", + sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574", + strip_prefix = "glob-0.3.0", + build_file = Label("//bazel/cargo/remote:BUILD.glob-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__hashbrown__0_9_1", + url = "https://crates.io/api/v1/crates/hashbrown/0.9.1/download", + type = "tar.gz", + sha256 = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04", + strip_prefix = "hashbrown-0.9.1", + build_file = Label("//bazel/cargo/remote:BUILD.hashbrown-0.9.1.bazel"), + ) + maybe( http_archive, name = "proxy_wasm_cpp_host__hermit_abi__0_1_18", @@ -293,22 +323,22 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__indexmap__1_1_0", - url = "https://crates.io/api/v1/crates/indexmap/1.1.0/download", + name = "proxy_wasm_cpp_host__indexmap__1_6_2", + url = "https://crates.io/api/v1/crates/indexmap/1.6.2/download", type = "tar.gz", - sha256 = "a4d6d89e0948bf10c08b9ecc8ac5b83f07f857ebe2c0cbe38de15b4e4f510356", - strip_prefix = "indexmap-1.1.0", - build_file = Label("//bazel/cargo/remote:BUILD.indexmap-1.1.0.bazel"), + sha256 = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3", + strip_prefix = "indexmap-1.6.2", + build_file = Label("//bazel/cargo/remote:BUILD.indexmap-1.6.2.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__itertools__0_9_0", - url = "https://crates.io/api/v1/crates/itertools/0.9.0/download", + name = "proxy_wasm_cpp_host__itertools__0_10_0", + url = "https://crates.io/api/v1/crates/itertools/0.10.0/download", type = "tar.gz", - sha256 = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b", - strip_prefix = "itertools-0.9.0", - build_file = Label("//bazel/cargo/remote:BUILD.itertools-0.9.0.bazel"), + sha256 = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319", + strip_prefix = "itertools-0.10.0", + build_file = Label("//bazel/cargo/remote:BUILD.itertools-0.10.0.bazel"), ) maybe( @@ -323,12 +353,12 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__libc__0_2_86", - url = "https://crates.io/api/v1/crates/libc/0.2.86/download", + name = "proxy_wasm_cpp_host__libc__0_2_92", + url = "https://crates.io/api/v1/crates/libc/0.2.92/download", type = "tar.gz", - sha256 = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c", - strip_prefix = "libc-0.2.86", - build_file = Label("//bazel/cargo/remote:BUILD.libc-0.2.86.bazel"), + sha256 = "56d855069fafbb9b344c0f962150cd2c1187975cb1c22c1522c240d8c4986714", + strip_prefix = "libc-0.2.92", + build_file = Label("//bazel/cargo/remote:BUILD.libc-0.2.92.bazel"), ) maybe( @@ -363,22 +393,22 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__memoffset__0_5_6", - url = "https://crates.io/api/v1/crates/memoffset/0.5.6/download", + name = "proxy_wasm_cpp_host__memoffset__0_6_3", + url = "https://crates.io/api/v1/crates/memoffset/0.6.3/download", type = "tar.gz", - sha256 = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa", - strip_prefix = "memoffset-0.5.6", - build_file = Label("//bazel/cargo/remote:BUILD.memoffset-0.5.6.bazel"), + sha256 = "f83fb6581e8ed1f85fd45c116db8405483899489e38406156c25eb743554361d", + strip_prefix = "memoffset-0.6.3", + build_file = Label("//bazel/cargo/remote:BUILD.memoffset-0.6.3.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__miniz_oxide__0_4_3", - url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.3/download", + name = "proxy_wasm_cpp_host__miniz_oxide__0_4_4", + url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.4/download", type = "tar.gz", - sha256 = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d", - strip_prefix = "miniz_oxide-0.4.3", - build_file = Label("//bazel/cargo/remote:BUILD.miniz_oxide-0.4.3.bazel"), + sha256 = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b", + strip_prefix = "miniz_oxide-0.4.4", + build_file = Label("//bazel/cargo/remote:BUILD.miniz_oxide-0.4.4.bazel"), ) maybe( @@ -391,16 +421,6 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): build_file = Label("//bazel/cargo/remote:BUILD.more-asserts-0.2.1.bazel"), ) - maybe( - http_archive, - name = "proxy_wasm_cpp_host__object__0_21_1", - url = "https://crates.io/api/v1/crates/object/0.21.1/download", - type = "tar.gz", - sha256 = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693", - strip_prefix = "object-0.21.1", - build_file = Label("//bazel/cargo/remote:BUILD.object-0.21.1.bazel"), - ) - maybe( http_archive, name = "proxy_wasm_cpp_host__object__0_23_0", @@ -413,22 +433,42 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__once_cell__1_5_2", - url = "https://crates.io/api/v1/crates/once_cell/1.5.2/download", + name = "proxy_wasm_cpp_host__once_cell__1_7_2", + url = "https://crates.io/api/v1/crates/once_cell/1.7.2/download", + type = "tar.gz", + sha256 = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3", + strip_prefix = "once_cell-1.7.2", + build_file = Label("//bazel/cargo/remote:BUILD.once_cell-1.7.2.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__paste__1_0_5", + url = "https://crates.io/api/v1/crates/paste/1.0.5/download", type = "tar.gz", - sha256 = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0", - strip_prefix = "once_cell-1.5.2", - build_file = Label("//bazel/cargo/remote:BUILD.once_cell-1.5.2.bazel"), + sha256 = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58", + strip_prefix = "paste-1.0.5", + build_file = Label("//bazel/cargo/remote:BUILD.paste-1.0.5.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__proc_macro2__1_0_24", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.24/download", + name = "proxy_wasm_cpp_host__ppv_lite86__0_2_10", + url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.10/download", type = "tar.gz", - sha256 = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71", - strip_prefix = "proc-macro2-1.0.24", - build_file = Label("//bazel/cargo/remote:BUILD.proc-macro2-1.0.24.bazel"), + sha256 = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857", + strip_prefix = "ppv-lite86-0.2.10", + build_file = Label("//bazel/cargo/remote:BUILD.ppv-lite86-0.2.10.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__proc_macro2__1_0_26", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.26/download", + type = "tar.gz", + sha256 = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec", + strip_prefix = "proc-macro2-1.0.26", + build_file = Label("//bazel/cargo/remote:BUILD.proc-macro2-1.0.26.bazel"), ) maybe( @@ -453,12 +493,42 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__raw_cpuid__7_0_4", - url = "https://crates.io/api/v1/crates/raw-cpuid/7.0.4/download", + name = "proxy_wasm_cpp_host__rand__0_7_3", + url = "https://crates.io/api/v1/crates/rand/0.7.3/download", type = "tar.gz", - sha256 = "beb71f708fe39b2c5e98076204c3cc094ee5a4c12c4cdb119a2b72dc34164f41", - strip_prefix = "raw-cpuid-7.0.4", - build_file = Label("//bazel/cargo/remote:BUILD.raw-cpuid-7.0.4.bazel"), + sha256 = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03", + strip_prefix = "rand-0.7.3", + build_file = Label("//bazel/cargo/remote:BUILD.rand-0.7.3.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__rand_chacha__0_2_2", + url = "https://crates.io/api/v1/crates/rand_chacha/0.2.2/download", + type = "tar.gz", + sha256 = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402", + strip_prefix = "rand_chacha-0.2.2", + build_file = Label("//bazel/cargo/remote:BUILD.rand_chacha-0.2.2.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__rand_core__0_5_1", + url = "https://crates.io/api/v1/crates/rand_core/0.5.1/download", + type = "tar.gz", + sha256 = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19", + strip_prefix = "rand_core-0.5.1", + build_file = Label("//bazel/cargo/remote:BUILD.rand_core-0.5.1.bazel"), + ) + + maybe( + http_archive, + name = "proxy_wasm_cpp_host__rand_hc__0_2_0", + url = "https://crates.io/api/v1/crates/rand_hc/0.2.0/download", + type = "tar.gz", + sha256 = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c", + strip_prefix = "rand_hc-0.2.0", + build_file = Label("//bazel/cargo/remote:BUILD.rand_hc-0.2.0.bazel"), ) maybe( @@ -473,22 +543,22 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__regex__1_4_3", - url = "https://crates.io/api/v1/crates/regex/1.4.3/download", + name = "proxy_wasm_cpp_host__regex__1_4_5", + url = "https://crates.io/api/v1/crates/regex/1.4.5/download", type = "tar.gz", - sha256 = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a", - strip_prefix = "regex-1.4.3", - build_file = Label("//bazel/cargo/remote:BUILD.regex-1.4.3.bazel"), + sha256 = "957056ecddbeba1b26965114e191d2e8589ce74db242b6ea25fc4062427a5c19", + strip_prefix = "regex-1.4.5", + build_file = Label("//bazel/cargo/remote:BUILD.regex-1.4.5.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__regex_syntax__0_6_22", - url = "https://crates.io/api/v1/crates/regex-syntax/0.6.22/download", + name = "proxy_wasm_cpp_host__regex_syntax__0_6_23", + url = "https://crates.io/api/v1/crates/regex-syntax/0.6.23/download", type = "tar.gz", - sha256 = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581", - strip_prefix = "regex-syntax-0.6.22", - build_file = Label("//bazel/cargo/remote:BUILD.regex-syntax-0.6.22.bazel"), + sha256 = "24d5f089152e60f62d28b835fbff2cd2e8dc0baf1ac13343bef92ab7eed84548", + strip_prefix = "regex-syntax-0.6.23", + build_file = Label("//bazel/cargo/remote:BUILD.regex-syntax-0.6.23.bazel"), ) maybe( @@ -523,52 +593,22 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__rustc_version__0_2_3", - url = "https://crates.io/api/v1/crates/rustc_version/0.2.3/download", - type = "tar.gz", - sha256 = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a", - strip_prefix = "rustc_version-0.2.3", - build_file = Label("//bazel/cargo/remote:BUILD.rustc_version-0.2.3.bazel"), - ) - - maybe( - http_archive, - name = "proxy_wasm_cpp_host__semver__0_9_0", - url = "https://crates.io/api/v1/crates/semver/0.9.0/download", - type = "tar.gz", - sha256 = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403", - strip_prefix = "semver-0.9.0", - build_file = Label("//bazel/cargo/remote:BUILD.semver-0.9.0.bazel"), - ) - - maybe( - http_archive, - name = "proxy_wasm_cpp_host__semver_parser__0_7_0", - url = "https://crates.io/api/v1/crates/semver-parser/0.7.0/download", - type = "tar.gz", - sha256 = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3", - strip_prefix = "semver-parser-0.7.0", - build_file = Label("//bazel/cargo/remote:BUILD.semver-parser-0.7.0.bazel"), - ) - - maybe( - http_archive, - name = "proxy_wasm_cpp_host__serde__1_0_123", - url = "https://crates.io/api/v1/crates/serde/1.0.123/download", + name = "proxy_wasm_cpp_host__serde__1_0_125", + url = "https://crates.io/api/v1/crates/serde/1.0.125/download", type = "tar.gz", - sha256 = "92d5161132722baa40d802cc70b15262b98258453e85e5d1d365c757c73869ae", - strip_prefix = "serde-1.0.123", - build_file = Label("//bazel/cargo/remote:BUILD.serde-1.0.123.bazel"), + sha256 = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171", + strip_prefix = "serde-1.0.125", + build_file = Label("//bazel/cargo/remote:BUILD.serde-1.0.125.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__serde_derive__1_0_123", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.123/download", + name = "proxy_wasm_cpp_host__serde_derive__1_0_125", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.125/download", type = "tar.gz", - sha256 = "9391c295d64fc0abb2c556bad848f33cb8296276b1ad2677d1ae1ace4f258f31", - strip_prefix = "serde_derive-1.0.123", - build_file = Label("//bazel/cargo/remote:BUILD.serde_derive-1.0.123.bazel"), + sha256 = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d", + strip_prefix = "serde_derive-1.0.125", + build_file = Label("//bazel/cargo/remote:BUILD.serde_derive-1.0.125.bazel"), ) maybe( @@ -593,12 +633,12 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__syn__1_0_60", - url = "https://crates.io/api/v1/crates/syn/1.0.60/download", + name = "proxy_wasm_cpp_host__syn__1_0_68", + url = "https://crates.io/api/v1/crates/syn/1.0.68/download", type = "tar.gz", - sha256 = "c700597eca8a5a762beb35753ef6b94df201c81cca676604f547495a0d7f0081", - strip_prefix = "syn-1.0.60", - build_file = Label("//bazel/cargo/remote:BUILD.syn-1.0.60.bazel"), + sha256 = "3ce15dd3ed8aa2f8eeac4716d6ef5ab58b6b9256db41d7e1a0224c2788e8fd87", + strip_prefix = "syn-1.0.68", + build_file = Label("//bazel/cargo/remote:BUILD.syn-1.0.68.bazel"), ) maybe( @@ -623,32 +663,22 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__thiserror__1_0_23", - url = "https://crates.io/api/v1/crates/thiserror/1.0.23/download", - type = "tar.gz", - sha256 = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146", - strip_prefix = "thiserror-1.0.23", - build_file = Label("//bazel/cargo/remote:BUILD.thiserror-1.0.23.bazel"), - ) - - maybe( - http_archive, - name = "proxy_wasm_cpp_host__thiserror_impl__1_0_23", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.23/download", + name = "proxy_wasm_cpp_host__thiserror__1_0_24", + url = "https://crates.io/api/v1/crates/thiserror/1.0.24/download", type = "tar.gz", - sha256 = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1", - strip_prefix = "thiserror-impl-1.0.23", - build_file = Label("//bazel/cargo/remote:BUILD.thiserror-impl-1.0.23.bazel"), + sha256 = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e", + strip_prefix = "thiserror-1.0.24", + build_file = Label("//bazel/cargo/remote:BUILD.thiserror-1.0.24.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__thread_local__1_1_3", - url = "https://crates.io/api/v1/crates/thread_local/1.1.3/download", + name = "proxy_wasm_cpp_host__thiserror_impl__1_0_24", + url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.24/download", type = "tar.gz", - sha256 = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd", - strip_prefix = "thread_local-1.1.3", - build_file = Label("//bazel/cargo/remote:BUILD.thread_local-1.1.3.bazel"), + sha256 = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0", + strip_prefix = "thiserror-impl-1.0.24", + build_file = Label("//bazel/cargo/remote:BUILD.thiserror-impl-1.0.24.bazel"), ) maybe( @@ -663,111 +693,111 @@ def proxy_wasm_cpp_host_fetch_remote_crates(): maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmparser__0_57_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.57.0/download", + name = "proxy_wasm_cpp_host__wasi__0_9_0_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.9.0+wasi-snapshot-preview1/download", type = "tar.gz", - sha256 = "32fddd575d477c6e9702484139cf9f23dcd554b06d185ed0f56c857dd3a47aa6", - strip_prefix = "wasmparser-0.57.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmparser-0.57.0.bazel"), + sha256 = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519", + strip_prefix = "wasi-0.9.0+wasi-snapshot-preview1", + build_file = Label("//bazel/cargo/remote:BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmparser__0_65_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.65.0/download", + name = "proxy_wasm_cpp_host__wasmparser__0_76_0", + url = "https://crates.io/api/v1/crates/wasmparser/0.76.0/download", type = "tar.gz", - sha256 = "87cc2fe6350834b4e528ba0901e7aa405d78b89dc1fa3145359eb4de0e323fcf", - strip_prefix = "wasmparser-0.65.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmparser-0.65.0.bazel"), + sha256 = "755a9a4afe3f6cccbbe6d7e965eef44cf260b001f93e547eba84255c1d0187d8", + strip_prefix = "wasmparser-0.76.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmparser-0.76.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime/0.25.0/download", type = "tar.gz", - sha256 = "7a4d945221f4d29feecdac80514c1ef1527dfcdcc7715ff1b4a5161fe5c8ebab", - strip_prefix = "wasmtime-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-0.21.0.bazel"), + sha256 = "26ea2ad49bb047e10ca292f55cd67040bef14b676d07e7b04ed65fd312d52ece", + strip_prefix = "wasmtime-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-0.25.0.bazel"), ) maybe( new_git_repository, name = "proxy_wasm_cpp_host__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "ab1958434a2b7a5b07d197e71b88200d9e06e026", + commit = "a8aaf812ef675e92f717893fc845db2dc5018128", build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_cranelift__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_cranelift__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.25.0/download", type = "tar.gz", - sha256 = "f1e55c17317922951a9bdd5547b527d2cc7be3cea118dc17ad7c05a4c8e67c7a", - strip_prefix = "wasmtime-cranelift-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-cranelift-0.21.0.bazel"), + sha256 = "5e769b80abbb89255926f69ba37085f7dd6608c980134838c3c89d7bf6e776bc", + strip_prefix = "wasmtime-cranelift-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-cranelift-0.25.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_debug__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-debug/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_debug__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-debug/0.25.0/download", type = "tar.gz", - sha256 = "a576daa6b228f8663c38bede2f7f23d094d578b0061c39fc122cc28eee1e2c18", - strip_prefix = "wasmtime-debug-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-debug-0.21.0.bazel"), + sha256 = "38501788c936a4932b0ddf61135963a4b7d1f549f63a6908ae56a1c86d74fc7b", + strip_prefix = "wasmtime-debug-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-debug-0.25.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_environ__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-environ/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_environ__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-environ/0.25.0/download", type = "tar.gz", - sha256 = "396ceda32fd67205235c098e092a85716942883bfd2c773c250cf5f2457b8307", - strip_prefix = "wasmtime-environ-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-environ-0.21.0.bazel"), + sha256 = "fae793ea1387b2fede277d209bb27285366df58f0a3ae9d59e58a7941dce60fa", + strip_prefix = "wasmtime-environ-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-environ-0.25.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_jit__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-jit/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_jit__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-jit/0.25.0/download", type = "tar.gz", - sha256 = "b2a45f6dd5bdf12d41f10100482d58d9cb160a85af5884dfd41a2861af4b0f50", - strip_prefix = "wasmtime-jit-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-jit-0.21.0.bazel"), + sha256 = "9b3bd0fae8396473a68a1491559d61776127bb9bea75c9a6a6c038ae4a656eb2", + strip_prefix = "wasmtime-jit-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-jit-0.25.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_obj__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-obj/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_obj__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-obj/0.25.0/download", type = "tar.gz", - sha256 = "a84aebe3b4331a603625f069944192fa3f6ffe499802ef91273fd73af9a8087d", - strip_prefix = "wasmtime-obj-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-obj-0.21.0.bazel"), + sha256 = "a79fa098a3be8fabc50f5be60f8e47694d569afdc255de37850fc80295485012", + strip_prefix = "wasmtime-obj-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-obj-0.25.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_profiling__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-profiling/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_profiling__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-profiling/0.25.0/download", type = "tar.gz", - sha256 = "25f27fda1b81d701f7ea1da9ae51b5b62d4cdc37ca5b93eae771ca2cde53b70c", - strip_prefix = "wasmtime-profiling-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-profiling-0.21.0.bazel"), + sha256 = "d81e2106efeef4c01917fd16956a91d39bb78c07cf97027abdba9ca98da3f258", + strip_prefix = "wasmtime-profiling-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-profiling-0.25.0.bazel"), ) maybe( http_archive, - name = "proxy_wasm_cpp_host__wasmtime_runtime__0_21_0", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.21.0/download", + name = "proxy_wasm_cpp_host__wasmtime_runtime__0_25_0", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.25.0/download", type = "tar.gz", - sha256 = "e452b8b3b32dbf1b831f05003a740581cc2c3c2122f5806bae9f167495e1e66c", - strip_prefix = "wasmtime-runtime-0.21.0", - build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-runtime-0.21.0.bazel"), + sha256 = "f747c656ca4680cad7846ae91c57d03f2dd4f4170da77a700df4e21f0d805378", + strip_prefix = "wasmtime-runtime-0.25.0", + build_file = Label("//bazel/cargo/remote:BUILD.wasmtime-runtime-0.25.0.bazel"), ) maybe( diff --git a/bazel/cargo/remote/BUILD.adler-0.2.3.bazel b/bazel/cargo/remote/BUILD.adler-1.0.2.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.adler-0.2.3.bazel rename to bazel/cargo/remote/BUILD.adler-1.0.2.bazel index 30a2d3ae6..446473ed4 100644 --- a/bazel/cargo/remote/BUILD.adler-0.2.3.bazel +++ b/bazel/cargo/remote/BUILD.adler-1.0.2.bazel @@ -48,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.3", + version = "1.0.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel b/bazel/cargo/remote/BUILD.anyhow-1.0.40.bazel similarity index 98% rename from bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel rename to bazel/cargo/remote/BUILD.anyhow-1.0.40.bazel index 15957d4d0..11382ed44 100644 --- a/bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel +++ b/bazel/cargo/remote/BUILD.anyhow-1.0.40.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.38", + version = "1.0.40", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.38", + version = "1.0.40", # buildifier: leave-alone deps = [ ":anyhow_build_script", diff --git a/bazel/cargo/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/remote/BUILD.atty-0.2.14.bazel index c6336c186..0efa5c291 100644 --- a/bazel/cargo/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/remote/BUILD.atty-0.2.14.bazel @@ -73,7 +73,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel b/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel index ca909a6e1..073acc80a 100644 --- a/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel +++ b/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel @@ -65,8 +65,8 @@ rust_library( deps = [ "@proxy_wasm_cpp_host__addr2line__0_14_1//:addr2line", "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", - "@proxy_wasm_cpp_host__miniz_oxide__0_4_3//:miniz_oxide", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", + "@proxy_wasm_cpp_host__miniz_oxide__0_4_4//:miniz_oxide", "@proxy_wasm_cpp_host__object__0_23_0//:object", "@proxy_wasm_cpp_host__rustc_demangle__0_1_18//:rustc_demangle", ] + selects.with_or({ diff --git a/bazel/cargo/remote/BUILD.bincode-1.3.1.bazel b/bazel/cargo/remote/BUILD.bincode-1.3.2.bazel similarity index 88% rename from bazel/cargo/remote/BUILD.bincode-1.3.1.bazel rename to bazel/cargo/remote/BUILD.bincode-1.3.2.bazel index 1fa6c006c..5eb8d55cd 100644 --- a/bazel/cargo/remote/BUILD.bincode-1.3.1.bazel +++ b/bazel/cargo/remote/BUILD.bincode-1.3.2.bazel @@ -46,11 +46,11 @@ rust_library( "cargo-raze", "manual", ], - version = "1.3.1", + version = "1.3.2", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__byteorder__1_4_2//:byteorder", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__byteorder__1_3_4//:byteorder", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", ], ) diff --git a/bazel/cargo/remote/BUILD.byteorder-1.3.4.bazel b/bazel/cargo/remote/BUILD.byteorder-1.3.4.bazel new file mode 100644 index 000000000..a86dd1923 --- /dev/null +++ b/bazel/cargo/remote/BUILD.byteorder-1.3.4.bazel @@ -0,0 +1,88 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated Targets +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "byteorder_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.3.4", + visibility = ["//visibility:private"], + deps = [ + ], +) + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "byteorder", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.3.4", + # buildifier: leave-alone + deps = [ + ":byteorder_build_script", + ], +) diff --git a/bazel/cargo/remote/BUILD.cc-1.0.66.bazel b/bazel/cargo/remote/BUILD.cc-1.0.67.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.cc-1.0.66.bazel rename to bazel/cargo/remote/BUILD.cc-1.0.67.bazel index 9445d1774..308b021de 100644 --- a/bazel/cargo/remote/BUILD.cc-1.0.66.bazel +++ b/bazel/cargo/remote/BUILD.cc-1.0.67.bazel @@ -47,7 +47,7 @@ rust_binary( "cargo-raze", "manual", ], - version = "1.0.66", + version = "1.0.67", # buildifier: leave-alone deps = [ ":cc", @@ -70,7 +70,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.66", + version = "1.0.67", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.cpp_demangle-0.3.2.bazel b/bazel/cargo/remote/BUILD.cpp_demangle-0.3.2.bazel new file mode 100644 index 000000000..89ff66eb7 --- /dev/null +++ b/bazel/cargo/remote/BUILD.cpp_demangle-0.3.2.bazel @@ -0,0 +1,118 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated Targets +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "cpp_demangle_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.2", + visibility = ["//visibility:private"], + deps = [ + "@proxy_wasm_cpp_host__glob__0_3_0//:glob", + ], +) + +rust_binary( + # Prefix bin name to disambiguate from (probable) collision with lib name + # N.B.: The exact form of this is subject to change. + name = "cargo_bin_afl_runner", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/bin/afl_runner.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.2", + # buildifier: leave-alone + deps = [ + ":cpp_demangle", + ":cpp_demangle_build_script", + "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", + ], +) + +# Unsupported target "cppfilt" with type "example" omitted + +rust_library( + name = "cpp_demangle", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.2", + # buildifier: leave-alone + deps = [ + ":cpp_demangle_build_script", + "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", + ], +) diff --git a/bazel/cargo/remote/BUILD.cranelift-bforest-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-bforest-0.72.0.bazel similarity index 92% rename from bazel/cargo/remote/BUILD.cranelift-bforest-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-bforest-0.72.0.bazel index 43bff94ee..4271ac51d 100644 --- a/bazel/cargo/remote/BUILD.cranelift-bforest-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-bforest-0.72.0.bazel @@ -46,9 +46,9 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", ], ) diff --git a/bazel/cargo/remote/BUILD.cranelift-codegen-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-codegen-0.72.0.bazel similarity index 79% rename from bazel/cargo/remote/BUILD.cranelift-codegen-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-codegen-0.72.0.bazel index 6632d3260..6158e438b 100644 --- a/bazel/cargo/remote/BUILD.cranelift-codegen-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-codegen-0.72.0.bazel @@ -58,10 +58,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", visibility = ["//visibility:private"], deps = [ - "@proxy_wasm_cpp_host__cranelift_codegen_meta__0_68_0//:cranelift_codegen_meta", + "@proxy_wasm_cpp_host__cranelift_codegen_meta__0_72_0//:cranelift_codegen_meta", ], ) @@ -87,20 +87,20 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@proxy_wasm_cpp_host__byteorder__1_4_2//:byteorder", - "@proxy_wasm_cpp_host__cranelift_bforest__0_68_0//:cranelift_bforest", - "@proxy_wasm_cpp_host__cranelift_codegen_shared__0_68_0//:cranelift_codegen_shared", - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", - "@proxy_wasm_cpp_host__gimli__0_22_0//:gimli", + "@proxy_wasm_cpp_host__byteorder__1_3_4//:byteorder", + "@proxy_wasm_cpp_host__cranelift_bforest__0_72_0//:cranelift_bforest", + "@proxy_wasm_cpp_host__cranelift_codegen_shared__0_72_0//:cranelift_codegen_shared", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", + "@proxy_wasm_cpp_host__gimli__0_23_0//:gimli", "@proxy_wasm_cpp_host__log__0_4_14//:log", "@proxy_wasm_cpp_host__regalloc__0_0_31//:regalloc", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", "@proxy_wasm_cpp_host__smallvec__1_6_1//:smallvec", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", - "@proxy_wasm_cpp_host__thiserror__1_0_23//:thiserror", + "@proxy_wasm_cpp_host__thiserror__1_0_24//:thiserror", ], ) diff --git a/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.72.0.bazel similarity index 87% rename from bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.72.0.bazel index da39e8a2c..afb4d8151 100644 --- a/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.72.0.bazel @@ -46,10 +46,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__cranelift_codegen_shared__0_68_0//:cranelift_codegen_shared", - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", + "@proxy_wasm_cpp_host__cranelift_codegen_shared__0_72_0//:cranelift_codegen_shared", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", ], ) diff --git a/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.72.0.bazel similarity index 89% rename from bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.72.0.bazel index e765ab5c0..5d2a856f2 100644 --- a/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.72.0.bazel @@ -34,6 +34,8 @@ rust_library( name = "cranelift_codegen_shared", srcs = glob(["**/*.rs"]), crate_features = [ + "enable-serde", + "serde", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -46,8 +48,9 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", ], ) diff --git a/bazel/cargo/remote/BUILD.cranelift-entity-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-entity-0.72.0.bazel similarity index 92% rename from bazel/cargo/remote/BUILD.cranelift-entity-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-entity-0.72.0.bazel index 2ffda6a14..8980a2438 100644 --- a/bazel/cargo/remote/BUILD.cranelift-entity-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-entity-0.72.0.bazel @@ -48,9 +48,9 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", ], ) diff --git a/bazel/cargo/remote/BUILD.cranelift-frontend-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-frontend-0.72.0.bazel similarity index 93% rename from bazel/cargo/remote/BUILD.cranelift-frontend-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-frontend-0.72.0.bazel index f707cc67c..776af4898 100644 --- a/bazel/cargo/remote/BUILD.cranelift-frontend-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-frontend-0.72.0.bazel @@ -48,10 +48,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__cranelift_codegen__0_68_0//:cranelift_codegen", + "@proxy_wasm_cpp_host__cranelift_codegen__0_72_0//:cranelift_codegen", "@proxy_wasm_cpp_host__log__0_4_14//:log", "@proxy_wasm_cpp_host__smallvec__1_6_1//:smallvec", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", diff --git a/bazel/cargo/remote/BUILD.cranelift-native-0.72.0.bazel b/bazel/cargo/remote/BUILD.cranelift-native-0.72.0.bazel new file mode 100644 index 000000000..ead9ddf18 --- /dev/null +++ b/bazel/cargo/remote/BUILD.cranelift-native-0.72.0.bazel @@ -0,0 +1,57 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "cranelift_native", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.72.0", + # buildifier: leave-alone + deps = [ + "@proxy_wasm_cpp_host__cranelift_codegen__0_72_0//:cranelift_codegen", + "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", + ], +) diff --git a/bazel/cargo/remote/BUILD.cranelift-wasm-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-wasm-0.72.0.bazel similarity index 73% rename from bazel/cargo/remote/BUILD.cranelift-wasm-0.68.0.bazel rename to bazel/cargo/remote/BUILD.cranelift-wasm-0.72.0.bazel index 8830c1749..d250ff94e 100644 --- a/bazel/cargo/remote/BUILD.cranelift-wasm-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-wasm-0.72.0.bazel @@ -50,18 +50,18 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.72.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__cranelift_codegen__0_68_0//:cranelift_codegen", - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", - "@proxy_wasm_cpp_host__cranelift_frontend__0_68_0//:cranelift_frontend", - "@proxy_wasm_cpp_host__itertools__0_9_0//:itertools", + "@proxy_wasm_cpp_host__cranelift_codegen__0_72_0//:cranelift_codegen", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", + "@proxy_wasm_cpp_host__cranelift_frontend__0_72_0//:cranelift_frontend", + "@proxy_wasm_cpp_host__itertools__0_10_0//:itertools", "@proxy_wasm_cpp_host__log__0_4_14//:log", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", "@proxy_wasm_cpp_host__smallvec__1_6_1//:smallvec", - "@proxy_wasm_cpp_host__thiserror__1_0_23//:thiserror", - "@proxy_wasm_cpp_host__wasmparser__0_65_0//:wasmparser", + "@proxy_wasm_cpp_host__thiserror__1_0_24//:thiserror", + "@proxy_wasm_cpp_host__wasmparser__0_76_0//:wasmparser", ], ) diff --git a/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel b/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel index 3a58f22e2..a60ce2e4f 100644 --- a/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel +++ b/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel @@ -57,7 +57,7 @@ rust_library( "@proxy_wasm_cpp_host__atty__0_2_14//:atty", "@proxy_wasm_cpp_host__humantime__2_1_0//:humantime", "@proxy_wasm_cpp_host__log__0_4_14//:log", - "@proxy_wasm_cpp_host__regex__1_4_3//:regex", + "@proxy_wasm_cpp_host__regex__1_4_5//:regex", "@proxy_wasm_cpp_host__termcolor__1_1_2//:termcolor", ], ) diff --git a/bazel/cargo/remote/BUILD.raw-cpuid-7.0.4.bazel b/bazel/cargo/remote/BUILD.getrandom-0.1.16.bazel similarity index 61% rename from bazel/cargo/remote/BUILD.raw-cpuid-7.0.4.bazel rename to bazel/cargo/remote/BUILD.getrandom-0.1.16.bazel index 3c916211e..4266e9736 100644 --- a/bazel/cargo/remote/BUILD.raw-cpuid-7.0.4.bazel +++ b/bazel/cargo/remote/BUILD.getrandom-0.1.16.bazel @@ -25,7 +25,7 @@ package(default_visibility = [ ]) licenses([ - "notice", # MIT from expression "MIT" + "notice", # MIT from expression "MIT OR Apache-2.0" ]) # Generated Targets @@ -36,15 +36,16 @@ load( ) cargo_build_script( - name = "raw_cpuid_build_script", + name = "getrandom_build_script", srcs = glob(["**/*.rs"]), build_script_env = { }, crate_features = [ + "std", ], crate_root = "build.rs", data = glob(["**"]), - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -52,62 +53,17 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "7.0.4", + version = "0.1.16", visibility = ["//visibility:private"], deps = [ - "@proxy_wasm_cpp_host__cc__1_0_66//:cc", - "@proxy_wasm_cpp_host__rustc_version__0_2_3//:rustc_version", ] + selects.with_or({ - # cfg(unix) + # cfg(target_os = "wasi") ( - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-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: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:wasm32-wasi", ): [ ], "//conditions:default": [], - }), -) - -rust_binary( - # Prefix bin name to disambiguate from (probable) collision with lib name - # N.B.: The exact form of this is subject to change. - name = "cargo_bin_cpuid", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/bin/cpuid.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "7.0.4", - # buildifier: leave-alone - deps = [ - ":raw_cpuid", - ":raw_cpuid_build_script", - "@proxy_wasm_cpp_host__bitflags__1_2_1//:bitflags", - ] + selects.with_or({ + }) + selects.with_or({ # cfg(unix) ( "@rules_rust//rust/platform:aarch64-apple-darwin", @@ -129,26 +85,30 @@ rust_binary( ): [ ], "//conditions:default": [], + }) + selects.with_or({ + # wasm32-unknown-unknown + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + ): [ + ], + "//conditions:default": [], }), ) -# Unsupported target "cache" with type "example" omitted - -# Unsupported target "topology" with type "example" omitted - -# Unsupported target "tsc_frequency" with type "example" omitted +# Unsupported target "mod" with type "bench" omitted rust_library( - name = "raw_cpuid", + name = "getrandom", srcs = glob(["**/*.rs"]), aliases = { }, crate_features = [ + "std", ], crate_root = "src/lib.rs", crate_type = "lib", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -156,12 +116,20 @@ rust_library( "cargo-raze", "manual", ], - version = "7.0.4", + version = "0.1.16", # buildifier: leave-alone deps = [ - ":raw_cpuid_build_script", - "@proxy_wasm_cpp_host__bitflags__1_2_1//:bitflags", + ":getrandom_build_script", + "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", ] + selects.with_or({ + # cfg(target_os = "wasi") + ( + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + "@proxy_wasm_cpp_host__wasi__0_9_0_wasi_snapshot_preview1//:wasi", + ], + "//conditions:default": [], + }) + selects.with_or({ # cfg(unix) ( "@rules_rust//rust/platform:aarch64-apple-darwin", @@ -180,8 +148,18 @@ rust_library( "@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", + ): [ + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # wasm32-unknown-unknown + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", ): [ ], "//conditions:default": [], }), ) + +# Unsupported target "common" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.gimli-0.22.0.bazel b/bazel/cargo/remote/BUILD.gimli-0.22.0.bazel deleted file mode 100644 index 91f5d00c4..000000000 --- a/bazel/cargo/remote/BUILD.gimli-0.22.0.bazel +++ /dev/null @@ -1,78 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load( - "@rules_rust//rust:rust.bzl", - "rust_binary", - "rust_library", - "rust_test", -) - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "dwarf-validate" with type "example" omitted - -# Unsupported target "dwarfdump" with type "example" omitted - -# Unsupported target "simple" with type "example" omitted - -# Unsupported target "simple_line" with type "example" omitted - -rust_library( - name = "gimli", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "endian-reader", - "fallible-iterator", - "indexmap", - "read", - "stable_deref_trait", - "std", - "write", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.22.0", - # buildifier: leave-alone - deps = [ - "@proxy_wasm_cpp_host__fallible_iterator__0_2_0//:fallible_iterator", - "@proxy_wasm_cpp_host__indexmap__1_1_0//:indexmap", - "@proxy_wasm_cpp_host__stable_deref_trait__1_2_0//:stable_deref_trait", - ], -) - -# Unsupported target "convert_self" with type "test" omitted - -# Unsupported target "parse_self" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel b/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel index cf04b8a58..426051935 100644 --- a/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel +++ b/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel @@ -44,7 +44,14 @@ rust_library( name = "gimli", srcs = glob(["**/*.rs"]), crate_features = [ + "default", + "endian-reader", + "fallible-iterator", + "indexmap", "read", + "stable_deref_trait", + "std", + "write", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -60,6 +67,9 @@ rust_library( version = "0.23.0", # buildifier: leave-alone deps = [ + "@proxy_wasm_cpp_host__fallible_iterator__0_2_0//:fallible_iterator", + "@proxy_wasm_cpp_host__indexmap__1_6_2//:indexmap", + "@proxy_wasm_cpp_host__stable_deref_trait__1_2_0//:stable_deref_trait", ], ) diff --git a/bazel/cargo/remote/BUILD.semver-parser-0.7.0.bazel b/bazel/cargo/remote/BUILD.glob-0.3.0.bazel similarity index 90% rename from bazel/cargo/remote/BUILD.semver-parser-0.7.0.bazel rename to bazel/cargo/remote/BUILD.glob-0.3.0.bazel index 88f645b40..8da73ad15 100644 --- a/bazel/cargo/remote/BUILD.semver-parser-0.7.0.bazel +++ b/bazel/cargo/remote/BUILD.glob-0.3.0.bazel @@ -31,7 +31,7 @@ licenses([ # Generated Targets rust_library( - name = "semver_parser", + name = "glob", srcs = glob(["**/*.rs"]), crate_features = [ ], @@ -46,8 +46,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.7.0", + version = "0.3.0", # buildifier: leave-alone deps = [ ], ) + +# Unsupported target "glob-std" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.thread_local-1.1.3.bazel b/bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel similarity index 74% rename from bazel/cargo/remote/BUILD.thread_local-1.1.3.bazel rename to bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel index 089395256..e1feaa496 100644 --- a/bazel/cargo/remote/BUILD.thread_local-1.1.3.bazel +++ b/bazel/cargo/remote/BUILD.hashbrown-0.9.1.bazel @@ -30,12 +30,13 @@ licenses([ # Generated Targets -# Unsupported target "thread_local" with type "bench" omitted +# Unsupported target "bench" with type "bench" omitted rust_library( - name = "thread_local", + name = "hashbrown", srcs = glob(["**/*.rs"]), crate_features = [ + "raw", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -48,9 +49,16 @@ rust_library( "cargo-raze", "manual", ], - version = "1.1.3", + version = "0.9.1", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__once_cell__1_5_2//:once_cell", ], ) + +# Unsupported target "hasher" with type "test" omitted + +# Unsupported target "rayon" with type "test" omitted + +# Unsupported target "serde" with type "test" omitted + +# Unsupported target "set" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel b/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel index 58496fce7..478e2c5fa 100644 --- a/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel +++ b/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel @@ -50,6 +50,6 @@ rust_library( version = "0.1.18", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", ], ) diff --git a/bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel b/bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel deleted file mode 100644 index 89085623e..000000000 --- a/bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel +++ /dev/null @@ -1,68 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load( - "@rules_rust//rust:rust.bzl", - "rust_binary", - "rust_library", - "rust_test", -) - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "faststring" with type "bench" omitted - -rust_library( - name = "indexmap", - srcs = glob(["**/*.rs"]), - crate_features = [ - "serde", - "serde-1", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.1.0", - # buildifier: leave-alone - deps = [ - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", - ], -) - -# Unsupported target "equivalent_trait" with type "test" omitted - -# Unsupported target "quick" with type "test" omitted - -# Unsupported target "serde" with type "test" omitted - -# Unsupported target "tests" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.indexmap-1.6.2.bazel b/bazel/cargo/remote/BUILD.indexmap-1.6.2.bazel new file mode 100644 index 000000000..0c68b4e51 --- /dev/null +++ b/bazel/cargo/remote/BUILD.indexmap-1.6.2.bazel @@ -0,0 +1,101 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated Targets +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "indexmap_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "serde", + "serde-1", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.6.2", + visibility = ["//visibility:private"], + deps = [ + "@proxy_wasm_cpp_host__autocfg__1_0_1//:autocfg", + ], +) + +# Unsupported target "bench" with type "bench" omitted + +# Unsupported target "faststring" with type "bench" omitted + +rust_library( + name = "indexmap", + srcs = glob(["**/*.rs"]), + crate_features = [ + "serde", + "serde-1", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.6.2", + # buildifier: leave-alone + deps = [ + ":indexmap_build_script", + "@proxy_wasm_cpp_host__hashbrown__0_9_1//:hashbrown", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", + ], +) + +# Unsupported target "equivalent_trait" with type "test" omitted + +# Unsupported target "macros_full_path" with type "test" omitted + +# Unsupported target "quick" with type "test" omitted + +# Unsupported target "tests" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.itertools-0.9.0.bazel b/bazel/cargo/remote/BUILD.itertools-0.10.0.bazel similarity index 90% rename from bazel/cargo/remote/BUILD.itertools-0.9.0.bazel rename to bazel/cargo/remote/BUILD.itertools-0.10.0.bazel index e0f7777cc..1fbad6cf4 100644 --- a/bazel/cargo/remote/BUILD.itertools-0.9.0.bazel +++ b/bazel/cargo/remote/BUILD.itertools-0.10.0.bazel @@ -32,10 +32,14 @@ licenses([ # Unsupported target "bench1" with type "bench" omitted +# Unsupported target "combinations" with type "bench" omitted + # Unsupported target "combinations_with_replacement" with type "bench" omitted # Unsupported target "fold_specialization" with type "bench" omitted +# Unsupported target "powerset" with type "bench" omitted + # Unsupported target "tree_fold1" with type "bench" omitted # Unsupported target "tuple_combinations" with type "bench" omitted @@ -49,6 +53,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "default", + "use_alloc", "use_std", ], crate_root = "src/lib.rs", @@ -62,7 +67,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.9.0", + version = "0.10.0", # buildifier: leave-alone deps = [ "@proxy_wasm_cpp_host__either__1_6_1//:either", @@ -73,6 +78,8 @@ rust_library( # Unsupported target "fold_specialization" with type "test" omitted +# Unsupported target "macros_hygiene" with type "test" omitted + # Unsupported target "merge_join" with type "test" omitted # Unsupported target "peeking_take_while" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.libc-0.2.86.bazel b/bazel/cargo/remote/BUILD.libc-0.2.92.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.libc-0.2.86.bazel rename to bazel/cargo/remote/BUILD.libc-0.2.92.bazel index f9726919d..8f3e6a17c 100644 --- a/bazel/cargo/remote/BUILD.libc-0.2.86.bazel +++ b/bazel/cargo/remote/BUILD.libc-0.2.92.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.86", + version = "0.2.92", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.86", + version = "0.2.92", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/remote/BUILD.mach-0.3.2.bazel index 84efc35fc..b526f8766 100644 --- a/bazel/cargo/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/remote/BUILD.mach-0.3.2.bazel @@ -63,7 +63,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/remote/BUILD.memoffset-0.5.6.bazel b/bazel/cargo/remote/BUILD.memoffset-0.6.3.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.memoffset-0.5.6.bazel rename to bazel/cargo/remote/BUILD.memoffset-0.6.3.bazel index 69be43421..23aeecc47 100644 --- a/bazel/cargo/remote/BUILD.memoffset-0.5.6.bazel +++ b/bazel/cargo/remote/BUILD.memoffset-0.6.3.bazel @@ -53,7 +53,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.5.6", + version = "0.6.3", visibility = ["//visibility:private"], deps = [ "@proxy_wasm_cpp_host__autocfg__1_0_1//:autocfg", @@ -77,7 +77,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.5.6", + version = "0.6.3", # buildifier: leave-alone deps = [ ":memoffset_build_script", diff --git a/bazel/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel b/bazel/cargo/remote/BUILD.miniz_oxide-0.4.4.bazel similarity index 94% rename from bazel/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel rename to bazel/cargo/remote/BUILD.miniz_oxide-0.4.4.bazel index 19df4edd4..13017071c 100644 --- a/bazel/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel +++ b/bazel/cargo/remote/BUILD.miniz_oxide-0.4.4.bazel @@ -52,7 +52,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.4.3", + version = "0.4.4", visibility = ["//visibility:private"], deps = [ "@proxy_wasm_cpp_host__autocfg__1_0_1//:autocfg", @@ -75,10 +75,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.3", + version = "0.4.4", # buildifier: leave-alone deps = [ ":miniz_oxide_build_script", - "@proxy_wasm_cpp_host__adler__0_2_3//:adler", + "@proxy_wasm_cpp_host__adler__1_0_2//:adler", ], ) diff --git a/bazel/cargo/remote/BUILD.object-0.21.1.bazel b/bazel/cargo/remote/BUILD.object-0.21.1.bazel deleted file mode 100644 index c6a9bfac5..000000000 --- a/bazel/cargo/remote/BUILD.object-0.21.1.bazel +++ /dev/null @@ -1,80 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load( - "@rules_rust//rust:rust.bzl", - "rust_binary", - "rust_library", - "rust_test", -) - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "nm" with type "example" omitted - -# Unsupported target "objcopy" with type "example" omitted - -# Unsupported target "objdump" with type "example" omitted - -rust_library( - name = "object", - srcs = glob(["**/*.rs"]), - crate_features = [ - "coff", - "crc32fast", - "elf", - "indexmap", - "macho", - "pe", - "read", - "read_core", - "std", - "unaligned", - "wasm", - "wasmparser", - "write", - "write_core", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.21.1", - # buildifier: leave-alone - deps = [ - "@proxy_wasm_cpp_host__crc32fast__1_2_1//:crc32fast", - "@proxy_wasm_cpp_host__indexmap__1_1_0//:indexmap", - "@proxy_wasm_cpp_host__wasmparser__0_57_0//:wasmparser", - ], -) - -# Unsupported target "integration" with type "test" omitted - -# Unsupported target "parse_self" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.object-0.23.0.bazel b/bazel/cargo/remote/BUILD.object-0.23.0.bazel index 61c31a0db..95cd3cbe9 100644 --- a/bazel/cargo/remote/BUILD.object-0.23.0.bazel +++ b/bazel/cargo/remote/BUILD.object-0.23.0.bazel @@ -48,11 +48,16 @@ rust_library( crate_features = [ "archive", "coff", + "crc32fast", "elf", + "indexmap", "macho", "pe", "read_core", + "std", "unaligned", + "write", + "write_core", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -68,6 +73,8 @@ rust_library( version = "0.23.0", # buildifier: leave-alone deps = [ + "@proxy_wasm_cpp_host__crc32fast__1_2_1//:crc32fast", + "@proxy_wasm_cpp_host__indexmap__1_6_2//:indexmap", ], ) diff --git a/bazel/cargo/remote/BUILD.once_cell-1.5.2.bazel b/bazel/cargo/remote/BUILD.once_cell-1.7.2.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.once_cell-1.5.2.bazel rename to bazel/cargo/remote/BUILD.once_cell-1.7.2.bazel index 292e26316..46211fd2a 100644 --- a/bazel/cargo/remote/BUILD.once_cell-1.5.2.bazel +++ b/bazel/cargo/remote/BUILD.once_cell-1.7.2.bazel @@ -50,6 +50,7 @@ rust_library( crate_features = [ "alloc", "default", + "race", "std", ], crate_root = "src/lib.rs", @@ -63,7 +64,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.5.2", + version = "1.7.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.semver-0.9.0.bazel b/bazel/cargo/remote/BUILD.paste-1.0.5.bazel similarity index 70% rename from bazel/cargo/remote/BUILD.semver-0.9.0.bazel rename to bazel/cargo/remote/BUILD.paste-1.0.5.bazel index d8f15a632..331dd436f 100644 --- a/bazel/cargo/remote/BUILD.semver-0.9.0.bazel +++ b/bazel/cargo/remote/BUILD.paste-1.0.5.bazel @@ -31,15 +31,14 @@ licenses([ # Generated Targets rust_library( - name = "semver", + name = "paste", srcs = glob(["**/*.rs"]), crate_features = [ - "default", ], crate_root = "src/lib.rs", - crate_type = "lib", + crate_type = "proc-macro", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -47,15 +46,18 @@ rust_library( "cargo-raze", "manual", ], - version = "0.9.0", + version = "1.0.5", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__semver_parser__0_7_0//:semver_parser", ], ) -# Unsupported target "deprecation" with type "test" omitted +# Unsupported target "compiletest" with type "test" omitted -# Unsupported target "regression" with type "test" omitted +# Unsupported target "test_attr" with type "test" omitted -# Unsupported target "serde" with type "test" omitted +# Unsupported target "test_doc" with type "test" omitted + +# Unsupported target "test_expr" with type "test" omitted + +# Unsupported target "test_item" with type "test" omitted diff --git a/bazel/cargo/remote/BUILD.rustc_version-0.2.3.bazel b/bazel/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel similarity index 88% rename from bazel/cargo/remote/BUILD.rustc_version-0.2.3.bazel rename to bazel/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel index 814174735..454797f52 100644 --- a/bazel/cargo/remote/BUILD.rustc_version-0.2.3.bazel +++ b/bazel/cargo/remote/BUILD.ppv-lite86-0.2.10.bazel @@ -31,14 +31,16 @@ licenses([ # Generated Targets rust_library( - name = "rustc_version", + name = "ppv_lite86", srcs = glob(["**/*.rs"]), crate_features = [ + "simd", + "std", ], crate_root = "src/lib.rs", crate_type = "lib", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -46,9 +48,8 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.3", + version = "0.2.10", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__semver__0_9_0//:semver", ], ) diff --git a/bazel/cargo/remote/BUILD.proc-macro2-1.0.24.bazel b/bazel/cargo/remote/BUILD.proc-macro2-1.0.26.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.proc-macro2-1.0.24.bazel rename to bazel/cargo/remote/BUILD.proc-macro2-1.0.26.bazel index 2d755a942..0a202087b 100644 --- a/bazel/cargo/remote/BUILD.proc-macro2-1.0.24.bazel +++ b/bazel/cargo/remote/BUILD.proc-macro2-1.0.26.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.24", + version = "1.0.26", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.24", + version = "1.0.26", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", diff --git a/bazel/cargo/remote/BUILD.psm-0.1.12.bazel b/bazel/cargo/remote/BUILD.psm-0.1.12.bazel index 3d32b5ab0..61cb6c741 100644 --- a/bazel/cargo/remote/BUILD.psm-0.1.12.bazel +++ b/bazel/cargo/remote/BUILD.psm-0.1.12.bazel @@ -55,7 +55,7 @@ cargo_build_script( version = "0.1.12", visibility = ["//visibility:private"], deps = [ - "@proxy_wasm_cpp_host__cc__1_0_66//:cc", + "@proxy_wasm_cpp_host__cc__1_0_67//:cc", ], ) diff --git a/bazel/cargo/remote/BUILD.quote-1.0.9.bazel b/bazel/cargo/remote/BUILD.quote-1.0.9.bazel index 1d2156e1f..644e3b3e1 100644 --- a/bazel/cargo/remote/BUILD.quote-1.0.9.bazel +++ b/bazel/cargo/remote/BUILD.quote-1.0.9.bazel @@ -51,7 +51,7 @@ rust_library( version = "1.0.9", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__proc_macro2__1_0_24//:proc_macro2", + "@proxy_wasm_cpp_host__proc_macro2__1_0_26//:proc_macro2", ], ) diff --git a/bazel/cargo/remote/BUILD.cranelift-native-0.68.0.bazel b/bazel/cargo/remote/BUILD.rand-0.7.3.bazel similarity index 55% rename from bazel/cargo/remote/BUILD.cranelift-native-0.68.0.bazel rename to bazel/cargo/remote/BUILD.rand-0.7.3.bazel index e97f634f6..0f7329d5e 100644 --- a/bazel/cargo/remote/BUILD.cranelift-native-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.rand-0.7.3.bazel @@ -25,18 +25,35 @@ package(default_visibility = [ ]) licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" + "notice", # MIT from expression "MIT OR Apache-2.0" ]) # Generated Targets +# Unsupported target "generators" with type "bench" omitted + +# Unsupported target "misc" with type "bench" omitted + +# Unsupported target "seq" with type "bench" omitted + +# Unsupported target "weighted" with type "bench" omitted + +# Unsupported target "monte-carlo" with type "example" omitted + +# Unsupported target "monty-hall" with type "example" omitted + rust_library( - name = "cranelift_native", + name = "rand", srcs = glob(["**/*.rs"]), aliases = { + "@proxy_wasm_cpp_host__getrandom__0_1_16//:getrandom": "getrandom_package", }, crate_features = [ + "alloc", "default", + "getrandom", + "getrandom_package", + "libc", "std", ], crate_root = "src/lib.rs", @@ -50,27 +67,33 @@ rust_library( "cargo-raze", "manual", ], - version = "0.68.0", + version = "0.7.3", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__cranelift_codegen__0_68_0//:cranelift_codegen", - "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", + "@proxy_wasm_cpp_host__getrandom__0_1_16//:getrandom", + "@proxy_wasm_cpp_host__rand_chacha__0_2_2//:rand_chacha", + "@proxy_wasm_cpp_host__rand_core__0_5_1//:rand_core", ] + selects.with_or({ - # cfg(any(target_arch = "x86", target_arch = "x86_64")) + # cfg(unix) ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@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:powerpc-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-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@proxy_wasm_cpp_host__raw_cpuid__7_0_4//:raw_cpuid", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/remote/BUILD.rand_chacha-0.2.2.bazel b/bazel/cargo/remote/BUILD.rand_chacha-0.2.2.bazel new file mode 100644 index 000000000..ed893b572 --- /dev/null +++ b/bazel/cargo/remote/BUILD.rand_chacha-0.2.2.bazel @@ -0,0 +1,56 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "rand_chacha", + srcs = glob(["**/*.rs"]), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.2", + # buildifier: leave-alone + deps = [ + "@proxy_wasm_cpp_host__ppv_lite86__0_2_10//:ppv_lite86", + "@proxy_wasm_cpp_host__rand_core__0_5_1//:rand_core", + ], +) diff --git a/bazel/cargo/remote/BUILD.rand_core-0.5.1.bazel b/bazel/cargo/remote/BUILD.rand_core-0.5.1.bazel new file mode 100644 index 000000000..302278bcf --- /dev/null +++ b/bazel/cargo/remote/BUILD.rand_core-0.5.1.bazel @@ -0,0 +1,57 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "rand_core", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "getrandom", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.5.1", + # buildifier: leave-alone + deps = [ + "@proxy_wasm_cpp_host__getrandom__0_1_16//:getrandom", + ], +) diff --git a/bazel/cargo/remote/BUILD.rand_hc-0.2.0.bazel b/bazel/cargo/remote/BUILD.rand_hc-0.2.0.bazel new file mode 100644 index 000000000..a8ec6aae2 --- /dev/null +++ b/bazel/cargo/remote/BUILD.rand_hc-0.2.0.bazel @@ -0,0 +1,54 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "rand_hc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.0", + # buildifier: leave-alone + deps = [ + "@proxy_wasm_cpp_host__rand_core__0_5_1//:rand_core", + ], +) diff --git a/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel b/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel index 72a91eab8..3f0346cfe 100644 --- a/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel +++ b/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel @@ -35,6 +35,8 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "default", + "enable-serde", + "serde", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -52,6 +54,7 @@ rust_library( deps = [ "@proxy_wasm_cpp_host__log__0_4_14//:log", "@proxy_wasm_cpp_host__rustc_hash__1_1_0//:rustc_hash", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", "@proxy_wasm_cpp_host__smallvec__1_6_1//:smallvec", ], ) diff --git a/bazel/cargo/remote/BUILD.regex-1.4.3.bazel b/bazel/cargo/remote/BUILD.regex-1.4.5.bazel similarity index 92% rename from bazel/cargo/remote/BUILD.regex-1.4.3.bazel rename to bazel/cargo/remote/BUILD.regex-1.4.5.bazel index dd4b0da22..240c1dfe2 100644 --- a/bazel/cargo/remote/BUILD.regex-1.4.3.bazel +++ b/bazel/cargo/remote/BUILD.regex-1.4.5.bazel @@ -54,7 +54,6 @@ rust_library( "perf-inline", "perf-literal", "std", - "thread_local", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -67,13 +66,12 @@ rust_library( "cargo-raze", "manual", ], - version = "1.4.3", + version = "1.4.5", # buildifier: leave-alone deps = [ "@proxy_wasm_cpp_host__aho_corasick__0_7_15//:aho_corasick", "@proxy_wasm_cpp_host__memchr__2_3_4//:memchr", - "@proxy_wasm_cpp_host__regex_syntax__0_6_22//:regex_syntax", - "@proxy_wasm_cpp_host__thread_local__1_1_3//:thread_local", + "@proxy_wasm_cpp_host__regex_syntax__0_6_23//:regex_syntax", ], ) diff --git a/bazel/cargo/remote/BUILD.regex-syntax-0.6.22.bazel b/bazel/cargo/remote/BUILD.regex-syntax-0.6.23.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.regex-syntax-0.6.22.bazel rename to bazel/cargo/remote/BUILD.regex-syntax-0.6.23.bazel index dd94b7b74..6228437fc 100644 --- a/bazel/cargo/remote/BUILD.regex-syntax-0.6.22.bazel +++ b/bazel/cargo/remote/BUILD.regex-syntax-0.6.23.bazel @@ -48,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.6.22", + version = "0.6.23", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.region-2.2.0.bazel b/bazel/cargo/remote/BUILD.region-2.2.0.bazel index 817aee515..e524f23ac 100644 --- a/bazel/cargo/remote/BUILD.region-2.2.0.bazel +++ b/bazel/cargo/remote/BUILD.region-2.2.0.bazel @@ -52,7 +52,7 @@ rust_library( # buildifier: leave-alone deps = [ "@proxy_wasm_cpp_host__bitflags__1_2_1//:bitflags", - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", ] + selects.with_or({ # cfg(any(target_os = "macos", target_os = "ios")) ( diff --git a/bazel/cargo/remote/BUILD.serde-1.0.123.bazel b/bazel/cargo/remote/BUILD.serde-1.0.125.bazel similarity index 93% rename from bazel/cargo/remote/BUILD.serde-1.0.123.bazel rename to bazel/cargo/remote/BUILD.serde-1.0.125.bazel index b67d15fc9..6a5d3585e 100644 --- a/bazel/cargo/remote/BUILD.serde-1.0.123.bazel +++ b/bazel/cargo/remote/BUILD.serde-1.0.125.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.123", + version = "1.0.125", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@proxy_wasm_cpp_host__serde_derive__1_0_123//:serde_derive", + "@proxy_wasm_cpp_host__serde_derive__1_0_125//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -85,7 +85,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.123", + version = "1.0.125", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel b/bazel/cargo/remote/BUILD.serde_derive-1.0.125.bazel similarity index 91% rename from bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel rename to bazel/cargo/remote/BUILD.serde_derive-1.0.125.bazel index 17077f87c..6af1ed775 100644 --- a/bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel +++ b/bazel/cargo/remote/BUILD.serde_derive-1.0.125.bazel @@ -53,7 +53,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.123", + version = "1.0.125", visibility = ["//visibility:private"], deps = [ ], @@ -76,12 +76,12 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.123", + version = "1.0.125", # buildifier: leave-alone deps = [ ":serde_derive_build_script", - "@proxy_wasm_cpp_host__proc_macro2__1_0_24//:proc_macro2", + "@proxy_wasm_cpp_host__proc_macro2__1_0_26//:proc_macro2", "@proxy_wasm_cpp_host__quote__1_0_9//:quote", - "@proxy_wasm_cpp_host__syn__1_0_60//:syn", + "@proxy_wasm_cpp_host__syn__1_0_68//:syn", ], ) diff --git a/bazel/cargo/remote/BUILD.syn-1.0.60.bazel b/bazel/cargo/remote/BUILD.syn-1.0.68.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.syn-1.0.60.bazel rename to bazel/cargo/remote/BUILD.syn-1.0.68.bazel index 85d5573d0..054bd1f98 100644 --- a/bazel/cargo/remote/BUILD.syn-1.0.60.bazel +++ b/bazel/cargo/remote/BUILD.syn-1.0.68.bazel @@ -59,7 +59,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.60", + version = "1.0.68", visibility = ["//visibility:private"], deps = [ ], @@ -92,11 +92,11 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.60", + version = "1.0.68", # buildifier: leave-alone deps = [ ":syn_build_script", - "@proxy_wasm_cpp_host__proc_macro2__1_0_24//:proc_macro2", + "@proxy_wasm_cpp_host__proc_macro2__1_0_26//:proc_macro2", "@proxy_wasm_cpp_host__quote__1_0_9//:quote", "@proxy_wasm_cpp_host__unicode_xid__0_2_1//:unicode_xid", ], diff --git a/bazel/cargo/remote/BUILD.thiserror-1.0.23.bazel b/bazel/cargo/remote/BUILD.thiserror-1.0.24.bazel similarity index 95% rename from bazel/cargo/remote/BUILD.thiserror-1.0.23.bazel rename to bazel/cargo/remote/BUILD.thiserror-1.0.24.bazel index e48429490..87cb8414f 100644 --- a/bazel/cargo/remote/BUILD.thiserror-1.0.23.bazel +++ b/bazel/cargo/remote/BUILD.thiserror-1.0.24.bazel @@ -40,7 +40,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@proxy_wasm_cpp_host__thiserror_impl__1_0_23//:thiserror_impl", + "@proxy_wasm_cpp_host__thiserror_impl__1_0_24//:thiserror_impl", ], rustc_flags = [ "--cap-lints=allow", @@ -49,7 +49,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.23", + version = "1.0.24", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel b/bazel/cargo/remote/BUILD.thiserror-impl-1.0.24.bazel similarity index 88% rename from bazel/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel rename to bazel/cargo/remote/BUILD.thiserror-impl-1.0.24.bazel index 63089c753..01eab8cb9 100644 --- a/bazel/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel +++ b/bazel/cargo/remote/BUILD.thiserror-impl-1.0.24.bazel @@ -46,11 +46,11 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.23", + version = "1.0.24", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__proc_macro2__1_0_24//:proc_macro2", + "@proxy_wasm_cpp_host__proc_macro2__1_0_26//:proc_macro2", "@proxy_wasm_cpp_host__quote__1_0_9//:quote", - "@proxy_wasm_cpp_host__syn__1_0_60//:syn", + "@proxy_wasm_cpp_host__syn__1_0_68//:syn", ], ) diff --git a/bazel/cargo/remote/BUILD.byteorder-1.4.2.bazel b/bazel/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel similarity index 84% rename from bazel/cargo/remote/BUILD.byteorder-1.4.2.bazel rename to bazel/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel index 2a49eb276..a963d2aed 100644 --- a/bazel/cargo/remote/BUILD.byteorder-1.4.2.bazel +++ b/bazel/cargo/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel @@ -25,15 +25,13 @@ package(default_visibility = [ ]) licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" + "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" ]) # Generated Targets -# Unsupported target "bench" with type "bench" omitted - rust_library( - name = "byteorder", + name = "wasi", srcs = glob(["**/*.rs"]), crate_features = [ "default", @@ -50,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.4.2", + version = "0.9.0+wasi-snapshot-preview1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.wasmparser-0.57.0.bazel b/bazel/cargo/remote/BUILD.wasmparser-0.57.0.bazel deleted file mode 100644 index c4c189a15..000000000 --- a/bazel/cargo/remote/BUILD.wasmparser-0.57.0.bazel +++ /dev/null @@ -1,59 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load( - "@rules_rust//rust:rust.bzl", - "rust_binary", - "rust_library", - "rust_test", -) - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benchmark" with type "bench" omitted - -# Unsupported target "dump" with type "example" omitted - -# Unsupported target "simple" with type "example" omitted - -rust_library( - name = "wasmparser", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.57.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/remote/BUILD.wasmparser-0.65.0.bazel b/bazel/cargo/remote/BUILD.wasmparser-0.76.0.bazel similarity index 97% rename from bazel/cargo/remote/BUILD.wasmparser-0.65.0.bazel rename to bazel/cargo/remote/BUILD.wasmparser-0.76.0.bazel index 3d490b520..9694b63ed 100644 --- a/bazel/cargo/remote/BUILD.wasmparser-0.65.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmparser-0.76.0.bazel @@ -50,7 +50,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.65.0", + version = "0.76.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/remote/BUILD.wasmtime-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-0.25.0.bazel similarity index 70% rename from bazel/cargo/remote/BUILD.wasmtime-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-0.25.0.bazel index c0dd5fa32..eeb0a7437 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-0.25.0.bazel @@ -41,6 +41,9 @@ rust_library( crate_type = "lib", data = [], edition = "2018", + proc_macro_deps = [ + "@proxy_wasm_cpp_host__paste__1_0_5//:paste", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,26 +51,27 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", "@proxy_wasm_cpp_host__backtrace__0_3_56//:backtrace", - "@proxy_wasm_cpp_host__bincode__1_3_1//:bincode", + "@proxy_wasm_cpp_host__bincode__1_3_2//:bincode", "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", - "@proxy_wasm_cpp_host__lazy_static__1_4_0//:lazy_static", - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", + "@proxy_wasm_cpp_host__cpp_demangle__0_3_2//:cpp_demangle", + "@proxy_wasm_cpp_host__indexmap__1_6_2//:indexmap", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", "@proxy_wasm_cpp_host__log__0_4_14//:log", "@proxy_wasm_cpp_host__region__2_2_0//:region", "@proxy_wasm_cpp_host__rustc_demangle__0_1_18//:rustc_demangle", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", "@proxy_wasm_cpp_host__smallvec__1_6_1//:smallvec", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", - "@proxy_wasm_cpp_host__wasmparser__0_65_0//:wasmparser", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", - "@proxy_wasm_cpp_host__wasmtime_jit__0_21_0//:wasmtime_jit", - "@proxy_wasm_cpp_host__wasmtime_profiling__0_21_0//:wasmtime_profiling", - "@proxy_wasm_cpp_host__wasmtime_runtime__0_21_0//:wasmtime_runtime", + "@proxy_wasm_cpp_host__wasmparser__0_76_0//:wasmparser", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__wasmtime_jit__0_25_0//:wasmtime_jit", + "@proxy_wasm_cpp_host__wasmtime_profiling__0_25_0//:wasmtime_profiling", + "@proxy_wasm_cpp_host__wasmtime_runtime__0_25_0//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index fec8e7912..449545fc4 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel @@ -49,7 +49,7 @@ rust_library( version = "0.19.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__proc_macro2__1_0_24//:proc_macro2", + "@proxy_wasm_cpp_host__proc_macro2__1_0_26//:proc_macro2", "@proxy_wasm_cpp_host__quote__1_0_9//:quote", ], ) diff --git a/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.25.0.bazel similarity index 72% rename from bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-cranelift-0.25.0.bazel index 86d7e4a52..5b99e0d26 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.25.0.bazel @@ -46,13 +46,14 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__cranelift_codegen__0_68_0//:cranelift_codegen", - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", - "@proxy_wasm_cpp_host__cranelift_frontend__0_68_0//:cranelift_frontend", - "@proxy_wasm_cpp_host__cranelift_wasm__0_68_0//:cranelift_wasm", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__cranelift_codegen__0_72_0//:cranelift_codegen", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", + "@proxy_wasm_cpp_host__cranelift_frontend__0_72_0//:cranelift_frontend", + "@proxy_wasm_cpp_host__cranelift_wasm__0_72_0//:cranelift_wasm", + "@proxy_wasm_cpp_host__wasmparser__0_76_0//:wasmparser", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", ], ) diff --git a/bazel/cargo/remote/BUILD.wasmtime-debug-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-debug-0.25.0.bazel similarity index 75% rename from bazel/cargo/remote/BUILD.wasmtime-debug-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-debug-0.25.0.bazel index 7800c1817..f1bbabe46 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-debug-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-debug-0.25.0.bazel @@ -46,16 +46,16 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", - "@proxy_wasm_cpp_host__gimli__0_22_0//:gimli", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", + "@proxy_wasm_cpp_host__gimli__0_23_0//:gimli", "@proxy_wasm_cpp_host__more_asserts__0_2_1//:more_asserts", - "@proxy_wasm_cpp_host__object__0_21_1//:object", + "@proxy_wasm_cpp_host__object__0_23_0//:object", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", - "@proxy_wasm_cpp_host__thiserror__1_0_23//:thiserror", - "@proxy_wasm_cpp_host__wasmparser__0_65_0//:wasmparser", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__thiserror__1_0_24//:thiserror", + "@proxy_wasm_cpp_host__wasmparser__0_76_0//:wasmparser", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", ], ) diff --git a/bazel/cargo/remote/BUILD.wasmtime-environ-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-environ-0.25.0.bazel similarity index 66% rename from bazel/cargo/remote/BUILD.wasmtime-environ-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-environ-0.25.0.bazel index 964256099..dc92a1fa4 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-environ-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-environ-0.25.0.bazel @@ -46,20 +46,21 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", - "@proxy_wasm_cpp_host__cranelift_codegen__0_68_0//:cranelift_codegen", - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", - "@proxy_wasm_cpp_host__cranelift_wasm__0_68_0//:cranelift_wasm", - "@proxy_wasm_cpp_host__gimli__0_22_0//:gimli", - "@proxy_wasm_cpp_host__indexmap__1_1_0//:indexmap", + "@proxy_wasm_cpp_host__cranelift_codegen__0_72_0//:cranelift_codegen", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", + "@proxy_wasm_cpp_host__cranelift_wasm__0_72_0//:cranelift_wasm", + "@proxy_wasm_cpp_host__gimli__0_23_0//:gimli", + "@proxy_wasm_cpp_host__indexmap__1_6_2//:indexmap", "@proxy_wasm_cpp_host__log__0_4_14//:log", "@proxy_wasm_cpp_host__more_asserts__0_2_1//:more_asserts", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", - "@proxy_wasm_cpp_host__thiserror__1_0_23//:thiserror", - "@proxy_wasm_cpp_host__wasmparser__0_65_0//:wasmparser", + "@proxy_wasm_cpp_host__region__2_2_0//:region", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", + "@proxy_wasm_cpp_host__thiserror__1_0_24//:thiserror", + "@proxy_wasm_cpp_host__wasmparser__0_76_0//:wasmparser", ], ) diff --git a/bazel/cargo/remote/BUILD.wasmtime-jit-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-jit-0.25.0.bazel similarity index 61% rename from bazel/cargo/remote/BUILD.wasmtime-jit-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-jit-0.25.0.bazel index 0a3f095f4..4eb0e5964 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-jit-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-jit-0.25.0.bazel @@ -48,31 +48,32 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", + "@proxy_wasm_cpp_host__addr2line__0_14_1//:addr2line", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", - "@proxy_wasm_cpp_host__cranelift_codegen__0_68_0//:cranelift_codegen", - "@proxy_wasm_cpp_host__cranelift_entity__0_68_0//:cranelift_entity", - "@proxy_wasm_cpp_host__cranelift_frontend__0_68_0//:cranelift_frontend", - "@proxy_wasm_cpp_host__cranelift_native__0_68_0//:cranelift_native", - "@proxy_wasm_cpp_host__cranelift_wasm__0_68_0//:cranelift_wasm", - "@proxy_wasm_cpp_host__gimli__0_22_0//:gimli", + "@proxy_wasm_cpp_host__cranelift_codegen__0_72_0//:cranelift_codegen", + "@proxy_wasm_cpp_host__cranelift_entity__0_72_0//:cranelift_entity", + "@proxy_wasm_cpp_host__cranelift_frontend__0_72_0//:cranelift_frontend", + "@proxy_wasm_cpp_host__cranelift_native__0_72_0//:cranelift_native", + "@proxy_wasm_cpp_host__cranelift_wasm__0_72_0//:cranelift_wasm", + "@proxy_wasm_cpp_host__gimli__0_23_0//:gimli", "@proxy_wasm_cpp_host__log__0_4_14//:log", "@proxy_wasm_cpp_host__more_asserts__0_2_1//:more_asserts", - "@proxy_wasm_cpp_host__object__0_21_1//:object", + "@proxy_wasm_cpp_host__object__0_23_0//:object", "@proxy_wasm_cpp_host__region__2_2_0//:region", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", - "@proxy_wasm_cpp_host__thiserror__1_0_23//:thiserror", - "@proxy_wasm_cpp_host__wasmparser__0_65_0//:wasmparser", - "@proxy_wasm_cpp_host__wasmtime_cranelift__0_21_0//:wasmtime_cranelift", - "@proxy_wasm_cpp_host__wasmtime_debug__0_21_0//:wasmtime_debug", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", - "@proxy_wasm_cpp_host__wasmtime_obj__0_21_0//:wasmtime_obj", - "@proxy_wasm_cpp_host__wasmtime_profiling__0_21_0//:wasmtime_profiling", - "@proxy_wasm_cpp_host__wasmtime_runtime__0_21_0//:wasmtime_runtime", + "@proxy_wasm_cpp_host__thiserror__1_0_24//:thiserror", + "@proxy_wasm_cpp_host__wasmparser__0_76_0//:wasmparser", + "@proxy_wasm_cpp_host__wasmtime_cranelift__0_25_0//:wasmtime_cranelift", + "@proxy_wasm_cpp_host__wasmtime_debug__0_25_0//:wasmtime_debug", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__wasmtime_obj__0_25_0//:wasmtime_obj", + "@proxy_wasm_cpp_host__wasmtime_profiling__0_25_0//:wasmtime_profiling", + "@proxy_wasm_cpp_host__wasmtime_runtime__0_25_0//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/remote/BUILD.wasmtime-obj-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-obj-0.25.0.bazel similarity index 81% rename from bazel/cargo/remote/BUILD.wasmtime-obj-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-obj-0.25.0.bazel index a5f41d681..bda38af1e 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-obj-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-obj-0.25.0.bazel @@ -46,14 +46,14 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", "@proxy_wasm_cpp_host__more_asserts__0_2_1//:more_asserts", - "@proxy_wasm_cpp_host__object__0_21_1//:object", + "@proxy_wasm_cpp_host__object__0_23_0//:object", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", - "@proxy_wasm_cpp_host__wasmtime_debug__0_21_0//:wasmtime_debug", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__wasmtime_debug__0_25_0//:wasmtime_debug", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", ], ) diff --git a/bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-profiling-0.25.0.bazel similarity index 79% rename from bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-profiling-0.25.0.bazel index 40b3ee93a..0eacb6304 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-profiling-0.25.0.bazel @@ -46,16 +46,16 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ - "@proxy_wasm_cpp_host__anyhow__1_0_38//:anyhow", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", "@proxy_wasm_cpp_host__lazy_static__1_4_0//:lazy_static", - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", - "@proxy_wasm_cpp_host__serde__1_0_123//:serde", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", + "@proxy_wasm_cpp_host__serde__1_0_125//:serde", "@proxy_wasm_cpp_host__target_lexicon__0_11_2//:target_lexicon", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", - "@proxy_wasm_cpp_host__wasmtime_runtime__0_21_0//:wasmtime_runtime", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__wasmtime_runtime__0_25_0//:wasmtime_runtime", ], ) diff --git a/bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-runtime-0.25.0.bazel similarity index 61% rename from bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.0.bazel rename to bazel/cargo/remote/BUILD.wasmtime-runtime-0.25.0.bazel index 288d3e2df..2647e0116 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-runtime-0.25.0.bazel @@ -41,6 +41,7 @@ cargo_build_script( build_script_env = { }, crate_features = [ + "default", ], crate_root = "build.rs", data = glob(["**"]), @@ -52,11 +53,23 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", visibility = ["//visibility:private"], deps = [ - "@proxy_wasm_cpp_host__cc__1_0_66//:cc", + "@proxy_wasm_cpp_host__cc__1_0_67//:cc", ] + selects.with_or({ + # cfg(target_os = "linux") + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ # cfg(target_os = "windows") ( "@rules_rust//rust/platform:i686-pc-windows-msvc", @@ -73,6 +86,7 @@ rust_library( aliases = { }, crate_features = [ + "default", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -85,23 +99,37 @@ rust_library( "cargo-raze", "manual", ], - version = "0.21.0", + version = "0.25.0", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", + "@proxy_wasm_cpp_host__anyhow__1_0_40//:anyhow", "@proxy_wasm_cpp_host__backtrace__0_3_56//:backtrace", "@proxy_wasm_cpp_host__cfg_if__1_0_0//:cfg_if", - "@proxy_wasm_cpp_host__indexmap__1_1_0//:indexmap", + "@proxy_wasm_cpp_host__indexmap__1_6_2//:indexmap", "@proxy_wasm_cpp_host__lazy_static__1_4_0//:lazy_static", - "@proxy_wasm_cpp_host__libc__0_2_86//:libc", + "@proxy_wasm_cpp_host__libc__0_2_92//:libc", "@proxy_wasm_cpp_host__log__0_4_14//:log", - "@proxy_wasm_cpp_host__memoffset__0_5_6//:memoffset", + "@proxy_wasm_cpp_host__memoffset__0_6_3//:memoffset", "@proxy_wasm_cpp_host__more_asserts__0_2_1//:more_asserts", "@proxy_wasm_cpp_host__psm__0_1_12//:psm", + "@proxy_wasm_cpp_host__rand__0_7_3//:rand", "@proxy_wasm_cpp_host__region__2_2_0//:region", - "@proxy_wasm_cpp_host__thiserror__1_0_23//:thiserror", - "@proxy_wasm_cpp_host__wasmtime_environ__0_21_0//:wasmtime_environ", + "@proxy_wasm_cpp_host__thiserror__1_0_24//:thiserror", + "@proxy_wasm_cpp_host__wasmtime_environ__0_25_0//:wasmtime_environ", ] + selects.with_or({ + # cfg(target_os = "linux") + ( + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ # cfg(target_os = "windows") ( "@rules_rust//rust/platform:i686-pc-windows-msvc", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 41d2c8215..53da5fd91 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -39,24 +39,24 @@ def proxy_wasm_cpp_host_repositories(): http_archive( name = "wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "7874feb1026bbef06796bd5ab80e73f15b8e83752bde8dc93994f5bc039a4952", - strip_prefix = "wasmtime-0.21.0", - url = "https://github.com/bytecodealliance/wasmtime/archive/v0.21.0.tar.gz", + sha256 = "219b79db4084a0f9d720d430d625a676d68dd0228b11cab46fd6c2a649f77034", + strip_prefix = "wasmtime-0.25.0", + url = "https://github.com/bytecodealliance/wasmtime/archive/v0.25.0.tar.gz", ) http_archive( name = "wasm_c_api", build_file = "@proxy_wasm_cpp_host//bazel/external:wasm-c-api.BUILD", - sha256 = "aea8cd095e9937f1e14f2c93e026317b197eb2345e7a817fe3932062eb7b792c", - strip_prefix = "wasm-c-api-d9a80099d496b5cdba6f3fe8fc77586e0e505ddc", - url = "https://github.com/WebAssembly/wasm-c-api/archive/d9a80099d496b5cdba6f3fe8fc77586e0e505ddc.tar.gz", + sha256 = "c774044f51431429e878bd1b9e2a4e38932f861f9211df72f75e9427eb6b8d32", + strip_prefix = "wasm-c-api-c9d31284651b975f05ac27cee0bab1377560b87e", + url = "https://github.com/WebAssembly/wasm-c-api/archive/c9d31284651b975f05ac27cee0bab1377560b87e.tar.gz", ) http_archive( name = "rules_rust", - sha256 = "0f55b4b69fd9bc1dbcc038e75ec54bd97fa00ddc6cfbc6278fc288dafc98b7f8", - strip_prefix = "rules_rust-fee3b3c658c3d2f49c20c1b12e55063bf7a7f693", - url = "https://github.com/bazelbuild/rules_rust/archive/fee3b3c658c3d2f49c20c1b12e55063bf7a7f693.tar.gz", + sha256 = "242deacf4c9e4274d90964689dfae6c245bfb1bfa5e3336b2ad3b44f2541b70c", + strip_prefix = "rules_rust-1b648302edb64d3ddcc159655bf065bff40e6571", + url = "https://github.com/bazelbuild/rules_rust/archive/1b648302edb64d3ddcc159655bf065bff40e6571.tar.gz", ) http_archive( diff --git a/src/wasmtime/wasmtime.cc b/src/wasmtime/wasmtime.cc index 82b87b036..dec8ecbbb 100644 --- a/src/wasmtime/wasmtime.cc +++ b/src/wasmtime/wasmtime.cc @@ -241,17 +241,17 @@ static std::string printValue(const wasm_val_t &value) { } } -static std::string printValues(const wasm_val_t values[], size_t size) { - if (size == 0) { +static std::string printValues(const wasm_val_vec_t *values) { + if (values->size == 0) { return ""; } std::string s; - for (size_t i = 0; i < size; i++) { + for (size_t i = 0; i < values->size; i++) { if (i) { s.append(", "); } - s.append(printValue(values[i])); + s.append(printValue(values->data[i])); } return s; } @@ -297,7 +297,7 @@ bool Wasmtime::link(std::string_view debug_name) { WasmImporttypeVec import_types; wasm_module_imports(module_.get(), import_types.get()); - std::vector imports; + std::vector imports; for (size_t i = 0; i < import_types.get()->size; i++) { const wasm_name_t *module_name_ptr = wasm_importtype_module(import_types.get()->data[i]); const wasm_name_t *name_ptr = wasm_importtype_name(import_types.get()->data[i]); @@ -361,7 +361,8 @@ bool Wasmtime::link(std::string_view debug_name) { return false; } - instance_ = wasm_instance_new(store_.get(), module_.get(), imports.data(), nullptr); + wasm_extern_vec_t imports_vec = {imports.size(), imports.data()}; + instance_ = wasm_instance_new(store_.get(), module_.get(), &imports_vec, nullptr); assert(instance_ != nullptr); WasmExportTypeVec export_types; @@ -526,14 +527,10 @@ template <> uint64_t convertValueTypeToArg(wasm_val_t val) { template <> double convertValueTypeToArg(wasm_val_t val) { return val.of.f64; } template -constexpr T convertValTypesToArgsTupleImpl(const U &arr, std::index_sequence) { +constexpr T convertValTypesToArgsTuple(const U &vec, std::index_sequence) { return std::make_tuple( - convertValueTypeToArg>::type>(arr[I])...); -} - -template ::value>> -constexpr T convertValTypesToArgsTuple(const U &arr) { - return convertValTypesToArgsTupleImpl(arr, Is()); + convertValueTypeToArg>::type>( + vec->data[I])...); } template @@ -576,17 +573,19 @@ void Wasmtime::registerHostFunctionImpl(std::string_view module_name, WasmFunctypePtr type = newWasmNewFuncType>(); WasmFuncPtr func = wasm_func_new_with_env( store_.get(), type.get(), - [](void *data, const wasm_val_t params[], wasm_val_t results[]) -> wasm_trap_t * { + [](void *data, const wasm_val_vec_t *params, wasm_val_vec_t *results) -> wasm_trap_t * { auto func_data = reinterpret_cast(data); - if (func_data->vm_->cmpLogLevel(LogLevel::trace)) { + const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); + if (log) { func_data->vm_->integration()->trace("[vm->host] " + func_data->name_ + "(" + - printValues(params, sizeof...(Args)) + ")"); + printValues(params) + ")"); } - auto args_tuple = convertValTypesToArgsTuple>(params); + auto args_tuple = convertValTypesToArgsTuple>( + params, std::make_index_sequence{}); auto args = std::tuple_cat(std::make_tuple(current_context_), args_tuple); auto fn = reinterpret_cast(func_data->raw_func_); std::apply(fn, args); - if (func_data->vm_->cmpLogLevel(LogLevel::trace)) { + if (log) { func_data->vm_->integration()->trace("[vm<-host] " + func_data->name_ + " return: void"); } return nullptr; @@ -609,18 +608,20 @@ void Wasmtime::registerHostFunctionImpl(std::string_view module_name, WasmFunctypePtr type = newWasmNewFuncType>(); WasmFuncPtr func = wasm_func_new_with_env( store_.get(), type.get(), - [](void *data, const wasm_val_t params[], wasm_val_t results[]) -> wasm_trap_t * { + [](void *data, const wasm_val_vec_t *params, wasm_val_vec_t *results) -> wasm_trap_t * { auto func_data = reinterpret_cast(data); - if (func_data->vm_->cmpLogLevel(LogLevel::trace)) { + const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); + if (log) { func_data->vm_->integration()->trace("[vm->host] " + func_data->name_ + "(" + - printValues(params, sizeof...(Args)) + ")"); + printValues(params) + ")"); } - auto args_tuple = convertValTypesToArgsTuple>(params); + auto args_tuple = convertValTypesToArgsTuple>( + params, std::make_index_sequence{}); auto args = std::tuple_cat(std::make_tuple(current_context_), args_tuple); auto fn = reinterpret_cast(func_data->raw_func_); R res = std::apply(fn, args); - assignVal(res, results[0]); - if (func_data->vm_->cmpLogLevel(LogLevel::trace)) { + assignVal(res, results->data[0]); + if (log) { func_data->vm_->integration()->trace("[vm<-host] " + func_data->name_ + " return: " + std::to_string(res)); } @@ -662,13 +663,16 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, } *function = [func, function_name, this](ContextBase *context, Args... args) -> void { - wasm_val_t params[] = {makeVal(args)...}; - SaveRestoreContext saved_context(context); - if (cmpLogLevel(LogLevel::trace)) { - integration()->trace("[host->vm] " + std::string(function_name) + "(" + - printValues(params, sizeof...(Args)) + ")"); + wasm_val_t params_arr[] = {makeVal(args)...}; + const wasm_val_vec_t params = WASM_ARRAY_VEC(params_arr); + wasm_val_vec_t results = WASM_EMPTY_VEC; + const bool log = cmpLogLevel(LogLevel::trace); + if (log) { + integration()->trace("[host->vm] " + std::string(function_name) + "(" + printValues(¶ms) + + ")"); } - WasmTrapPtr trap{wasm_func_call(func, params, nullptr)}; + SaveRestoreContext saved_context(context); + WasmTrapPtr trap{wasm_func_call(func, ¶ms, &results)}; if (trap) { WasmByteVec error_message; wasm_trap_message(trap.get(), error_message.get()); @@ -677,7 +681,7 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, std::string(error_message.get()->data, error_message.get()->size)); return; } - if (cmpLogLevel(LogLevel::trace)) { + if (log) { integration()->trace("[host<-vm] " + std::string(function_name) + " return: void"); } }; @@ -707,14 +711,17 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, } *function = [func, function_name, this](ContextBase *context, Args... args) -> R { - wasm_val_t params[] = {makeVal(args)...}; - wasm_val_t results[1]; - SaveRestoreContext saved_context(context); - if (cmpLogLevel(LogLevel::trace)) { - integration()->trace("[host->vm] " + std::string(function_name) + "(" + - printValues(params, sizeof...(Args)) + ")"); + wasm_val_t params_arr[] = {makeVal(args)...}; + const wasm_val_vec_t params = WASM_ARRAY_VEC(params_arr); + wasm_val_t results_arr[1]; + wasm_val_vec_t results = WASM_ARRAY_VEC(results_arr); + const bool log = cmpLogLevel(LogLevel::trace); + if (log) { + integration()->trace("[host->vm] " + std::string(function_name) + "(" + printValues(¶ms) + + ")"); } - WasmTrapPtr trap{wasm_func_call(func, params, results)}; + SaveRestoreContext saved_context(context); + WasmTrapPtr trap{wasm_func_call(func, ¶ms, &results)}; if (trap) { WasmByteVec error_message; wasm_trap_message(trap.get(), error_message.get()); @@ -723,8 +730,8 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, std::string(error_message.get()->data, error_message.get()->size)); return R{}; } - R ret = convertValueTypeToArg(results[0]); - if (cmpLogLevel(LogLevel::trace)) { + R ret = convertValueTypeToArg(results.data[0]); + if (log) { integration()->trace("[host<-vm] " + std::string(function_name) + " return: " + std::to_string(ret)); }