Skip to content

The following chain of repository dependencies lead to the missing definition #1709

Open
@QuentinPerez

Description

@QuentinPerez

👋

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions