From 98dcbe9d109d88a96a8990cbe8065c999ee2f967 Mon Sep 17 00:00:00 2001 From: null <11149636+scentini@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:28:11 +0000 Subject: [PATCH] Publish bazelbuild/rules_rust@0.56.0 --- modules/rules_rust/0.56.0/MODULE.bazel | 155 ++++++++++++++++++ modules/rules_rust/0.56.0/presubmit.yml | 39 +++++ modules/rules_rust/0.56.0/source.json | 5 + modules/rules_rust/metadata.json | 3 +- .../rules_rust_bindgen/0.56.0/MODULE.bazel | 70 ++++++++ .../rules_rust_bindgen/0.56.0/presubmit.yml | 16 ++ modules/rules_rust_bindgen/0.56.0/source.json | 5 + modules/rules_rust_bindgen/metadata.json | 3 +- modules/rules_rust_mdbook/0.56.0/MODULE.bazel | 49 ++++++ .../rules_rust_mdbook/0.56.0/presubmit.yml | 12 ++ modules/rules_rust_mdbook/0.56.0/source.json | 5 + modules/rules_rust_mdbook/metadata.json | 27 +++ modules/rules_rust_prost/0.56.0/MODULE.bazel | 73 +++++++++ modules/rules_rust_prost/0.56.0/presubmit.yml | 12 ++ modules/rules_rust_prost/0.56.0/source.json | 5 + modules/rules_rust_prost/metadata.json | 3 +- .../rules_rust_protobuf/0.56.0/MODULE.bazel | 64 ++++++++ .../rules_rust_protobuf/0.56.0/presubmit.yml | 12 ++ .../rules_rust_protobuf/0.56.0/source.json | 5 + modules/rules_rust_protobuf/metadata.json | 3 +- .../0.56.0/MODULE.bazel | 75 +++++++++ .../0.56.0/presubmit.yml | 12 ++ .../0.56.0/source.json | 5 + modules/rules_rust_wasm_bindgen/metadata.json | 3 +- 24 files changed, 656 insertions(+), 5 deletions(-) create mode 100644 modules/rules_rust/0.56.0/MODULE.bazel create mode 100644 modules/rules_rust/0.56.0/presubmit.yml create mode 100644 modules/rules_rust/0.56.0/source.json create mode 100644 modules/rules_rust_bindgen/0.56.0/MODULE.bazel create mode 100644 modules/rules_rust_bindgen/0.56.0/presubmit.yml create mode 100644 modules/rules_rust_bindgen/0.56.0/source.json create mode 100644 modules/rules_rust_mdbook/0.56.0/MODULE.bazel create mode 100644 modules/rules_rust_mdbook/0.56.0/presubmit.yml create mode 100644 modules/rules_rust_mdbook/0.56.0/source.json create mode 100644 modules/rules_rust_mdbook/metadata.json create mode 100644 modules/rules_rust_prost/0.56.0/MODULE.bazel create mode 100644 modules/rules_rust_prost/0.56.0/presubmit.yml create mode 100644 modules/rules_rust_prost/0.56.0/source.json create mode 100644 modules/rules_rust_protobuf/0.56.0/MODULE.bazel create mode 100644 modules/rules_rust_protobuf/0.56.0/presubmit.yml create mode 100644 modules/rules_rust_protobuf/0.56.0/source.json create mode 100644 modules/rules_rust_wasm_bindgen/0.56.0/MODULE.bazel create mode 100644 modules/rules_rust_wasm_bindgen/0.56.0/presubmit.yml create mode 100644 modules/rules_rust_wasm_bindgen/0.56.0/source.json diff --git a/modules/rules_rust/0.56.0/MODULE.bazel b/modules/rules_rust/0.56.0/MODULE.bazel new file mode 100644 index 00000000000..225ff3318f7 --- /dev/null +++ b/modules/rules_rust/0.56.0/MODULE.bazel @@ -0,0 +1,155 @@ +"""bazelbuild/rules_rust""" + +module( + name = "rules_rust", + version = "0.56.0", +) + +############################################################################### +## Core +############################################################################### + +bazel_dep( + name = "bazel_features", + version = "1.21.0", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", +) +bazel_dep( + name = "rules_cc", + version = "0.0.17", +) +bazel_dep( + name = "rules_license", + version = "1.0.0", +) +bazel_dep( + name = "rules_shell", + version = "0.3.0", +) +bazel_dep( + name = "apple_support", + version = "1.17.1", + repo_name = "build_bazel_apple_support", +) + +internal_deps = use_extension("//rust/private:internal_extensions.bzl", "i") +use_repo( + internal_deps, + "rrra__anyhow-1.0.71", + "rrra__clap-4.3.11", + "rrra__env_logger-0.10.0", + "rrra__itertools-0.11.0", + "rrra__log-0.4.19", + "rrra__serde-1.0.171", + "rrra__serde_json-1.0.102", + "rules_rust_tinyjson", +) + +rust = use_extension("//rust:extensions.bzl", "rust") +rust.toolchain(edition = "2021") +use_repo(rust, "rust_toolchains") + +register_toolchains( + "@rust_toolchains//:all", +) + +rust_host_tools = use_extension("//rust:extensions.bzl", "rust_host_tools") +use_repo(rust_host_tools, "rust_host_tools") + +rust_test = use_extension("//test:test_extensions.bzl", "rust_test", dev_dependency = True) +use_repo( + rust_test, + "buildkite_config", + "generated_inputs_in_external_repo", + "libc", + "rules_rust_test_load_arbitrary_tool", + "rules_rust_toolchain_test_target_json", + "t3p", + "t3p__serde-1.0.215", + "t3p__serde_json-1.0.133", +) + +bazel_dep( + name = "rules_python", + version = "0.40.0", + dev_dependency = True, +) +bazel_dep( + name = "rules_testing", + version = "0.7.0", + dev_dependency = True, +) +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +############################################################################### +## Crate Universe +############################################################################### + +crate_universe_internal_deps = use_extension( + "//crate_universe/private:internal_extensions.bzl", + "cu", +) +use_repo( + crate_universe_internal_deps, + "cargo_bazel.buildifier-darwin-amd64", + "cargo_bazel.buildifier-darwin-arm64", + "cargo_bazel.buildifier-linux-amd64", + "cargo_bazel.buildifier-linux-arm64", + "cargo_bazel.buildifier-linux-s390x", + "cargo_bazel.buildifier-windows-amd64.exe", + "cargo_bazel_bootstrap", + "cui", + "cui__anyhow-1.0.89", + "cui__camino-1.1.9", + "cui__cargo-lock-10.0.1", + "cui__cargo-platform-0.1.9", + "cui__cargo_metadata-0.19.1", + "cui__cargo_toml-0.20.5", + "cui__cfg-expr-0.17.2", + "cui__clap-4.3.11", + "cui__crates-index-3.3.0", + "cui__hex-0.4.3", + "cui__indoc-2.0.5", + "cui__itertools-0.13.0", + "cui__maplit-1.0.2", + "cui__normpath-1.3.0", + "cui__once_cell-1.20.2", + "cui__pathdiff-0.2.3", + "cui__regex-1.11.0", + "cui__semver-1.0.23", + "cui__serde-1.0.210", + "cui__serde_json-1.0.129", + "cui__serde_starlark-0.1.16", + "cui__sha2-0.10.8", + "cui__spdx-0.10.7", + "cui__tempfile-3.14.0", + "cui__tera-1.19.1", + "cui__textwrap-0.16.1", + "cui__toml-0.8.19", + "cui__tracing-0.1.40", + "cui__tracing-subscriber-0.3.18", + "cui__url-2.5.2", + "cui__walkdir-2.5.0", +) + +crate_universe_internal_dev_deps = use_extension( + "//crate_universe/private:internal_extensions.bzl", + "cu_dev", + dev_dependency = True, +) +use_repo( + crate_universe_internal_dev_deps, + "cross_rs", + "cross_rs_host_bin", +) diff --git a/modules/rules_rust/0.56.0/presubmit.yml b/modules/rules_rust/0.56.0/presubmit.yml new file mode 100644 index 00000000000..dc99e58d19a --- /dev/null +++ b/modules/rules_rust/0.56.0/presubmit.yml @@ -0,0 +1,39 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos_arm64", "ubuntu2004"] + bazel: ["7.x"] + tasks: + run_tests: + working_directory: examples/bzlmod/hello_world + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + shell_commands: + # Remove the lockfile because we generate on Bazel 7, but test on Bazel 6 which may not be able to parse a future-generated lockfile. + - "rm MODULE.bazel.lock || true" + run_targets: + - "//third-party-in-workspace:vendor" + - "@rules_rust//tools/rust_analyzer:gen_rust_project" + test_targets: + - "//..." +# Windows is run separately because currently gen_rust_project doesn't run on windows, although it does build +bcr_test_module_windows: + module_path: "" + matrix: + bazel: ["7.x"] + tasks: + run_tests: + working_directory: examples/bzlmod/hello_world + name: "Run test module" + platform: windows + bazel: ${{ bazel }} + shell_commands: + # Remove the lockfile because we generate on Bazel 7, but test on Bazel 6 which may not be able to parse a future-generated lockfile. + - "rm MODULE.bazel.lock || true" + run_targets: + - "//third-party-in-workspace:vendor" + build_targets: + - "@rules_rust//tools/rust_analyzer:gen_rust_project" + test_targets: + - "//..." diff --git a/modules/rules_rust/0.56.0/source.json b/modules/rules_rust/0.56.0/source.json new file mode 100644 index 00000000000..b42fd566780 --- /dev/null +++ b/modules/rules_rust/0.56.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz" +} diff --git a/modules/rules_rust/metadata.json b/modules/rules_rust/metadata.json index 6fe1977e5ab..b1738a94487 100644 --- a/modules/rules_rust/metadata.json +++ b/modules/rules_rust/metadata.json @@ -47,7 +47,8 @@ "0.52.2", "0.53.0", "0.54.1", - "0.55.6" + "0.55.6", + "0.56.0" ], "yanked_versions": {} } diff --git a/modules/rules_rust_bindgen/0.56.0/MODULE.bazel b/modules/rules_rust_bindgen/0.56.0/MODULE.bazel new file mode 100644 index 00000000000..aca15f6e49f --- /dev/null +++ b/modules/rules_rust_bindgen/0.56.0/MODULE.bazel @@ -0,0 +1,70 @@ +"""bazelbuild/rules_rust/extensions/bindgen""" + +module( + name = "rules_rust_bindgen", + version = "0.56.0", +) + +bazel_dep( + name = "rules_rust", + version = "0.56.0", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", +) +bazel_dep( + name = "rules_cc", + version = "0.0.17", +) +bazel_dep( + name = "llvm-project", + version = "17.0.3", +) +single_version_override( + module_name = "llvm-project", + patch_strip = 1, + patches = [ + "@//3rdparty/patches:llvm-project.incompatible_disallow_empty_glob.patch", + ], +) + +rust_ext = use_extension("//:extensions.bzl", "rust_ext") +use_repo( + rust_ext, + "rules_rust_bindgen__bindgen-cli-0.70.1", + "rules_rust_bindgen_deps__bindgen-0.70.1", + "rules_rust_bindgen_deps__clang-sys-1.8.1", + "rules_rust_bindgen_deps__clap-4.5.17", + "rules_rust_bindgen_deps__clap_complete-4.5.26", + "rules_rust_bindgen_deps__env_logger-0.10.2", +) + +register_toolchains( + "//:default_bindgen_toolchain", +) + +bazel_dep( + name = "rules_testing", + version = "0.7.0", + dev_dependency = True, +) +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/modules/rules_rust_bindgen/0.56.0/presubmit.yml b/modules/rules_rust_bindgen/0.56.0/presubmit.yml new file mode 100644 index 00000000000..444128f3d8f --- /dev/null +++ b/modules/rules_rust_bindgen/0.56.0/presubmit.yml @@ -0,0 +1,16 @@ +bcr_test_module: + module_path: "" + matrix: + platform: + - "macos_arm64" + - "ubuntu2004" + # # TODO: https://github.com/bazelbuild/rules_rust/issues/2009 + # - "windows" + bazel: ["7.x"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_rust_bindgen/0.56.0/source.json b/modules/rules_rust_bindgen/0.56.0/source.json new file mode 100644 index 00000000000..80b35bc1525 --- /dev/null +++ b/modules/rules_rust_bindgen/0.56.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=", + "strip_prefix": "extensions/bindgen", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz" +} diff --git a/modules/rules_rust_bindgen/metadata.json b/modules/rules_rust_bindgen/metadata.json index b1ee863fc28..a81c689cc1a 100644 --- a/modules/rules_rust_bindgen/metadata.json +++ b/modules/rules_rust_bindgen/metadata.json @@ -21,7 +21,8 @@ "github:bazelbuild/rules_rust" ], "versions": [ - "0.55.6" + "0.55.6", + "0.56.0" ], "yanked_versions": {} } diff --git a/modules/rules_rust_mdbook/0.56.0/MODULE.bazel b/modules/rules_rust_mdbook/0.56.0/MODULE.bazel new file mode 100644 index 00000000000..25fa27cab94 --- /dev/null +++ b/modules/rules_rust_mdbook/0.56.0/MODULE.bazel @@ -0,0 +1,49 @@ +"""bazelbuild/rules_rust/extensions/mdbook""" + +module( + name = "rules_rust_mdbook", + version = "0.56.0", +) + +bazel_dep( + name = "rules_rust", + version = "0.56.0", +) +bazel_dep( + name = "rules_cc", + version = "0.0.17", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", +) + +rust_ext = use_extension("//:extensions.bzl", "rust_ext") +use_repo( + rust_ext, + "rmdbi", + "rmdbi__mdbook-0.4.42", + "rules_rust_mdbook_toolchain", +) + +register_toolchains("@rules_rust_mdbook_toolchain//:toolchain") + +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/modules/rules_rust_mdbook/0.56.0/presubmit.yml b/modules/rules_rust_mdbook/0.56.0/presubmit.yml new file mode 100644 index 00000000000..371a226a65a --- /dev/null +++ b/modules/rules_rust_mdbook/0.56.0/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos_arm64", "ubuntu2004", "windows"] + bazel: ["7.x"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_rust_mdbook/0.56.0/source.json b/modules/rules_rust_mdbook/0.56.0/source.json new file mode 100644 index 00000000000..8cda8fb1dff --- /dev/null +++ b/modules/rules_rust_mdbook/0.56.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=", + "strip_prefix": "extensions/mdbook", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz" +} diff --git a/modules/rules_rust_mdbook/metadata.json b/modules/rules_rust_mdbook/metadata.json new file mode 100644 index 00000000000..31921531c2f --- /dev/null +++ b/modules/rules_rust_mdbook/metadata.json @@ -0,0 +1,27 @@ +{ + "homepage": "https://github.com/bazelbuild/rules_rust", + "maintainers": [ + { + "email": "26427366+UebelAndre@users.noreply.github.com", + "github": "UebelAndre", + "name": "UebelAndre" + }, + { + "email": "1131704+illicitonion@users.noreply.github.com", + "github": "illicitonion", + "name": "Daniel Wagner-Hall" + }, + { + "email": "11149636+scentini@users.noreply.github.com", + "github": "scentini", + "name": "Rosica Dejanovska" + } + ], + "repository": [ + "github:bazelbuild/rules_rust" + ], + "versions": [ + "0.56.0" + ], + "yanked_versions": {} +} diff --git a/modules/rules_rust_prost/0.56.0/MODULE.bazel b/modules/rules_rust_prost/0.56.0/MODULE.bazel new file mode 100644 index 00000000000..8f2746a4f92 --- /dev/null +++ b/modules/rules_rust_prost/0.56.0/MODULE.bazel @@ -0,0 +1,73 @@ +"""bazelbuild/rules_rust/extensions/prost""" + +module( + name = "rules_rust_prost", + version = "0.56.0", +) + +bazel_dep( + name = "rules_rust", + version = "0.56.0", +) +bazel_dep( + name = "platforms", + version = "0.0.10", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "rules_cc", + version = "0.0.17", +) +bazel_dep( + name = "rules_proto", + version = "6.0.2", +) +bazel_dep( + name = "protobuf", + version = "28.3", + repo_name = "com_google_protobuf", +) + +rust_ext = use_extension("//:extensions.bzl", "rust_ext") +use_repo( + rust_ext, + "rrprd", + "rrprd__h2-0.4.6", + "rrprd__heck", + "rrprd__prost-0.13.1", + "rrprd__prost-types-0.13.1", + "rrprd__protoc-gen-prost-0.4.0", + "rrprd__protoc-gen-tonic-0.4.1", + "rrprd__tokio-1.39.3", + "rrprd__tokio-stream-0.1.15", + "rrprd__tonic-0.12.1", +) + +register_toolchains( + "//:default_prost_toolchain", +) + +bazel_dep( + name = "googleapis", + version = "0.0.0-20240819-fe8ba054a", + dev_dependency = True, + repo_name = "com_google_googleapis", +) +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/modules/rules_rust_prost/0.56.0/presubmit.yml b/modules/rules_rust_prost/0.56.0/presubmit.yml new file mode 100644 index 00000000000..371a226a65a --- /dev/null +++ b/modules/rules_rust_prost/0.56.0/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos_arm64", "ubuntu2004", "windows"] + bazel: ["7.x"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_rust_prost/0.56.0/source.json b/modules/rules_rust_prost/0.56.0/source.json new file mode 100644 index 00000000000..0b8470fb725 --- /dev/null +++ b/modules/rules_rust_prost/0.56.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=", + "strip_prefix": "extensions/prost", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz" +} diff --git a/modules/rules_rust_prost/metadata.json b/modules/rules_rust_prost/metadata.json index b1ee863fc28..a81c689cc1a 100644 --- a/modules/rules_rust_prost/metadata.json +++ b/modules/rules_rust_prost/metadata.json @@ -21,7 +21,8 @@ "github:bazelbuild/rules_rust" ], "versions": [ - "0.55.6" + "0.55.6", + "0.56.0" ], "yanked_versions": {} } diff --git a/modules/rules_rust_protobuf/0.56.0/MODULE.bazel b/modules/rules_rust_protobuf/0.56.0/MODULE.bazel new file mode 100644 index 00000000000..7442229339e --- /dev/null +++ b/modules/rules_rust_protobuf/0.56.0/MODULE.bazel @@ -0,0 +1,64 @@ +"""bazelbuild/rules_rust/extensions/protobuf""" + +module( + name = "rules_rust_protobuf", + version = "0.56.0", +) + +bazel_dep( + name = "rules_rust", + version = "0.56.0", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", +) +bazel_dep( + name = "rules_cc", + version = "0.0.17", +) +bazel_dep( + name = "rules_proto", + version = "6.0.2", +) +bazel_dep( + name = "protobuf", + version = "28.3", + repo_name = "com_google_protobuf", +) + +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext = use_extension("//:extensions.bzl", "rust_ext") +use_repo( + rust_ext, + "rules_rust_protobuf_deps__grpc-0.6.2", + "rules_rust_protobuf_deps__grpc-compiler-0.6.2", + "rules_rust_protobuf_deps__log-0.4.17", + "rules_rust_protobuf_deps__protobuf-2.8.2", + "rules_rust_protobuf_deps__protobuf-codegen-2.8.2", + "rules_rust_protobuf_deps__tls-api-0.1.22", + "rules_rust_protobuf_deps__tls-api-stub-0.1.22", +) + +register_toolchains( + "//:default_proto_toolchain", +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/modules/rules_rust_protobuf/0.56.0/presubmit.yml b/modules/rules_rust_protobuf/0.56.0/presubmit.yml new file mode 100644 index 00000000000..371a226a65a --- /dev/null +++ b/modules/rules_rust_protobuf/0.56.0/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos_arm64", "ubuntu2004", "windows"] + bazel: ["7.x"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_rust_protobuf/0.56.0/source.json b/modules/rules_rust_protobuf/0.56.0/source.json new file mode 100644 index 00000000000..e181335b71f --- /dev/null +++ b/modules/rules_rust_protobuf/0.56.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=", + "strip_prefix": "extensions/protobuf", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz" +} diff --git a/modules/rules_rust_protobuf/metadata.json b/modules/rules_rust_protobuf/metadata.json index b1ee863fc28..a81c689cc1a 100644 --- a/modules/rules_rust_protobuf/metadata.json +++ b/modules/rules_rust_protobuf/metadata.json @@ -21,7 +21,8 @@ "github:bazelbuild/rules_rust" ], "versions": [ - "0.55.6" + "0.55.6", + "0.56.0" ], "yanked_versions": {} } diff --git a/modules/rules_rust_wasm_bindgen/0.56.0/MODULE.bazel b/modules/rules_rust_wasm_bindgen/0.56.0/MODULE.bazel new file mode 100644 index 00000000000..eba0d184328 --- /dev/null +++ b/modules/rules_rust_wasm_bindgen/0.56.0/MODULE.bazel @@ -0,0 +1,75 @@ +"""bazelbuild/rules_rust/extensions/wasm_bindgen""" + +module( + name = "rules_rust_wasm_bindgen", + version = "0.56.0", +) + +bazel_dep( + name = "rules_rust", + version = "0.56.0", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", +) +bazel_dep( + name = "rules_cc", + version = "0.0.17", +) +bazel_dep( + name = "aspect_rules_js", + version = "2.1.1", +) + +rust_ext = use_extension("//:extensions.bzl", "rust_ext") +use_repo( + rust_ext, + "rrwbd__anyhow-1.0.71", + "rrwbd__assert_cmd-1.0.8", + "rrwbd__diff-0.1.13", + "rrwbd__docopt-1.1.1", + "rrwbd__env_logger-0.8.4", + "rrwbd__log-0.4.19", + "rrwbd__predicates-1.0.8", + "rrwbd__rayon-1.7.0", + "rrwbd__rouille-3.6.2", + "rrwbd__serde-1.0.171", + "rrwbd__serde_derive-1.0.171", + "rrwbd__serde_json-1.0.102", + "rrwbd__tempfile-3.6.0", + "rrwbd__ureq-2.8.0", + "rrwbd__walrus-0.20.3", + "rrwbd__wasm-bindgen-0.2.92", + "rrwbd__wasm-bindgen-cli-support-0.2.92", + "rrwbd__wasm-bindgen-shared-0.2.92", + "rrwbd__wasmparser-0.102.0", + "rrwbd__wasmprinter-0.2.60", + "rules_rust_wasm_bindgen_cli", +) + +register_toolchains( + "//:default_wasm_bindgen_toolchain", + "@rules_rust//rust/private/dummy_cc_toolchain:dummy_cc_wasm32_toolchain", + "@rules_rust//rust/private/dummy_cc_toolchain:dummy_cc_wasm64_toolchain", +) + +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/modules/rules_rust_wasm_bindgen/0.56.0/presubmit.yml b/modules/rules_rust_wasm_bindgen/0.56.0/presubmit.yml new file mode 100644 index 00000000000..371a226a65a --- /dev/null +++ b/modules/rules_rust_wasm_bindgen/0.56.0/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos_arm64", "ubuntu2004", "windows"] + bazel: ["7.x"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_rust_wasm_bindgen/0.56.0/source.json b/modules/rules_rust_wasm_bindgen/0.56.0/source.json new file mode 100644 index 00000000000..1c44c51aaff --- /dev/null +++ b/modules/rules_rust_wasm_bindgen/0.56.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=", + "strip_prefix": "extensions/wasm_bindgen", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz" +} diff --git a/modules/rules_rust_wasm_bindgen/metadata.json b/modules/rules_rust_wasm_bindgen/metadata.json index b1ee863fc28..a81c689cc1a 100644 --- a/modules/rules_rust_wasm_bindgen/metadata.json +++ b/modules/rules_rust_wasm_bindgen/metadata.json @@ -21,7 +21,8 @@ "github:bazelbuild/rules_rust" ], "versions": [ - "0.55.6" + "0.55.6", + "0.56.0" ], "yanked_versions": {} }