diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 6281c449fc..8004fb1e8c 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -644,6 +644,7 @@ tasks: working_directory: examples/bzlmod/hello_world run_targets: - "//third-party:vendor" + - "@rules_rust//tools/rust_analyzer:gen_rust_project" test_targets: - "//..." macos_bzlmod_bcr: @@ -652,6 +653,7 @@ tasks: working_directory: examples/bzlmod/hello_world run_targets: - "//third-party:vendor" + - "@rules_rust//tools/rust_analyzer:gen_rust_project" test_targets: - "//..." diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index d5223107f6..4d1810a4db 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -9,5 +9,6 @@ bcr_test_module: platform: ${{ platform }} run_targets: - "//third-party:vendor" + - "@rules_rust//tools/rust_analyzer:gen_rust_project" test_targets: - "//..." diff --git a/tools/tool_utils.bzl b/tools/tool_utils.bzl index de876b1403..4ce78d80e2 100644 --- a/tools/tool_utils.bzl +++ b/tools/tool_utils.bzl @@ -12,4 +12,4 @@ def aspect_repository(): """ if native.repository_name() == "@": return "" - return native.repository_name() + return "@" + native.repository_name()