bazelbuild / bazelbuild/rules_rust

The following chain of repository dependencies lead to the missing definition

Open
#1,709 18 comments 0 reactions 0 assignees View on GitHub
bug external-crates needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

👋

Since the `0.15.0`, I can not build anymore due to the following error, has something changed ?

```
rust_register_toolchains(
edition = "2021",
extra_target_triples = [
"aarch64-apple-ios-sim",
"aarch64-apple-ios",
"aarch64-linux-android",
"x86_64-unknown-linux-gnu",
],
# rustup default nightly-2022-12-12
include_rustc_srcs = True,
iso_date = "2022-12-12",
rustfmt_version = "nightly",
version = "nightly",
)

...

> CARGO_BAZEL_REPIN=true bazel query //...

The following chain of repository dependencies lead to the missing definition.
- @crate_index
- @rust_darwin_aarch64__aarch64-apple-darwin__stable_tools
This could either mean you have to add the '@rust_darwin_aarch64__aarch64-apple-darwin__stable_tools' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.