From fc4dba1856c763cc2345ebaaee9b319f0d3d9aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Grabarz?= Date: Tue, 3 Sep 2024 17:08:11 +0200 Subject: [PATCH] rust-ffi wasm is building --- .bazelrc | 12 + .vscode/settings.json | 6 +- Cargo.lock | 244 +- Cargo.toml | 2 +- MODULE.bazel | 45 +- MODULE.bazel.lock | 2745 ++++------------- app/BUILD.bazel | 6 +- app/dashboard/BUILD.bazel | 29 + app/dashboard/tsconfig.json | 4 +- app/gui2/BUILD.bazel | 43 +- app/ide-desktop/common/BUILD.bazel | 2 +- app/rust-ffi/BUILD.bazel | 30 +- app/rust-ffi/package.json | 5 +- app/toolchains/dummy_cc/BUILD.bazel | 37 + .../dummy_cc/dummy_cc_toolchain.bzl | 30 + app/toolchains/wasm_bindgen/BUILD.bazel | 12 + app/tsconfig.json | 3 - app/ydoc-server/BUILD.bazel | 27 + app/ydoc-server/tsconfig.json | 2 +- app/ydoc-shared/BUILD.bazel | 27 + toolchains/dummy_cc/BUILD.bazel | 37 + toolchains/dummy_cc/dummy_cc_toolchain.bzl | 30 + toolchains/wasm_bindgen/BUILD.bazel | 19 + .../wasm_bindgen/BUILD.wasm-bindgen-cli.bazel | 26 + 24 files changed, 1132 insertions(+), 2291 deletions(-) create mode 100644 app/dashboard/BUILD.bazel create mode 100644 app/toolchains/dummy_cc/BUILD.bazel create mode 100644 app/toolchains/dummy_cc/dummy_cc_toolchain.bzl create mode 100644 app/toolchains/wasm_bindgen/BUILD.bazel create mode 100644 app/ydoc-server/BUILD.bazel create mode 100644 app/ydoc-shared/BUILD.bazel create mode 100644 toolchains/dummy_cc/BUILD.bazel create mode 100644 toolchains/dummy_cc/dummy_cc_toolchain.bzl create mode 100644 toolchains/wasm_bindgen/BUILD.bazel create mode 100644 toolchains/wasm_bindgen/BUILD.wasm-bindgen-cli.bazel diff --git a/.bazelrc b/.bazelrc index 8807a6436d..a4db1c12cd 100644 --- a/.bazelrc +++ b/.bazelrc @@ -15,3 +15,15 @@ common --java_language_version=21 ## Rust startup --windows_enable_symlinks build --enable_runfiles + +## other +# build --experimental_output_directory_naming_scheme=diff_against_dynamic_baseline +# build --incompatible_disallow_empty_glob +# build --verbose_failures +# build --worker_sandboxing +# build:linux --sandbox_add_mount_pair=/tmp +# build:macos --sandbox_add_mount_pair=/var/tmp +# build:windows --sandbox_add_mount_pair=C:\Temp + +# test --sandbox_default_allow_network=false +# test --test_output=errors diff --git a/.vscode/settings.json b/.vscode/settings.json index 2155fe49d0..09fcbd14b2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,5 +26,9 @@ }, "vitest.workspaceConfig": "vitest.workspace.ts", "metals.inlayHints.implicitArguments.enable": true, - "metals.inlayHints.implicitConversions.enable": true + "metals.inlayHints.implicitConversions.enable": true, + "files.associations": { + "curve25519_64.h": "c", + "curve25519_32.h": "c" + } } diff --git a/Cargo.lock b/Cargo.lock index 0cfcccce79..f38024b78e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,12 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "adler2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" + [[package]] name = "afl" version = "0.15.10" @@ -134,9 +140,9 @@ checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "assert-json-diff" @@ -174,13 +180,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.81" +version = "0.1.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" +checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -559,7 +565,7 @@ dependencies = [ "cc", "cfg-if", "libc", - "miniz_oxide", + "miniz_oxide 0.7.4", "object", "rustc-demangle", ] @@ -654,9 +660,12 @@ checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" [[package]] name = "cc" -version = "1.1.10" +version = "1.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292" +checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" +dependencies = [ + "shlex", +] [[package]] name = "cesu8" @@ -703,9 +712,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.15" +version = "4.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d8838454fda655dafd3accb2b6e2bea645b9e4078abe84a22ceb947235c5cc" +checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" dependencies = [ "clap_builder", "clap_derive", @@ -733,7 +742,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -826,9 +835,9 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad" dependencies = [ "libc", ] @@ -1003,7 +1012,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a183e141d0e543fe8abc96e0f06da25e3294284239260e50f63847f549d807a" dependencies = [ "anyhow", - "clap 4.5.15", + "clap 4.5.16", "crossbeam", "crossbeam-channel", "dataview", @@ -1039,7 +1048,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1090,7 +1099,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", "unicode-xid", ] @@ -1204,7 +1213,7 @@ dependencies = [ "base64 0.13.1", "bytes", "chrono", - "clap 4.5.15", + "clap 4.5.16", "convert_case", "derive-where", "derive_more", @@ -1272,7 +1281,7 @@ name = "enso-build-cli" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.15", + "clap 4.5.16", "derive-where", "enso-build", "enso-build-base", @@ -1297,7 +1306,7 @@ dependencies = [ "quote", "regex", "serde_yaml", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1398,7 +1407,7 @@ version = "0.2.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1409,7 +1418,7 @@ dependencies = [ "enso-macro-utils", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1459,7 +1468,7 @@ dependencies = [ name = "enso-parser-debug" version = "0.1.0" dependencies = [ - "clap 4.5.15", + "clap 4.5.16", "enso-metamodel", "enso-metamodel-lexpr", "enso-parser", @@ -1515,7 +1524,7 @@ dependencies = [ "enso-macro-utils", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1545,7 +1554,7 @@ version = "0.1.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1615,15 +1624,15 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "filetime" -version = "0.2.24" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf401df4a4e3872c4fe8151134cf483738e74b67fc934d6532c882b3d24a4550" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", @@ -1633,12 +1642,12 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.31" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" +checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" dependencies = [ "crc32fast", - "miniz_oxide", + "miniz_oxide 0.8.0", ] [[package]] @@ -1662,7 +1671,7 @@ checksum = "2cd66269887534af4b0c3e3337404591daa8dc8b9b2b3db71f9523beb4bafb41" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1782,7 +1791,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -1908,7 +1917,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.3.0", + "indexmap 2.5.0", "slab", "tokio", "tokio-util", @@ -2185,7 +2194,7 @@ dependencies = [ "bincode", "bytes", "chrono", - "clap 4.5.15", + "clap 4.5.16", "convert_case", "data-encoding", "dependency_runner", @@ -2268,9 +2277,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0" +checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" dependencies = [ "equivalent", "hashbrown 0.14.5", @@ -2356,9 +2365,9 @@ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" dependencies = [ "wasm-bindgen", ] @@ -2416,9 +2425,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.155" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "libm" @@ -2469,7 +2478,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" name = "logstat" version = "0.1.0" dependencies = [ - "clap 4.5.15", + "clap 4.5.16", "enso-prelude", "lazy_static", "regex", @@ -2524,6 +2533,16 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" +[[package]] +name = "minicov" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c71e683cd655513b99affab7d317deb690528255a0d5f717f1024093c12b169" +dependencies = [ + "cc", + "walkdir", +] + [[package]] name = "miniz_oxide" version = "0.7.4" @@ -2533,6 +2552,15 @@ dependencies = [ "adler", ] +[[package]] +name = "miniz_oxide" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" +dependencies = [ + "adler2", +] + [[package]] name = "mio" version = "1.0.2" @@ -2760,9 +2788,9 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.36.3" +version = "0.36.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9" +checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" dependencies = [ "memchr", ] @@ -2819,7 +2847,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -2997,7 +3025,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -3028,7 +3056,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -3132,9 +3160,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -3251,9 +3279,9 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.15", "libredox", @@ -3411,18 +3439,18 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver", ] [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f" dependencies = [ "bitflags 2.6.0", "errno", @@ -3545,7 +3573,7 @@ checksum = "1db149f81d46d2deba7cd3c50772474707729550221e69588478ebf9ada425ae" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -3592,13 +3620,13 @@ dependencies = [ [[package]] name = "self-replace" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7828a58998685d8bf5a3c5e7a3379a5867289c20828c3ee436280b44b598515" +checksum = "03ec815b5eab420ab893f63393878d89c90fdd94c0bcc44c07abb8ad95552fb7" dependencies = [ - "fastrand 1.9.0", + "fastrand 2.1.1", "tempfile", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -3612,29 +3640,29 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.206" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b3e4cd94123dd520a128bcd11e34d9e9e423e7e3e50425cb1b4b1e3549d0284" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.206" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabfb6138d2383ea8208cf98ccf69cdfb1aff4088460681d84189aa259762f97" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] name = "serde_json" -version = "1.0.124" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66ad62847a56b3dba58cc891acd13884b9c61138d330c0d7b6181713d4fce38d" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "itoa", "memchr", @@ -3690,7 +3718,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.3.0", + "indexmap 2.5.0", "itoa", "ryu", "serde", @@ -3903,7 +3931,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -3925,9 +3953,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" dependencies = [ "proc-macro2", "quote", @@ -3994,7 +4022,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" dependencies = [ "cfg-if", - "fastrand 2.1.0", + "fastrand 2.1.1", "once_cell", "rustix", "windows-sys 0.59.0", @@ -4053,7 +4081,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -4123,9 +4151,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.39.2" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daa4fb1bc778bd6f04cbfc4bb2d06a7396a8f299dc33ea1900cedaa316f467b1" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", @@ -4148,7 +4176,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -4246,7 +4274,7 @@ version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap 2.3.0", + "indexmap 2.5.0", "serde", "serde_spanned", "toml_datetime", @@ -4271,15 +4299,15 @@ dependencies = [ [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" @@ -4301,7 +4329,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -4425,9 +4453,9 @@ checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" [[package]] name = "unsafe-libyaml" @@ -4579,34 +4607,35 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.42" +version = "0.4.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" dependencies = [ "cfg-if", "js-sys", @@ -4616,9 +4645,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4626,31 +4655,32 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wasm-bindgen-test" -version = "0.3.42" +version = "0.3.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9bf62a58e0780af3e852044583deee40983e5886da43a271dd772379987667b" +checksum = "68497a05fb21143a08a7d24fc81763384a3072ee43c44e86aad1744d6adef9d9" dependencies = [ "console_error_panic_hook", "js-sys", + "minicov", "scoped-tls", "wasm-bindgen", "wasm-bindgen-futures", @@ -4659,13 +4689,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-test-macro" -version = "0.3.42" +version = "0.3.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7f89739351a2e03cb94beb799d47fb2cac01759b40ec441f7de39b00cbf7ef0" +checksum = "4b8220be1fa9e4c889b30fd207d4906657e7e90b12e0e6b0c8b8d8709f5de021" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] @@ -4683,9 +4713,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.69" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" dependencies = [ "js-sys", "wasm-bindgen", @@ -5108,7 +5138,7 @@ name = "wstest" version = "0.1.0" dependencies = [ "base64 0.13.1", - "clap 4.5.15", + "clap 4.5.16", "either", "enso-prelude", "futures", @@ -5161,7 +5191,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.77", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 233cf1cb0d..d40860ca21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,7 +123,7 @@ tokio-util = { version = "0.7.10", features = ["full"] } tracing = { version = "0.1.40" } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } walkdir = { version = "2.5.0" } -wasm-bindgen = { version = "0.2.92", default-features = false } +wasm-bindgen = { version = "0.2.93", default-features = false } wasm-bindgen-test = { version = "0.3.34" } windows = { version = "0.52.0", features = ["Win32_UI", "Win32_UI_Shell", "Win32_System_LibraryLoader", "Win32_System_Com"] } winreg = { version = "0.52.0" } diff --git a/MODULE.bazel b/MODULE.bazel index 50933e0958..5991ea9a60 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,8 +4,8 @@ ### JavaScript ecosystem ### ############################ -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc6") -bazel_dep(name = "aspect_rules_ts", version = "3.0.0-rc0") +bazel_dep(name = "aspect_rules_js", version = "2.0.1") +bazel_dep(name = "aspect_rules_ts", version = "3.0.0") bazel_dep(name = "rules_nodejs", version = "6.2.0") ## Node.js @@ -18,9 +18,9 @@ npm.npm_translate_lock(name = "npm", pnpm_lock = "//:pnpm-lock.yaml", verify_nod use_repo(npm, "npm") ## TypeScript -# rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) -# rules_ts_ext.deps() -# use_repo(rules_ts_ext, "npm_typescript") +rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) +rules_ts_ext.deps() +use_repo(rules_ts_ext, "npm_typescript") ############ @@ -30,11 +30,13 @@ bazel_dep(name = "rules_rust", version = "0.48.0") single_version_override(module_name = "rules_rust", patches = ["patches/rules_rust_msvc_maxpath.patch"]) rust = use_extension("@rules_rust//rust:extensions.bzl", "rust") -rust.toolchain(edition = "2021") +rust.toolchain( + edition = "2021", + versions = ["nightly/2024-08-08"], + extra_target_triples = ["wasm32-unknown-unknown"] +) use_repo(rust, "rust_toolchains") - -# manifests = use_extension("//:bazel_scripts/manifests.bzl", "manifests") -# manifests.manifests(manifest = "//:Cargo.toml") +register_toolchains("@rust_toolchains//:all") # print( manifests.MANIFESTS ) crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate") @@ -75,6 +77,31 @@ crate.from_cargo( ) use_repo(crate, "crates") +wb_crates = use_extension("@rules_rust//crate_universe:extension.bzl", "crate") +wb_crates.from_cargo( + name = "wb_crates", + cargo_lockfile = "@wasm_bindgen_cli_crate//:Cargo.lock", + cargo_config = "//:.cargo/config.toml", + manifests = [ + "@wasm_bindgen_cli_crate//:Cargo.toml", + ], +) +use_repo(wb_crates, "wb_crates") +http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +WASM_BINDGEN_VERSION = "0.2.93" +http_archive( + name = "wasm_bindgen_cli_crate", + integrity = "sha256-uwX54YM2X1zzrATWC1Sw4z9JTpNzAme1r4JjNEPugDU=", + # sha256 = "08f61e21873f51e3059a8c7c3eef81ede7513d161cfc60751c7b2ffa6ed28270", + urls = ["https://static.crates.io/crates/wasm-bindgen-cli/wasm-bindgen-cli-{}.crate".format(WASM_BINDGEN_VERSION)], + type = "tar.gz", + strip_prefix = "wasm-bindgen-cli-{}".format(WASM_BINDGEN_VERSION), + build_file = "//toolchains/wasm_bindgen:BUILD.wasm-bindgen-cli.bazel", +) + +register_toolchains("//toolchains/wasm_bindgen:cli") +register_toolchains("//toolchains/dummy_cc:dummy_cc_wasm32_toolchain") + ########### ### JVM ### ########### diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 12ef7614cf..1ed1ae4cb6 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -12,17 +12,16 @@ "https://bcr.bazel.build/modules/aspect_bazel_lib/1.31.2/MODULE.bazel": "7bee702b4862612f29333590f4b658a5832d433d6f8e4395f090e8f4e85d442f", "https://bcr.bazel.build/modules/aspect_bazel_lib/1.38.0/MODULE.bazel": "6307fec451ba9962c1c969eb516ebfe1e46528f7fa92e1c9ac8646bef4cdaa3f", "https://bcr.bazel.build/modules/aspect_bazel_lib/1.40.3/MODULE.bazel": "668e6bcb4d957fc0e284316dba546b705c8d43c857f87119619ee83c4555b859", - "https://bcr.bazel.build/modules/aspect_bazel_lib/2.7.3/MODULE.bazel": "c3f66aa9f490a580dd9b4c0adf4b2e2d9712152c348c74b77a7c22b1461ed143", "https://bcr.bazel.build/modules/aspect_bazel_lib/2.7.7/MODULE.bazel": "491f8681205e31bb57892d67442ce448cda4f472a8e6b3dc062865e29a64f89c", "https://bcr.bazel.build/modules/aspect_bazel_lib/2.7.7/source.json": "87f12b449cd1d27d3e83840a59a6966d557e7c3c5f19e7b2e0361da5edc6b397", "https://bcr.bazel.build/modules/aspect_rules_js/1.33.1/MODULE.bazel": "db3e7f16e471cf6827059d03af7c21859e7a0d2bc65429a3a11f005d46fc501b", "https://bcr.bazel.build/modules/aspect_rules_js/1.39.0/MODULE.bazel": "aece421d479e3c31dc3e5f6d49a12acc2700457c03c556650ec7a0ff23fc0d95", - "https://bcr.bazel.build/modules/aspect_rules_js/2.0.0-rc0/MODULE.bazel": "08e56ac8e87ef4ac91513ddc3565485fec92748e9b56ae4c9d214562428985be", - "https://bcr.bazel.build/modules/aspect_rules_js/2.0.0-rc6/MODULE.bazel": "1db59a4c557d94e98cf30df3defdea9782e4bce882454c10068c7cbcb987c258", - "https://bcr.bazel.build/modules/aspect_rules_js/2.0.0-rc6/source.json": "083c40c3802a0e38f6f7a96aa50cfed0cfebf12b1243d1552fa44d27b26e6c94", + "https://bcr.bazel.build/modules/aspect_rules_js/2.0.0/MODULE.bazel": "b45b507574aa60a92796e3e13c195cd5744b3b8aff516a9c0cb5ae6a048161c5", + "https://bcr.bazel.build/modules/aspect_rules_js/2.0.1/MODULE.bazel": "a09d32aa997ad899fcd88dc6e629188f03351994f0698bc32a9979c5bcfd5c31", + "https://bcr.bazel.build/modules/aspect_rules_js/2.0.1/source.json": "62bda0d34f3817af165d1903b890ecbf6e50d652492f8bb83682636e997b5619", "https://bcr.bazel.build/modules/aspect_rules_lint/0.12.0/MODULE.bazel": "e767c5dbfeb254ec03275a7701b5cfde2c4d2873676804bc7cb27ddff3728fed", - "https://bcr.bazel.build/modules/aspect_rules_ts/3.0.0-rc0/MODULE.bazel": "d99ae906246dd7fa25a81a7c6725d7cf5c5338a6980a439d1e9364363c590c1c", - "https://bcr.bazel.build/modules/aspect_rules_ts/3.0.0-rc0/source.json": "164ed5ee86e8bdd04f211f7711627793f5ec73c3c2d022515e54c61984c70a8c", + "https://bcr.bazel.build/modules/aspect_rules_ts/3.0.0/MODULE.bazel": "0e7ac8ff86454e4f7564242b66c27401b384798400170474bef5554087a256ec", + "https://bcr.bazel.build/modules/aspect_rules_ts/3.0.0/source.json": "077e4dd4b3e8cf2332bc4604a34a64442ab09c96373420f4eadb0fd56a8d4b0e", "https://bcr.bazel.build/modules/bazel_features/0.1.0/MODULE.bazel": "47011d645b0f949f42ee67f2e8775188a9cf4a0a1528aa2fa4952f2fd00906fd", "https://bcr.bazel.build/modules/bazel_features/1.0.0/MODULE.bazel": "d7f022dc887efb96e1ee51cec7b2e48d41e36ff59a6e4f216c40e4029e1585bf", "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", @@ -87,7 +86,6 @@ "https://bcr.bazel.build/modules/rules_license/0.0.8/MODULE.bazel": "5669c6fe49b5134dbf534db681ad3d67a2d49cfc197e4a95f1ca2fd7f3aebe96", "https://bcr.bazel.build/modules/rules_license/0.0.8/source.json": "ccfd3964cd0cd1739202efb8dbf9a06baab490e61e174b2ad4790f9c4e610beb", "https://bcr.bazel.build/modules/rules_nodejs/5.8.2/MODULE.bazel": "6bc03c8f37f69401b888023bf511cb6ee4781433b0cb56236b2e55a21e3a026a", - "https://bcr.bazel.build/modules/rules_nodejs/6.1.0/MODULE.bazel": "793db82a1f63f8bd2621c7882df707aec5266977408c9d8e4ecec1969c677dc0", "https://bcr.bazel.build/modules/rules_nodejs/6.2.0/MODULE.bazel": "ec27907f55eb34705adb4e8257952162a2d4c3ed0f0b3b4c3c1aad1fac7be35e", "https://bcr.bazel.build/modules/rules_nodejs/6.2.0/source.json": "a77c307175a82982f0847fd6a8660db5b21440d8a9d073642cb4afa7a18612ff", "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", @@ -150,7 +148,7 @@ "@@aspect_bazel_lib~//lib:extensions.bzl%toolchains": { "general": { "bzlTransitiveDigest": "3KydN9M+cGcn8Huu/umxX7Vk08sXz5lJeUxg/b0Gxjc=", - "usagesDigest": "4WmiryvAUWvG7zSCFs+dKgFUv7JC2Sula75K3yuKjkU=", + "usagesDigest": "Cfe43UxnexwXh6eindVSVzskoYyQKVcN0d7Q5GURnP8=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -616,8 +614,8 @@ }, "@@aspect_rules_js~//npm:extensions.bzl%pnpm": { "general": { - "bzlTransitiveDigest": "qPskAdwf8yQKzlSqsBpzxjdHyZXkfOnfFmgaTOy4ucA=", - "usagesDigest": "54yS6RPsA7WbzYLSI6QZ/XFU+LnrrTFOqlH8oJaV3xQ=", + "bzlTransitiveDigest": "Te3PvKs7vDS4dxC1S2G5OyRALlACOH6Ofh6KM1hyD4U=", + "usagesDigest": "4l7bmRQkO3X4QRe/n4qLKHBozj6dLXGRKt+QHkMt8R0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -719,6 +717,41 @@ ] } }, + "@@aspect_rules_ts~//ts:extensions.bzl%ext": { + "general": { + "bzlTransitiveDigest": "oKcu5tBbtSfUDhUlzslFb7VqeJo83CbHK95dXgz/1F0=", + "usagesDigest": "KrtIXYD5SXmhBL7naWSZw66Aw5PQXls8A800FfZmhcg=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "npm_typescript": { + "bzlFile": "@@aspect_rules_ts~//ts/private:npm_repositories.bzl", + "ruleClassName": "http_archive_version", + "attributes": { + "bzlmod": true, + "version": "5.5.4", + "integrity": "", + "build_file": "@@aspect_rules_ts~//ts:BUILD.typescript", + "build_file_substitutions": { + "bazel_worker_version": "5.4.2", + "google_protobuf_version": "3.20.1" + }, + "urls": [ + "https://registry.npmjs.org/typescript/-/typescript-{}.tgz" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "aspect_rules_ts~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, "@@platforms//host:extension.bzl%host_platform": { "general": { "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", @@ -858,7 +891,7 @@ "@@rules_nodejs~//nodejs:extensions.bzl%node": { "general": { "bzlTransitiveDigest": "0IJr1Jg3Dns9QKY65MtauFLtHjjP3n1DgN0+ZAjFYXo=", - "usagesDigest": "gXkfIT5ToRFi72k93B9PZwt1FfcMS9qlABEVzjNoAjU=", + "usagesDigest": "IE44cv6TlvHPKE4J1SsPZ0ooQwI/Ns6UowFHaa+a208=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -1127,11 +1160,30 @@ "@@rules_rust~//rust:extensions.bzl%rust": { "general": { "bzlTransitiveDigest": "5Fhm4e8fu/NfMW757ZpxfoALzKqLkdWu/bnnCs61WW4=", - "usagesDigest": "6oovixlJcbatlv5kdh0zwKGku1OOvjVapB8IT+dSR2Q=", + "usagesDigest": "CX9eGyp/EOLsU70O2sS80JnmG8+o4ofImnux4Y0BJF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@rust_darwin_aarch64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", + "target_settings": [ + "@rules_rust//rust/toolchain/channel:nightly" + ], + "toolchain_type": "@rules_rust//rust:toolchain", + "exec_compatible_with": [ + "@platforms//cpu:aarch64", + "@platforms//os:osx" + ], + "target_compatible_with": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ] + } + }, "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_tools_repository", @@ -1140,7 +1192,7 @@ "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", "target_triple": "x86_64-unknown-linux-gnu", - "iso_date": "2024-06-13", + "iso_date": "2024-08-08", "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", @@ -1157,16 +1209,16 @@ "auth_patterns": [] } }, - "rust_darwin_aarch64__wasm32-wasi__stable_tools": { + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_tools_repository", "attributes": { "exec_triple": "aarch64-apple-darwin", "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", + "target_triple": "wasm32-unknown-unknown", + "iso_date": "2024-08-08", + "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", "dev_components": false, @@ -1182,16 +1234,16 @@ "auth_patterns": [] } }, - "rust_darwin_x86_64__wasm32-wasi__stable_tools": { + "waapwmn_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_tools_repository", "attributes": { - "exec_triple": "x86_64-apple-darwin", + "exec_triple": "aarch64-pc-windows-msvc", "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", + "target_triple": "aarch64-pc-windows-msvc", + "iso_date": "2024-08-08", + "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", "dev_components": false, @@ -1207,61 +1259,13 @@ "auth_patterns": [] } }, - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "aarch64-unknown-linux-gnu", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "wx6wuus": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wx6wuus_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, "rust_windows_x86_64": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_set_repository", "attributes": { "toolchains": [ - "@wx6x6pwms//:toolchain", "@wx6x6pwmn//:toolchain", - "@wx6wuus//:toolchain", - "@wx6wuun//:toolchain", - "@wx6wws//:toolchain", - "@wx6wwn//:toolchain" + "@wx6wuun//:toolchain" ] } }, @@ -1284,32 +1288,25 @@ "ruleClassName": "rust_toolchain_set_repository", "attributes": { "toolchains": [ - "@waapwms//:toolchain", "@waapwmn//:toolchain", - "@wawuus//:toolchain", - "@wawuun//:toolchain", - "@wawws//:toolchain", - "@wawwn//:toolchain" + "@wawuun//:toolchain" ] } }, - "rust_linux_x86_64__wasm32-unknown-unknown__stable": { + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", + "ruleClassName": "rustfmt_toolchain_tools_repository", "attributes": { - "toolchain": "@rust_linux_x86_64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" + "version": "nightly", + "iso_date": "2024-06-13", + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] + "auth": {}, + "netrc": "", + "auth_patterns": {}, + "exec_triple": "x86_64-unknown-linux-gnu" } }, "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly_tools": { @@ -1320,7 +1317,32 @@ "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", + "iso_date": "2024-08-08", + "version": "nightly", + "rustfmt_version": "nightly/2024-06-13", + "edition": "2021", + "dev_components": false, + "extra_rustc_flags": [], + "extra_exec_rustc_flags": [], + "opt_level": {}, + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" + ], + "auth": {}, + "netrc": "", + "auth_patterns": [] + } + }, + "wx6wuun_tools": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "rust_toolchain_tools_repository", + "attributes": { + "exec_triple": "x86_64-pc-windows-msvc", + "allocator_library": "@rules_rust//ffi/cc/allocator_library", + "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", + "target_triple": "wasm32-unknown-unknown", + "iso_date": "2024-08-08", "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", @@ -1356,29 +1378,18 @@ ] } }, - "wawws_tools": { + "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", + "ruleClassName": "toolchain_repository_proxy", "attributes": { - "exec_triple": "aarch64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" + "toolchain": "@rustfmt_nightly-2024-06-13__aarch64-apple-darwin_tools//:rustfmt_toolchain", + "toolchain_type": "@rules_rust//rust/rustfmt:toolchain_type", + "target_settings": [], + "exec_compatible_with": [ + "@platforms//cpu:aarch64", + "@platforms//os:osx" ], - "auth": {}, - "netrc": "", - "auth_patterns": [] + "target_compatible_with": [] } }, "rust_linux_x86_64__wasm32-unknown-unknown__nightly": { @@ -1400,25 +1411,6 @@ ] } }, - "rust_darwin_aarch64__wasm32-unknown-unknown__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_aarch64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, "waapwmn": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", @@ -1438,129 +1430,23 @@ ] } }, - "rust_linux_aarch64__wasm32-wasi__nightly": { + "rust_darwin_x86_64": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", + "ruleClassName": "rust_toolchain_set_repository", "attributes": { - "toolchain": "@rust_linux_aarch64__wasm32-wasi__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" + "toolchains": [ + "@rust_darwin_x86_64__x86_64-apple-darwin__nightly//:toolchain", + "@rust_darwin_x86_64__wasm32-unknown-unknown__nightly//:toolchain" ] } }, - "wx6x6pwms_tools": { + "rust_darwin_aarch64": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", + "ruleClassName": "rust_toolchain_set_repository", "attributes": { - "exec_triple": "x86_64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-pc-windows-msvc", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_x86_64__wasm32-unknown-unknown__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "wawws": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wawws_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_linux_aarch64__wasm32-wasi__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_linux_aarch64__wasm32-wasi__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "wx6wws": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wx6wws_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" + "toolchains": [ + "@rust_darwin_aarch64__aarch64-apple-darwin__nightly//:toolchain", + "@rust_darwin_aarch64__wasm32-unknown-unknown__nightly//:toolchain" ] } }, @@ -1572,7 +1458,7 @@ "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", "target_triple": "aarch64-apple-darwin", - "iso_date": "2024-06-13", + "iso_date": "2024-08-08", "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", @@ -1605,6 +1491,25 @@ "exec_triple": "x86_64-pc-windows-msvc" } }, + "wx6x6pwmn": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@wx6x6pwmn_tools//:rust_toolchain", + "target_settings": [ + "@rules_rust//rust/toolchain/channel:nightly" + ], + "toolchain_type": "@rules_rust//rust:toolchain", + "exec_compatible_with": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ], + "target_compatible_with": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ] + } + }, "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", @@ -1619,50 +1524,6 @@ "target_compatible_with": [] } }, - "wawwn": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wawwn_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_linux_x86_64__wasm32-unknown-unknown__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, "rustfmt_nightly-2024-06-13__aarch64-apple-darwin_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rustfmt_toolchain_tools_repository", @@ -1679,25 +1540,6 @@ "exec_triple": "aarch64-apple-darwin" } }, - "wx6wwn": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wx6wwn_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", @@ -1717,22 +1559,12 @@ ] } }, - "rust_darwin_x86_64__wasm32-wasi__nightly_tools": { + "rust_analyzer_nightly-2024-08-08_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", + "ruleClassName": "rust_analyzer_toolchain_tools_repository", "attributes": { - "exec_triple": "x86_64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, + "iso_date": "2024-08-08", "sha256s": {}, "urls": [ "https://static.rust-lang.org/dist/{}.tar.xz" @@ -1742,61 +1574,13 @@ "auth_patterns": [] } }, - "rust_freebsd_x86_64__wasm32-wasi__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-freebsd", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_freebsd_x86_64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, "rust_freebsd_x86_64": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_set_repository", "attributes": { "toolchains": [ - "@rust_freebsd_x86_64__x86_64-unknown-freebsd__stable//:toolchain", "@rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly//:toolchain", - "@rust_freebsd_x86_64__wasm32-unknown-unknown__stable//:toolchain", - "@rust_freebsd_x86_64__wasm32-unknown-unknown__nightly//:toolchain", - "@rust_freebsd_x86_64__wasm32-wasi__stable//:toolchain", - "@rust_freebsd_x86_64__wasm32-wasi__nightly//:toolchain" + "@rust_freebsd_x86_64__wasm32-unknown-unknown__nightly//:toolchain" ] } }, @@ -1808,7 +1592,7 @@ "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", + "iso_date": "2024-08-08", "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", @@ -1825,1712 +1609,13 @@ "auth_patterns": [] } }, - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_linux_x86_64__x86_64-unknown-linux-gnu__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ] - } - }, - "rust_linux_x86_64__wasm32-wasi__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_linux_x86_64__wasm32-wasi__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_darwin_aarch64__wasm32-wasi__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_aarch64__wasm32-wasi__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_darwin_x86_64__x86_64-apple-darwin__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-apple-darwin", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_aarch64__aarch64-apple-darwin__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "aarch64-apple-darwin", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_linux_aarch64__wasm32-wasi__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "waapwms": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@waapwms_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ] - } - }, - "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "aarch64-unknown-linux-gnu", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu_tools//:rustfmt_toolchain", - "toolchain_type": "@rules_rust//rust/rustfmt:toolchain_type", - "target_settings": [], - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "target_compatible_with": [] - } - }, - "wawuus": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wawuus_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, - "rust_linux_x86_64__wasm32-wasi__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_linux_x86_64__wasm32-wasi__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "wawuun": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wawuun_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, - "wawwn_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_linux_aarch64": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_set_repository", - "attributes": { - "toolchains": [ - "@rust_linux_aarch64__aarch64-unknown-linux-gnu__stable//:toolchain", - "@rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly//:toolchain", - "@rust_linux_aarch64__wasm32-unknown-unknown__stable//:toolchain", - "@rust_linux_aarch64__wasm32-unknown-unknown__nightly//:toolchain", - "@rust_linux_aarch64__wasm32-wasi__stable//:toolchain", - "@rust_linux_aarch64__wasm32-wasi__nightly//:toolchain" - ] - } - }, - "rust_freebsd_x86_64__wasm32-wasi__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_freebsd_x86_64__wasm32-wasi__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_darwin_x86_64__wasm32-wasi__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_x86_64__wasm32-wasi__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-freebsd", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-unknown-freebsd", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_x86_64__x86_64-apple-darwin__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_x86_64__x86_64-apple-darwin__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ] - } - }, - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rustfmt_toolchain_tools_repository", - "attributes": { - "version": "nightly", - "iso_date": "2024-06-13", - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": {}, - "exec_triple": "aarch64-unknown-linux-gnu" - } - }, - "rust_darwin_aarch64__aarch64-apple-darwin__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ] - } - }, - "wx6wwn_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rustfmt_toolchain_tools_repository", - "attributes": { - "version": "nightly", - "iso_date": "2024-06-13", - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": {}, - "exec_triple": "x86_64-unknown-freebsd" - } - }, - "rust_linux_aarch64__wasm32-unknown-unknown__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu_tools//:rustfmt_toolchain", - "toolchain_type": "@rules_rust//rust/rustfmt:toolchain_type", - "target_settings": [], - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "target_compatible_with": [] - } - }, - "wx6x6pwmn_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-pc-windows-msvc", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_toolchains": { - "bzlFile": "@@rules_rust~//rust/private:repository_utils.bzl", - "ruleClassName": "toolchain_repository_hub", - "attributes": { - "toolchain_names": [ - "rust_analyzer_1.79.0", - "rust_darwin_aarch64__aarch64-apple-darwin__stable", - "rust_darwin_aarch64__aarch64-apple-darwin__nightly", - "rust_darwin_aarch64__wasm32-unknown-unknown__stable", - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly", - "rust_darwin_aarch64__wasm32-wasi__stable", - "rust_darwin_aarch64__wasm32-wasi__nightly", - "rustfmt_nightly-2024-06-13__aarch64-apple-darwin", - "waapwms", - "waapwmn", - "wawuus", - "wawuun", - "wawws", - "wawwn", - "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc", - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable", - "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly", - "rust_linux_aarch64__wasm32-unknown-unknown__stable", - "rust_linux_aarch64__wasm32-unknown-unknown__nightly", - "rust_linux_aarch64__wasm32-wasi__stable", - "rust_linux_aarch64__wasm32-wasi__nightly", - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu", - "rust_darwin_x86_64__x86_64-apple-darwin__stable", - "rust_darwin_x86_64__x86_64-apple-darwin__nightly", - "rust_darwin_x86_64__wasm32-unknown-unknown__stable", - "rust_darwin_x86_64__wasm32-unknown-unknown__nightly", - "rust_darwin_x86_64__wasm32-wasi__stable", - "rust_darwin_x86_64__wasm32-wasi__nightly", - "rustfmt_nightly-2024-06-13__x86_64-apple-darwin", - "wx6x6pwms", - "wx6x6pwmn", - "wx6wuus", - "wx6wuun", - "wx6wws", - "wx6wwn", - "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc", - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable", - "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly", - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable", - "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly", - "rust_freebsd_x86_64__wasm32-wasi__stable", - "rust_freebsd_x86_64__wasm32-wasi__nightly", - "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd", - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable", - "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly", - "rust_linux_x86_64__wasm32-unknown-unknown__stable", - "rust_linux_x86_64__wasm32-unknown-unknown__nightly", - "rust_linux_x86_64__wasm32-wasi__stable", - "rust_linux_x86_64__wasm32-wasi__nightly", - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu" - ], - "toolchain_labels": { - "rust_analyzer_1.79.0": "@rust_analyzer_1.79.0_tools//:rust_analyzer_toolchain", - "rust_darwin_aarch64__aarch64-apple-darwin__stable": "@rust_darwin_aarch64__aarch64-apple-darwin__stable_tools//:rust_toolchain", - "rust_darwin_aarch64__aarch64-apple-darwin__nightly": "@rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools//:rust_toolchain", - "rust_darwin_aarch64__wasm32-unknown-unknown__stable": "@rust_darwin_aarch64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": "@rust_darwin_aarch64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", - "rust_darwin_aarch64__wasm32-wasi__stable": "@rust_darwin_aarch64__wasm32-wasi__stable_tools//:rust_toolchain", - "rust_darwin_aarch64__wasm32-wasi__nightly": "@rust_darwin_aarch64__wasm32-wasi__nightly_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": "@rustfmt_nightly-2024-06-13__aarch64-apple-darwin_tools//:rustfmt_toolchain", - "waapwms": "@waapwms_tools//:rust_toolchain", - "waapwmn": "@waapwmn_tools//:rust_toolchain", - "wawuus": "@wawuus_tools//:rust_toolchain", - "wawuun": "@wawuun_tools//:rust_toolchain", - "wawws": "@wawws_tools//:rust_toolchain", - "wawwn": "@wawwn_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": "@rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc_tools//:rustfmt_toolchain", - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable": "@rust_linux_aarch64__aarch64-unknown-linux-gnu__stable_tools//:rust_toolchain", - "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": "@rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly_tools//:rust_toolchain", - "rust_linux_aarch64__wasm32-unknown-unknown__stable": "@rust_linux_aarch64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "rust_linux_aarch64__wasm32-unknown-unknown__nightly": "@rust_linux_aarch64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", - "rust_linux_aarch64__wasm32-wasi__stable": "@rust_linux_aarch64__wasm32-wasi__stable_tools//:rust_toolchain", - "rust_linux_aarch64__wasm32-wasi__nightly": "@rust_linux_aarch64__wasm32-wasi__nightly_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": "@rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu_tools//:rustfmt_toolchain", - "rust_darwin_x86_64__x86_64-apple-darwin__stable": "@rust_darwin_x86_64__x86_64-apple-darwin__stable_tools//:rust_toolchain", - "rust_darwin_x86_64__x86_64-apple-darwin__nightly": "@rust_darwin_x86_64__x86_64-apple-darwin__nightly_tools//:rust_toolchain", - "rust_darwin_x86_64__wasm32-unknown-unknown__stable": "@rust_darwin_x86_64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": "@rust_darwin_x86_64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", - "rust_darwin_x86_64__wasm32-wasi__stable": "@rust_darwin_x86_64__wasm32-wasi__stable_tools//:rust_toolchain", - "rust_darwin_x86_64__wasm32-wasi__nightly": "@rust_darwin_x86_64__wasm32-wasi__nightly_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": "@rustfmt_nightly-2024-06-13__x86_64-apple-darwin_tools//:rustfmt_toolchain", - "wx6x6pwms": "@wx6x6pwms_tools//:rust_toolchain", - "wx6x6pwmn": "@wx6x6pwmn_tools//:rust_toolchain", - "wx6wuus": "@wx6wuus_tools//:rust_toolchain", - "wx6wuun": "@wx6wuun_tools//:rust_toolchain", - "wx6wws": "@wx6wws_tools//:rust_toolchain", - "wx6wwn": "@wx6wwn_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": "@rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc_tools//:rustfmt_toolchain", - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable": "@rust_freebsd_x86_64__x86_64-unknown-freebsd__stable_tools//:rust_toolchain", - "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": "@rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly_tools//:rust_toolchain", - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable": "@rust_freebsd_x86_64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": "@rust_freebsd_x86_64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", - "rust_freebsd_x86_64__wasm32-wasi__stable": "@rust_freebsd_x86_64__wasm32-wasi__stable_tools//:rust_toolchain", - "rust_freebsd_x86_64__wasm32-wasi__nightly": "@rust_freebsd_x86_64__wasm32-wasi__nightly_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": "@rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd_tools//:rustfmt_toolchain", - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable": "@rust_linux_x86_64__x86_64-unknown-linux-gnu__stable_tools//:rust_toolchain", - "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": "@rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly_tools//:rust_toolchain", - "rust_linux_x86_64__wasm32-unknown-unknown__stable": "@rust_linux_x86_64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "rust_linux_x86_64__wasm32-unknown-unknown__nightly": "@rust_linux_x86_64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", - "rust_linux_x86_64__wasm32-wasi__stable": "@rust_linux_x86_64__wasm32-wasi__stable_tools//:rust_toolchain", - "rust_linux_x86_64__wasm32-wasi__nightly": "@rust_linux_x86_64__wasm32-wasi__nightly_tools//:rust_toolchain", - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": "@rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu_tools//:rustfmt_toolchain" - }, - "toolchain_types": { - "rust_analyzer_1.79.0": "@rules_rust//rust/rust_analyzer:toolchain_type", - "rust_darwin_aarch64__aarch64-apple-darwin__stable": "@rules_rust//rust:toolchain", - "rust_darwin_aarch64__aarch64-apple-darwin__nightly": "@rules_rust//rust:toolchain", - "rust_darwin_aarch64__wasm32-unknown-unknown__stable": "@rules_rust//rust:toolchain", - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", - "rust_darwin_aarch64__wasm32-wasi__stable": "@rules_rust//rust:toolchain", - "rust_darwin_aarch64__wasm32-wasi__nightly": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": "@rules_rust//rust/rustfmt:toolchain_type", - "waapwms": "@rules_rust//rust:toolchain", - "waapwmn": "@rules_rust//rust:toolchain", - "wawuus": "@rules_rust//rust:toolchain", - "wawuun": "@rules_rust//rust:toolchain", - "wawws": "@rules_rust//rust:toolchain", - "wawwn": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": "@rules_rust//rust/rustfmt:toolchain_type", - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable": "@rules_rust//rust:toolchain", - "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": "@rules_rust//rust:toolchain", - "rust_linux_aarch64__wasm32-unknown-unknown__stable": "@rules_rust//rust:toolchain", - "rust_linux_aarch64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", - "rust_linux_aarch64__wasm32-wasi__stable": "@rules_rust//rust:toolchain", - "rust_linux_aarch64__wasm32-wasi__nightly": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": "@rules_rust//rust/rustfmt:toolchain_type", - "rust_darwin_x86_64__x86_64-apple-darwin__stable": "@rules_rust//rust:toolchain", - "rust_darwin_x86_64__x86_64-apple-darwin__nightly": "@rules_rust//rust:toolchain", - "rust_darwin_x86_64__wasm32-unknown-unknown__stable": "@rules_rust//rust:toolchain", - "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", - "rust_darwin_x86_64__wasm32-wasi__stable": "@rules_rust//rust:toolchain", - "rust_darwin_x86_64__wasm32-wasi__nightly": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": "@rules_rust//rust/rustfmt:toolchain_type", - "wx6x6pwms": "@rules_rust//rust:toolchain", - "wx6x6pwmn": "@rules_rust//rust:toolchain", - "wx6wuus": "@rules_rust//rust:toolchain", - "wx6wuun": "@rules_rust//rust:toolchain", - "wx6wws": "@rules_rust//rust:toolchain", - "wx6wwn": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": "@rules_rust//rust/rustfmt:toolchain_type", - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable": "@rules_rust//rust:toolchain", - "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": "@rules_rust//rust:toolchain", - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable": "@rules_rust//rust:toolchain", - "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", - "rust_freebsd_x86_64__wasm32-wasi__stable": "@rules_rust//rust:toolchain", - "rust_freebsd_x86_64__wasm32-wasi__nightly": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": "@rules_rust//rust/rustfmt:toolchain_type", - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable": "@rules_rust//rust:toolchain", - "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": "@rules_rust//rust:toolchain", - "rust_linux_x86_64__wasm32-unknown-unknown__stable": "@rules_rust//rust:toolchain", - "rust_linux_x86_64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", - "rust_linux_x86_64__wasm32-wasi__stable": "@rules_rust//rust:toolchain", - "rust_linux_x86_64__wasm32-wasi__nightly": "@rules_rust//rust:toolchain", - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": "@rules_rust//rust/rustfmt:toolchain_type" - }, - "exec_compatible_with": { - "rust_analyzer_1.79.0": [], - "rust_darwin_aarch64__aarch64-apple-darwin__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__aarch64-apple-darwin__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__wasm32-wasi__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__wasm32-wasi__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "waapwms": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "waapwmn": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "wawuus": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "wawuun": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "wawws": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "wawwn": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__wasm32-wasi__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__wasm32-wasi__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_darwin_x86_64__x86_64-apple-darwin__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__x86_64-apple-darwin__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__wasm32-wasi__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__wasm32-wasi__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "wx6x6pwms": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6x6pwmn": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6wuus": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6wuun": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6wws": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6wwn": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__wasm32-wasi__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__wasm32-wasi__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__wasm32-wasi__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__wasm32-wasi__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ] - }, - "target_compatible_with": { - "rust_analyzer_1.79.0": [], - "rust_darwin_aarch64__aarch64-apple-darwin__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__aarch64-apple-darwin__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "rust_darwin_aarch64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_darwin_aarch64__wasm32-wasi__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rust_darwin_aarch64__wasm32-wasi__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": [], - "waapwms": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "waapwmn": [ - "@platforms//cpu:aarch64", - "@platforms//os:windows" - ], - "wawuus": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "wawuun": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "wawws": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "wawwn": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": [], - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "rust_linux_aarch64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_linux_aarch64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_linux_aarch64__wasm32-wasi__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rust_linux_aarch64__wasm32-wasi__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": [], - "rust_darwin_x86_64__x86_64-apple-darwin__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__x86_64-apple-darwin__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "rust_darwin_x86_64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_darwin_x86_64__wasm32-wasi__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rust_darwin_x86_64__wasm32-wasi__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": [], - "wx6x6pwms": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6x6pwmn": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "wx6wuus": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "wx6wuun": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "wx6wws": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "wx6wwn": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": [], - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_freebsd_x86_64__wasm32-wasi__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rust_freebsd_x86_64__wasm32-wasi__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": [], - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "rust_linux_x86_64__wasm32-unknown-unknown__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_linux_x86_64__wasm32-unknown-unknown__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ], - "rust_linux_x86_64__wasm32-wasi__stable": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rust_linux_x86_64__wasm32-wasi__nightly": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ], - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": [] - } - } - }, - "rust_linux_aarch64__wasm32-unknown-unknown__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_x86_64__x86_64-apple-darwin__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-apple-darwin", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "wx6x6pwms": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wx6x6pwms_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ] - } - }, - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_aarch64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, - "rust_freebsd_x86_64__wasm32-unknown-unknown__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-freebsd", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_freebsd_x86_64__wasm32-wasi__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_freebsd_x86_64__wasm32-wasi__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_darwin_aarch64__wasm32-unknown-unknown__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_linux_aarch64__aarch64-unknown-linux-gnu__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_linux_aarch64__aarch64-unknown-linux-gnu__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ] - } - }, - "waapwmn_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "aarch64-pc-windows-msvc", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_linux_aarch64__wasm32-unknown-unknown__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_linux_aarch64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, - "wawuus_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_linux_x86_64__x86_64-unknown-linux-gnu__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-unknown-linux-gnu", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rustfmt_toolchain_tools_repository", - "attributes": { - "version": "nightly", - "iso_date": "2024-06-13", - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": {}, - "exec_triple": "x86_64-unknown-linux-gnu" - } - }, - "wx6wuun_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_linux_aarch64__wasm32-wasi__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_freebsd_x86_64__wasm32-wasi__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-freebsd", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rustfmt_nightly-2024-06-13__aarch64-apple-darwin_tools//:rustfmt_toolchain", - "toolchain_type": "@rules_rust//rust/rustfmt:toolchain_type", - "target_settings": [], - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [] - } - }, - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-freebsd", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "x86_64-unknown-freebsd", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_x86_64__wasm32-unknown-unknown__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_x86_64__wasm32-unknown-unknown__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:none" - ] - } - }, - "rust_darwin_aarch64__aarch64-apple-darwin__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_aarch64__aarch64-apple-darwin__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ] - } - }, - "rust_linux_x86_64__wasm32-wasi__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", - "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_x86_64": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_set_repository", - "attributes": { - "toolchains": [ - "@rust_darwin_x86_64__x86_64-apple-darwin__stable//:toolchain", - "@rust_darwin_x86_64__x86_64-apple-darwin__nightly//:toolchain", - "@rust_darwin_x86_64__wasm32-unknown-unknown__stable//:toolchain", - "@rust_darwin_x86_64__wasm32-unknown-unknown__nightly//:toolchain", - "@rust_darwin_x86_64__wasm32-wasi__stable//:toolchain", - "@rust_darwin_x86_64__wasm32-wasi__nightly//:toolchain" - ] - } - }, - "rust_darwin_aarch64__wasm32-unknown-unknown__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_analyzer_1.79.0": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_analyzer_1.79.0_tools//:rust_analyzer_toolchain", - "toolchain_type": "@rules_rust//rust/rust_analyzer:toolchain_type", - "exec_compatible_with": [], - "target_compatible_with": [] - } - }, - "rust_darwin_aarch64": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_set_repository", - "attributes": { - "toolchains": [ - "@rust_darwin_aarch64__aarch64-apple-darwin__stable//:toolchain", - "@rust_darwin_aarch64__aarch64-apple-darwin__nightly//:toolchain", - "@rust_darwin_aarch64__wasm32-unknown-unknown__stable//:toolchain", - "@rust_darwin_aarch64__wasm32-unknown-unknown__nightly//:toolchain", - "@rust_darwin_aarch64__wasm32-wasi__stable//:toolchain", - "@rust_darwin_aarch64__wasm32-wasi__nightly//:toolchain" - ] - } - }, - "wx6wws_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "wx6x6pwmn": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@wx6x6pwmn_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:nightly" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ], - "target_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ] - } - }, - "rust_darwin_x86_64__x86_64-apple-darwin__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_x86_64__x86_64-apple-darwin__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ] - } - }, - "rust_darwin_x86_64__wasm32-wasi__stable": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", - "attributes": { - "toolchain": "@rust_darwin_x86_64__wasm32-wasi__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" - ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] - } - }, - "rust_linux_x86_64__wasm32-wasi__stable_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "x86_64-unknown-linux-gnu", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_analyzer_1.79.0_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_analyzer_toolchain_tools_repository", - "attributes": { - "version": "1.79.0", - "iso_date": "", - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, "rust_linux_x86_64": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_set_repository", "attributes": { "toolchains": [ - "@rust_linux_x86_64__x86_64-unknown-linux-gnu__stable//:toolchain", "@rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly//:toolchain", - "@rust_linux_x86_64__wasm32-unknown-unknown__stable//:toolchain", - "@rust_linux_x86_64__wasm32-unknown-unknown__nightly//:toolchain", - "@rust_linux_x86_64__wasm32-wasi__stable//:toolchain", - "@rust_linux_x86_64__wasm32-wasi__nightly//:toolchain" + "@rust_linux_x86_64__wasm32-unknown-unknown__nightly//:toolchain" ] } }, @@ -3569,16 +1654,16 @@ ] } }, - "wx6wuus_tools": { + "rust_darwin_x86_64__x86_64-apple-darwin__nightly_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_tools_repository", "attributes": { - "exec_triple": "x86_64-pc-windows-msvc", + "exec_triple": "x86_64-apple-darwin", "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-unknown-unknown", - "iso_date": "", - "version": "1.79.0", + "target_triple": "x86_64-apple-darwin", + "iso_date": "2024-08-08", + "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", "dev_components": false, @@ -3594,6 +1679,16 @@ "auth_patterns": [] } }, + "rust_analyzer_nightly-2024-08-08": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@rust_analyzer_nightly-2024-08-08_tools//:rust_analyzer_toolchain", + "toolchain_type": "@rules_rust//rust/rust_analyzer:toolchain_type", + "exec_compatible_with": [], + "target_compatible_with": [] + } + }, "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", @@ -3613,6 +1708,31 @@ ] } }, + "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly_tools": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "rust_toolchain_tools_repository", + "attributes": { + "exec_triple": "aarch64-unknown-linux-gnu", + "allocator_library": "@rules_rust//ffi/cc/allocator_library", + "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", + "target_triple": "aarch64-unknown-linux-gnu", + "iso_date": "2024-08-08", + "version": "nightly", + "rustfmt_version": "nightly/2024-06-13", + "edition": "2021", + "dev_components": false, + "extra_rustc_flags": [], + "extra_exec_rustc_flags": [], + "opt_level": {}, + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" + ], + "auth": {}, + "netrc": "", + "auth_patterns": [] + } + }, "rustfmt_nightly-2024-06-13__x86_64-apple-darwin_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rustfmt_toolchain_tools_repository", @@ -3629,6 +1749,49 @@ "exec_triple": "x86_64-apple-darwin" } }, + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu_tools//:rustfmt_toolchain", + "toolchain_type": "@rules_rust//rust/rustfmt:toolchain_type", + "target_settings": [], + "exec_compatible_with": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "target_compatible_with": [] + } + }, + "wawuun": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@wawuun_tools//:rust_toolchain", + "target_settings": [ + "@rules_rust//rust/toolchain/channel:nightly" + ], + "toolchain_type": "@rules_rust//rust:toolchain", + "exec_compatible_with": [ + "@platforms//cpu:aarch64", + "@platforms//os:windows" + ], + "target_compatible_with": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ] + } + }, + "rust_linux_aarch64": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "rust_toolchain_set_repository", + "attributes": { + "toolchains": [ + "@rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly//:toolchain", + "@rust_linux_aarch64__wasm32-unknown-unknown__nightly//:toolchain" + ] + } + }, "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", @@ -3648,23 +1811,29 @@ ] } }, - "rust_darwin_aarch64__wasm32-wasi__stable": { + "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "toolchain_repository_proxy", + "ruleClassName": "rust_toolchain_tools_repository", "attributes": { - "toolchain": "@rust_darwin_aarch64__wasm32-wasi__stable_tools//:rust_toolchain", - "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" + "exec_triple": "x86_64-unknown-freebsd", + "allocator_library": "@rules_rust//ffi/cc/allocator_library", + "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", + "target_triple": "x86_64-unknown-freebsd", + "iso_date": "2024-08-08", + "version": "nightly", + "rustfmt_version": "nightly/2024-06-13", + "edition": "2021", + "dev_components": false, + "extra_rustc_flags": [], + "extra_exec_rustc_flags": [], + "opt_level": {}, + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" ], - "toolchain_type": "@rules_rust//rust:toolchain", - "exec_compatible_with": [ - "@platforms//cpu:aarch64", - "@platforms//os:osx" - ], - "target_compatible_with": [ - "@platforms//cpu:wasm32", - "@platforms//os:wasi" - ] + "auth": {}, + "netrc": "", + "auth_patterns": [] } }, "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": { @@ -3686,6 +1855,25 @@ ] } }, + "rust_darwin_x86_64__x86_64-apple-darwin__nightly": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@rust_darwin_x86_64__x86_64-apple-darwin__nightly_tools//:rust_toolchain", + "target_settings": [ + "@rules_rust//rust/toolchain/channel:nightly" + ], + "toolchain_type": "@rules_rust//rust:toolchain", + "exec_compatible_with": [ + "@platforms//cpu:x86_64", + "@platforms//os:osx" + ], + "target_compatible_with": [ + "@platforms//cpu:x86_64", + "@platforms//os:osx" + ] + } + }, "wawuun_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_tools_repository", @@ -3694,7 +1882,7 @@ "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", + "iso_date": "2024-08-08", "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", @@ -3711,75 +1899,82 @@ "auth_patterns": [] } }, - "waapwms_tools": { + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", + "ruleClassName": "rustfmt_toolchain_tools_repository", "attributes": { - "exec_triple": "aarch64-pc-windows-msvc", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "aarch64-pc-windows-msvc", - "iso_date": "", - "version": "1.79.0", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, - "sha256s": {}, - "urls": [ - "https://static.rust-lang.org/dist/{}.tar.xz" - ], - "auth": {}, - "netrc": "", - "auth_patterns": [] - } - }, - "rust_darwin_aarch64__wasm32-wasi__nightly_tools": { - "bzlFile": "@@rules_rust~//rust:repositories.bzl", - "ruleClassName": "rust_toolchain_tools_repository", - "attributes": { - "exec_triple": "aarch64-apple-darwin", - "allocator_library": "@rules_rust//ffi/cc/allocator_library", - "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", - "target_triple": "wasm32-wasi", - "iso_date": "2024-06-13", "version": "nightly", - "rustfmt_version": "nightly/2024-06-13", - "edition": "2021", - "dev_components": false, - "extra_rustc_flags": [], - "extra_exec_rustc_flags": [], - "opt_level": {}, + "iso_date": "2024-06-13", "sha256s": {}, "urls": [ "https://static.rust-lang.org/dist/{}.tar.xz" ], "auth": {}, "netrc": "", - "auth_patterns": [] + "auth_patterns": {}, + "exec_triple": "aarch64-unknown-linux-gnu" } }, - "rust_freebsd_x86_64__x86_64-unknown-freebsd__stable": { + "rust_darwin_aarch64__aarch64-apple-darwin__nightly": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", "attributes": { - "toolchain": "@rust_freebsd_x86_64__x86_64-unknown-freebsd__stable_tools//:rust_toolchain", + "toolchain": "@rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools//:rust_toolchain", "target_settings": [ - "@rules_rust//rust/toolchain/channel:stable" + "@rules_rust//rust/toolchain/channel:nightly" ], "toolchain_type": "@rules_rust//rust:toolchain", "exec_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" + "@platforms//cpu:aarch64", + "@platforms//os:osx" ], "target_compatible_with": [ - "@platforms//cpu:x86_64", - "@platforms//os:freebsd" + "@platforms//cpu:aarch64", + "@platforms//os:osx" ] } }, + "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd_tools": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "rustfmt_toolchain_tools_repository", + "attributes": { + "version": "nightly", + "iso_date": "2024-06-13", + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" + ], + "auth": {}, + "netrc": "", + "auth_patterns": {}, + "exec_triple": "x86_64-unknown-freebsd" + } + }, + "rust_linux_aarch64__wasm32-unknown-unknown__nightly_tools": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "rust_toolchain_tools_repository", + "attributes": { + "exec_triple": "aarch64-unknown-linux-gnu", + "allocator_library": "@rules_rust//ffi/cc/allocator_library", + "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", + "target_triple": "wasm32-unknown-unknown", + "iso_date": "2024-08-08", + "version": "nightly", + "rustfmt_version": "nightly/2024-06-13", + "edition": "2021", + "dev_components": false, + "extra_rustc_flags": [], + "extra_exec_rustc_flags": [], + "opt_level": {}, + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" + ], + "auth": {}, + "netrc": "", + "auth_patterns": [] + } + }, "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", @@ -3813,6 +2008,20 @@ ] } }, + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "toolchain_repository_proxy", + "attributes": { + "toolchain": "@rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu_tools//:rustfmt_toolchain", + "toolchain_type": "@rules_rust//rust/rustfmt:toolchain_type", + "target_settings": [], + "exec_compatible_with": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "target_compatible_with": [] + } + }, "rust_linux_x86_64__wasm32-unknown-unknown__nightly_tools": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "rust_toolchain_tools_repository", @@ -3821,7 +2030,7 @@ "allocator_library": "@rules_rust//ffi/cc/allocator_library", "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", "target_triple": "wasm32-unknown-unknown", - "iso_date": "2024-06-13", + "iso_date": "2024-08-08", "version": "nightly", "rustfmt_version": "nightly/2024-06-13", "edition": "2021", @@ -3838,6 +2047,262 @@ "auth_patterns": [] } }, + "wx6x6pwmn_tools": { + "bzlFile": "@@rules_rust~//rust:repositories.bzl", + "ruleClassName": "rust_toolchain_tools_repository", + "attributes": { + "exec_triple": "x86_64-pc-windows-msvc", + "allocator_library": "@rules_rust//ffi/cc/allocator_library", + "global_allocator_library": "@rules_rust//ffi/cc/global_allocator_library", + "target_triple": "x86_64-pc-windows-msvc", + "iso_date": "2024-08-08", + "version": "nightly", + "rustfmt_version": "nightly/2024-06-13", + "edition": "2021", + "dev_components": false, + "extra_rustc_flags": [], + "extra_exec_rustc_flags": [], + "opt_level": {}, + "sha256s": {}, + "urls": [ + "https://static.rust-lang.org/dist/{}.tar.xz" + ], + "auth": {}, + "netrc": "", + "auth_patterns": [] + } + }, + "rust_toolchains": { + "bzlFile": "@@rules_rust~//rust/private:repository_utils.bzl", + "ruleClassName": "toolchain_repository_hub", + "attributes": { + "toolchain_names": [ + "rust_analyzer_nightly-2024-08-08", + "rust_darwin_aarch64__aarch64-apple-darwin__nightly", + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly", + "rustfmt_nightly-2024-06-13__aarch64-apple-darwin", + "waapwmn", + "wawuun", + "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc", + "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly", + "rust_linux_aarch64__wasm32-unknown-unknown__nightly", + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu", + "rust_darwin_x86_64__x86_64-apple-darwin__nightly", + "rust_darwin_x86_64__wasm32-unknown-unknown__nightly", + "rustfmt_nightly-2024-06-13__x86_64-apple-darwin", + "wx6x6pwmn", + "wx6wuun", + "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc", + "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly", + "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly", + "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd", + "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly", + "rust_linux_x86_64__wasm32-unknown-unknown__nightly", + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu" + ], + "toolchain_labels": { + "rust_analyzer_nightly-2024-08-08": "@rust_analyzer_nightly-2024-08-08_tools//:rust_analyzer_toolchain", + "rust_darwin_aarch64__aarch64-apple-darwin__nightly": "@rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools//:rust_toolchain", + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": "@rust_darwin_aarch64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": "@rustfmt_nightly-2024-06-13__aarch64-apple-darwin_tools//:rustfmt_toolchain", + "waapwmn": "@waapwmn_tools//:rust_toolchain", + "wawuun": "@wawuun_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": "@rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc_tools//:rustfmt_toolchain", + "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": "@rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly_tools//:rust_toolchain", + "rust_linux_aarch64__wasm32-unknown-unknown__nightly": "@rust_linux_aarch64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": "@rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu_tools//:rustfmt_toolchain", + "rust_darwin_x86_64__x86_64-apple-darwin__nightly": "@rust_darwin_x86_64__x86_64-apple-darwin__nightly_tools//:rust_toolchain", + "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": "@rust_darwin_x86_64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": "@rustfmt_nightly-2024-06-13__x86_64-apple-darwin_tools//:rustfmt_toolchain", + "wx6x6pwmn": "@wx6x6pwmn_tools//:rust_toolchain", + "wx6wuun": "@wx6wuun_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": "@rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc_tools//:rustfmt_toolchain", + "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": "@rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly_tools//:rust_toolchain", + "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": "@rust_freebsd_x86_64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": "@rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd_tools//:rustfmt_toolchain", + "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": "@rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly_tools//:rust_toolchain", + "rust_linux_x86_64__wasm32-unknown-unknown__nightly": "@rust_linux_x86_64__wasm32-unknown-unknown__nightly_tools//:rust_toolchain", + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": "@rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu_tools//:rustfmt_toolchain" + }, + "toolchain_types": { + "rust_analyzer_nightly-2024-08-08": "@rules_rust//rust/rust_analyzer:toolchain_type", + "rust_darwin_aarch64__aarch64-apple-darwin__nightly": "@rules_rust//rust:toolchain", + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": "@rules_rust//rust/rustfmt:toolchain_type", + "waapwmn": "@rules_rust//rust:toolchain", + "wawuun": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": "@rules_rust//rust/rustfmt:toolchain_type", + "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": "@rules_rust//rust:toolchain", + "rust_linux_aarch64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": "@rules_rust//rust/rustfmt:toolchain_type", + "rust_darwin_x86_64__x86_64-apple-darwin__nightly": "@rules_rust//rust:toolchain", + "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": "@rules_rust//rust/rustfmt:toolchain_type", + "wx6x6pwmn": "@rules_rust//rust:toolchain", + "wx6wuun": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": "@rules_rust//rust/rustfmt:toolchain_type", + "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": "@rules_rust//rust:toolchain", + "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": "@rules_rust//rust/rustfmt:toolchain_type", + "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": "@rules_rust//rust:toolchain", + "rust_linux_x86_64__wasm32-unknown-unknown__nightly": "@rules_rust//rust:toolchain", + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": "@rules_rust//rust/rustfmt:toolchain_type" + }, + "exec_compatible_with": { + "rust_analyzer_nightly-2024-08-08": [], + "rust_darwin_aarch64__aarch64-apple-darwin__nightly": [ + "@platforms//cpu:aarch64", + "@platforms//os:osx" + ], + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:aarch64", + "@platforms//os:osx" + ], + "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": [ + "@platforms//cpu:aarch64", + "@platforms//os:osx" + ], + "waapwmn": [ + "@platforms//cpu:aarch64", + "@platforms//os:windows" + ], + "wawuun": [ + "@platforms//cpu:aarch64", + "@platforms//os:windows" + ], + "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": [ + "@platforms//cpu:aarch64", + "@platforms//os:windows" + ], + "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "rust_linux_aarch64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "rust_darwin_x86_64__x86_64-apple-darwin__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:osx" + ], + "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:osx" + ], + "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": [ + "@platforms//cpu:x86_64", + "@platforms//os:osx" + ], + "wx6x6pwmn": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ], + "wx6wuun": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ], + "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ], + "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:freebsd" + ], + "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:freebsd" + ], + "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": [ + "@platforms//cpu:x86_64", + "@platforms//os:freebsd" + ], + "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "rust_linux_x86_64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ] + }, + "target_compatible_with": { + "rust_analyzer_nightly-2024-08-08": [], + "rust_darwin_aarch64__aarch64-apple-darwin__nightly": [ + "@platforms//cpu:aarch64", + "@platforms//os:osx" + ], + "rust_darwin_aarch64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__aarch64-apple-darwin": [], + "waapwmn": [ + "@platforms//cpu:aarch64", + "@platforms//os:windows" + ], + "wawuun": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__aarch64-pc-windows-msvc": [], + "rust_linux_aarch64__aarch64-unknown-linux-gnu__nightly": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "rust_linux_aarch64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__aarch64-unknown-linux-gnu": [], + "rust_darwin_x86_64__x86_64-apple-darwin__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:osx" + ], + "rust_darwin_x86_64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__x86_64-apple-darwin": [], + "wx6x6pwmn": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ], + "wx6wuun": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__x86_64-pc-windows-msvc": [], + "rust_freebsd_x86_64__x86_64-unknown-freebsd__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:freebsd" + ], + "rust_freebsd_x86_64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": [], + "rust_linux_x86_64__x86_64-unknown-linux-gnu__nightly": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "rust_linux_x86_64__wasm32-unknown-unknown__nightly": [ + "@platforms//cpu:wasm32", + "@platforms//os:none" + ], + "rustfmt_nightly-2024-06-13__x86_64-unknown-linux-gnu": [] + } + } + }, "rustfmt_nightly-2024-06-13__x86_64-unknown-freebsd": { "bzlFile": "@@rules_rust~//rust:repositories.bzl", "ruleClassName": "toolchain_repository_proxy", diff --git a/app/BUILD.bazel b/app/BUILD.bazel index ab1b80bf5d..4d13f5cad4 100644 --- a/app/BUILD.bazel +++ b/app/BUILD.bazel @@ -1,7 +1,3 @@ load("@aspect_rules_ts//ts:defs.bzl", "ts_config") -ts_config( - name = "tsconfig", - src = "tsconfig.json", - visibility = [":__subpackages__"], -) +ts_config(name = "tsconfig", src = "tsconfig.json", visibility = [":__subpackages__"]) diff --git a/app/dashboard/BUILD.bazel b/app/dashboard/BUILD.bazel new file mode 100644 index 0000000000..fd29bf5a11 --- /dev/null +++ b/app/dashboard/BUILD.bazel @@ -0,0 +1,29 @@ +load("@aspect_rules_js//npm:defs.bzl", "npm_package") +load("@aspect_rules_ts//ts:defs.bzl", "ts_config", "ts_project") +load("@npm//:defs.bzl", "npm_link_all_packages", "npm_link_targets") + +npm_link_all_packages(name = "node_modules") + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = ["//app:tsconfig"], +) + +ts_project( + name = "tsc", + # allow_js = True, + composite = True, + resolve_json_module = True, + tsconfig = ":tsconfig", + deps = npm_link_targets() +) + +npm_package( + name = "pkg", + srcs = [ + "package.json", + ":tsc", + ], + visibility = ["//visibility:public"], +) diff --git a/app/dashboard/tsconfig.json b/app/dashboard/tsconfig.json index 3ed52dcedc..34f08eccaf 100644 --- a/app/dashboard/tsconfig.json +++ b/app/dashboard/tsconfig.json @@ -8,12 +8,12 @@ "./e2e/**/*.json", "../../utils.ts", ".prettierrc.cjs", - "*.js", "*.ts" ], - "exclude": ["./dist"], + "exclude": ["./dist", "vitest.config.ts"], "compilerOptions": { "composite": true, + "resolveJsonModule": true, "noEmit": false, "outDir": "../../node_modules/.cache/tsc", "paths": { "#/*": ["./src/*"] }, diff --git a/app/gui2/BUILD.bazel b/app/gui2/BUILD.bazel index b96c15dd44..cd60473a98 100644 --- a/app/gui2/BUILD.bazel +++ b/app/gui2/BUILD.bazel @@ -1,29 +1,46 @@ -load("@npm//:defs.bzl", "npm_link_all_packages") -npm_link_all_packages() - -# load("@bazel_skylib//rules:build_test.bzl", "build_test") +load("@npm//:defs.bzl", "npm_link_all_packages", "npm_link_targets") load("@npm//app/gui2:vite/package_json.bzl", vite_bin = "bin") -# load("@aspect_rules_js//npm:vitest/package_json.bzl", vitest_bin = "bin") +load("@aspect_rules_ts//ts:defs.bzl", "ts_config") +load("@aspect_rules_js//js:defs.bzl", "js_library") +npm_link_all_packages(name = "node_modules") + +ts_config(name = "tsconfig", src = "tsconfig.json", deps = ["//app:tsconfig"]) +ts_config(name = "tsconfig_node", src = "tsconfig.node.json", deps = [":tsconfig"]) +ts_config(name = "tsconfig_app", src = "tsconfig.app.json", deps = [":tsconfig"]) +ts_config(name = "tsconfig_app_vitest", src = "tsconfig.app.vitest.json", deps = [":tsconfig_app"]) SRCS = [ - "package.json", + "//app:tsconfig", + ":tsconfig_app", + ":tsconfig_node", "vite.config.ts", - "tsconfig.app.json", - "tsconfig.json", -] + glob(["src/**", "shared/**", "public/**", "ydoc-server/**"]) + "package.json", +] + glob(["src/**", "shared/**", "public/**", "project-manager-shim-middleware/**"]) -# BUILD_DEPS = [] +# BUILD_DEPS = [":node_modules/" + d for d in [ +# "@vitejs/plugin-vue", +# "@vue/tsconfig", +# "vite", +# "vue", +# "vue-router", +# ]] -# BUILD_DEPS = npm_link_targets() +BUILD_DEPS = npm_link_targets() # print(BUILD_DEPS) +js_library( + name = "vite.config", + srcs = ["vite.config.ts"], + deps = BUILD_DEPS, +) + vite_bin.vite( name = "build", - srcs = SRCS, + srcs = SRCS + [":vite.config"], args = ["build"], chdir = package_name(), - out_dirs = ["dist"], + out_dirs = ["dist"] ) # vue_tsc_bin.vue_tsc_test( diff --git a/app/ide-desktop/common/BUILD.bazel b/app/ide-desktop/common/BUILD.bazel index 53ba035983..928f374ed1 100644 --- a/app/ide-desktop/common/BUILD.bazel +++ b/app/ide-desktop/common/BUILD.bazel @@ -9,7 +9,7 @@ js_library( ) npm_package( - name = "package", + name = "pkg", srcs = [":lib"], include_runfiles = False, visibility = ["//visibility:public"], diff --git a/app/rust-ffi/BUILD.bazel b/app/rust-ffi/BUILD.bazel index afda1a11e5..7b24bf9118 100644 --- a/app/rust-ffi/BUILD.bazel +++ b/app/rust-ffi/BUILD.bazel @@ -1,11 +1,11 @@ load("@rules_rust//rust:defs.bzl", "rust_shared_library") -# load("@rules_rust//wasm_bindgen/rules_nodejs:defs.bzl", "nodejs_rust_wasm_bindgen") +load("@aspect_rules_js//js:defs.bzl", "js_library") +load("@aspect_rules_js//npm:defs.bzl", "npm_package") +load("@rules_rust//wasm_bindgen:defs.bzl", "rust_wasm_bindgen") load("@crates//:defs.bzl", "aliases", "all_crate_deps") -package(default_visibility = ["//visibility:public"]) - rust_shared_library( - name = "rust-ffi", + name = "rust_lib", srcs = glob(["src/**/*.rs"]), aliases = aliases(), edition = "2021", @@ -13,6 +13,26 @@ rust_shared_library( deps = all_crate_deps(normal = True) + [ "//lib/rust/parser:enso-parser", "//lib/rust/parser/doc-parser:enso-doc-parser", - # "@rules_rust//wasm_bindgen/3rdparty:wasm_bindgen", ], ) + +rust_wasm_bindgen( + name = "rust-ffi-bindgen", + target = "bundler", + wasm_file = ":rust_lib", +) + +js_library( + name = "rust-ffi", + srcs = [ + ":rust-ffi-bindgen", + "package.json" + ], +) + +npm_package( + name = "pkg", + srcs = [":rust-ffi"], + include_runfiles = False, + visibility = ["//visibility:public"], +) diff --git a/app/rust-ffi/package.json b/app/rust-ffi/package.json index 9dc794c220..afe85fca12 100644 --- a/app/rust-ffi/package.json +++ b/app/rust-ffi/package.json @@ -8,7 +8,6 @@ "compile": "wasm-pack build . --release --out-dir pkg --target bundler", "postinstall": "corepack pnpm compile" }, - "exports": { - ".": "./pkg/rust_ffi.js" - } + "main":"rust-ffi-bindgen.js", + "typings": "rust-ffi-bindgen.d.ts" } diff --git a/app/toolchains/dummy_cc/BUILD.bazel b/app/toolchains/dummy_cc/BUILD.bazel new file mode 100644 index 0000000000..516eea5061 --- /dev/null +++ b/app/toolchains/dummy_cc/BUILD.bazel @@ -0,0 +1,37 @@ +load("@rules_cc//cc:defs.bzl", "cc_toolchain") +load(":dummy_cc_toolchain.bzl", "dummy_cc_config", "dummy_cc_toolchain") + +dummy_cc_toolchain(name = "dummy_cc_wasm32") + +# When compiling Rust code for wasm32, we avoid linking to cpp code so we introduce a dummy cc +# toolchain since we know we'll never look it up. +# TODO(jedmonds@spotify.com): Need to support linking C code to rust code when compiling for wasm32. +toolchain( + name = "dummy_cc_wasm32_toolchain", + target_compatible_with = ["@rules_rust//rust/platform/cpu:wasm32"], + toolchain = ":dummy_cc_wasm32_toolchain_cc", + toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", +) + +cc_toolchain( + name = "dummy_cc_wasm32_toolchain_cc", + all_files = ":empty", + compiler_files = ":empty", + dwp_files = ":empty", + linker_files = ":empty", + objcopy_files = ":empty", + strip_files = ":empty", + supports_param_files = 0, + toolchain_config = ":cc_toolchain_config", + toolchain_identifier = "dummy_wasm32_cc", +) + +dummy_cc_config( + name = "cc_toolchain_config", +) + +filegroup( + name = "empty", + srcs = [], + visibility = ["//:__subpackages__"], +) \ No newline at end of file diff --git a/app/toolchains/dummy_cc/dummy_cc_toolchain.bzl b/app/toolchains/dummy_cc/dummy_cc_toolchain.bzl new file mode 100644 index 0000000000..ee1cb39348 --- /dev/null +++ b/app/toolchains/dummy_cc/dummy_cc_toolchain.bzl @@ -0,0 +1,30 @@ +"""Cc toolchain definitions for use on wasm platforms""" + +def _dummy_cc_toolchain_impl(_ctx): + # The `all_files` attribute is referenced by rustc_compile_action(). + return [platform_common.ToolchainInfo(all_files = depset([]))] + +dummy_cc_toolchain = rule( + implementation = _dummy_cc_toolchain_impl, + attrs = {}, +) + +# dummy values from https://bazel.build/tutorials/ccp-toolchain-config#configuring_the_c_toolchain +def _config_impl(ctx): + return cc_common.create_cc_toolchain_config_info( + ctx = ctx, + toolchain_identifier = "dummy-wasm32-cc-toolchain", + host_system_name = "unknown", + target_system_name = "unknown", + target_cpu = "unknown", + target_libc = "unknown", + compiler = "unknown", + abi_version = "unknown", + abi_libc_version = "unknown", + ) + +dummy_cc_config = rule( + implementation = _config_impl, + attrs = {}, + provides = [CcToolchainConfigInfo], +) \ No newline at end of file diff --git a/app/toolchains/wasm_bindgen/BUILD.bazel b/app/toolchains/wasm_bindgen/BUILD.bazel new file mode 100644 index 0000000000..b3d576ee46 --- /dev/null +++ b/app/toolchains/wasm_bindgen/BUILD.bazel @@ -0,0 +1,12 @@ +load("@rules_rust//wasm_bindgen:defs.bzl", "rust_wasm_bindgen_toolchain") + +rust_wasm_bindgen_toolchain( + name = "cli_impl", + bindgen = "@wasm_bindgen_cli_crate//:wasm-bindgen-cli", +) + +toolchain( + name = "cli", + toolchain = "cli_impl", + toolchain_type = "@rules_rust//wasm_bindgen:toolchain_type", +) \ No newline at end of file diff --git a/app/tsconfig.json b/app/tsconfig.json index e7cedc6bed..ea489bd0ef 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -9,7 +9,6 @@ "module": "ESNext", "moduleResolution": "Bundler", "noEmit": true, - "allowJs": true, "strict": true, "noImplicitAny": true, "exactOptionalPropertyTypes": true, @@ -17,8 +16,6 @@ "noUncheckedIndexedAccess": true, "noImplicitOverride": true, "removeComments": true, - "resolveJsonModule": true, - "sourceMap": true, "skipLibCheck": true, "target": "ES2021", "jsx": "react-jsx" diff --git a/app/ydoc-server/BUILD.bazel b/app/ydoc-server/BUILD.bazel new file mode 100644 index 0000000000..33f091daab --- /dev/null +++ b/app/ydoc-server/BUILD.bazel @@ -0,0 +1,27 @@ +load("@aspect_rules_js//npm:defs.bzl", "npm_package") +load("@aspect_rules_ts//ts:defs.bzl", "ts_config", "ts_project") +load("@npm//:defs.bzl", "npm_link_all_packages", "npm_link_targets") + +npm_link_all_packages(name = "node_modules") + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = ["//app:tsconfig"], +) + +ts_project( + name = "tsc", + composite = True, + tsconfig = ":tsconfig", + deps = npm_link_targets(), +) + +npm_package( + name = "pkg", + srcs = [ + "package.json", + ":tsc", + ], + visibility = ["//visibility:public"], +) diff --git a/app/ydoc-server/tsconfig.json b/app/ydoc-server/tsconfig.json index b09e194876..d146f0aaf1 100644 --- a/app/ydoc-server/tsconfig.json +++ b/app/ydoc-server/tsconfig.json @@ -7,7 +7,7 @@ "noEmit": false, "rootDir": "src", "outDir": "dist", - "types": ["node", "vitest/importMeta"], + "types": ["node"], "paths": { "#/*": ["./src/*"] } } } diff --git a/app/ydoc-shared/BUILD.bazel b/app/ydoc-shared/BUILD.bazel new file mode 100644 index 0000000000..33f091daab --- /dev/null +++ b/app/ydoc-shared/BUILD.bazel @@ -0,0 +1,27 @@ +load("@aspect_rules_js//npm:defs.bzl", "npm_package") +load("@aspect_rules_ts//ts:defs.bzl", "ts_config", "ts_project") +load("@npm//:defs.bzl", "npm_link_all_packages", "npm_link_targets") + +npm_link_all_packages(name = "node_modules") + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = ["//app:tsconfig"], +) + +ts_project( + name = "tsc", + composite = True, + tsconfig = ":tsconfig", + deps = npm_link_targets(), +) + +npm_package( + name = "pkg", + srcs = [ + "package.json", + ":tsc", + ], + visibility = ["//visibility:public"], +) diff --git a/toolchains/dummy_cc/BUILD.bazel b/toolchains/dummy_cc/BUILD.bazel new file mode 100644 index 0000000000..516eea5061 --- /dev/null +++ b/toolchains/dummy_cc/BUILD.bazel @@ -0,0 +1,37 @@ +load("@rules_cc//cc:defs.bzl", "cc_toolchain") +load(":dummy_cc_toolchain.bzl", "dummy_cc_config", "dummy_cc_toolchain") + +dummy_cc_toolchain(name = "dummy_cc_wasm32") + +# When compiling Rust code for wasm32, we avoid linking to cpp code so we introduce a dummy cc +# toolchain since we know we'll never look it up. +# TODO(jedmonds@spotify.com): Need to support linking C code to rust code when compiling for wasm32. +toolchain( + name = "dummy_cc_wasm32_toolchain", + target_compatible_with = ["@rules_rust//rust/platform/cpu:wasm32"], + toolchain = ":dummy_cc_wasm32_toolchain_cc", + toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", +) + +cc_toolchain( + name = "dummy_cc_wasm32_toolchain_cc", + all_files = ":empty", + compiler_files = ":empty", + dwp_files = ":empty", + linker_files = ":empty", + objcopy_files = ":empty", + strip_files = ":empty", + supports_param_files = 0, + toolchain_config = ":cc_toolchain_config", + toolchain_identifier = "dummy_wasm32_cc", +) + +dummy_cc_config( + name = "cc_toolchain_config", +) + +filegroup( + name = "empty", + srcs = [], + visibility = ["//:__subpackages__"], +) \ No newline at end of file diff --git a/toolchains/dummy_cc/dummy_cc_toolchain.bzl b/toolchains/dummy_cc/dummy_cc_toolchain.bzl new file mode 100644 index 0000000000..ee1cb39348 --- /dev/null +++ b/toolchains/dummy_cc/dummy_cc_toolchain.bzl @@ -0,0 +1,30 @@ +"""Cc toolchain definitions for use on wasm platforms""" + +def _dummy_cc_toolchain_impl(_ctx): + # The `all_files` attribute is referenced by rustc_compile_action(). + return [platform_common.ToolchainInfo(all_files = depset([]))] + +dummy_cc_toolchain = rule( + implementation = _dummy_cc_toolchain_impl, + attrs = {}, +) + +# dummy values from https://bazel.build/tutorials/ccp-toolchain-config#configuring_the_c_toolchain +def _config_impl(ctx): + return cc_common.create_cc_toolchain_config_info( + ctx = ctx, + toolchain_identifier = "dummy-wasm32-cc-toolchain", + host_system_name = "unknown", + target_system_name = "unknown", + target_cpu = "unknown", + target_libc = "unknown", + compiler = "unknown", + abi_version = "unknown", + abi_libc_version = "unknown", + ) + +dummy_cc_config = rule( + implementation = _config_impl, + attrs = {}, + provides = [CcToolchainConfigInfo], +) \ No newline at end of file diff --git a/toolchains/wasm_bindgen/BUILD.bazel b/toolchains/wasm_bindgen/BUILD.bazel new file mode 100644 index 0000000000..248339f308 --- /dev/null +++ b/toolchains/wasm_bindgen/BUILD.bazel @@ -0,0 +1,19 @@ +load("@rules_rust//wasm_bindgen:defs.bzl", "rust_wasm_bindgen_toolchain") + +rust_wasm_bindgen_toolchain( + name = "cli_impl", + bindgen = "@wasm_bindgen_cli_crate//:wasm-bindgen-cli" + # bindgen = select({ + # "@rules_rust//rust/platform:aarch64-apple-darwin": "@wasm-bindgen-aarch64-apple-darwin//:all", + # "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": "@wasm-bindgen-aarch64-unknown-linux-gnu//:all", + # "@rules_rust//rust/platform:x86_64-apple-darwin": "@wasm-bindgen-x86_64-apple-darwin//:all", + # "@rules_rust//rust/platform:x86_64-pc-windows-msvc": "@wasm-bindgen-x86_64-pc-windows-msvc//:all", + # "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": "@wasm-bindgen-x86_64-unknown-linux-musl//:all", + # }) +) + +toolchain( + name = "cli", + toolchain = "cli_impl", + toolchain_type = "@rules_rust//wasm_bindgen:toolchain_type", +) \ No newline at end of file diff --git a/toolchains/wasm_bindgen/BUILD.wasm-bindgen-cli.bazel b/toolchains/wasm_bindgen/BUILD.wasm-bindgen-cli.bazel new file mode 100644 index 0000000000..c9152d7697 --- /dev/null +++ b/toolchains/wasm_bindgen/BUILD.wasm-bindgen-cli.bazel @@ -0,0 +1,26 @@ +load("@rules_rust//rust:defs.bzl", "rust_binary") +load("@wb_crates//:defs.bzl", "aliases", "all_crate_deps") + +package(default_visibility = ["//visibility:public"]) + +exports_files([ + "Cargo.toml", + "Cargo.lock", +]) + +rust_binary( + name = "wasm-bindgen-cli", + srcs = glob(["**/*.rs"]), + aliases = aliases(), + crate_features = [ + ], + crate_root = "src/bin/wasm-bindgen.rs", + data = [], + edition = "2021", + rustc_flags = [ + # Don't produce warnings for this crate + "--cap-lints=allow", + ], + deps = all_crate_deps(), + proc_macro_deps = all_crate_deps(proc_macro = True), +)