You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# To find additional information on this release or newer ones visit:# https://github.com/bazelbuild/rules_rust/releaseshttp_archive(
name="rules_rust", #0.22.0, 2023-05-22sha256="50272c39f20a3a3507cb56dcb5c3b348bda697a7d868708449e2fa6fb893444c",
urls= ["https://github.com/bazelbuild/rules_rust/releases/download/0.22.0/rules_rust-v0.22.0.tar.gz"],
)
% bazel build --color=yes --subcommands --strip=always --compilation_mode=opt \
--@rules_rust//:extra_rustc_flags="-C,panic=abort,-C,debuginfo=2,-C,opt-level=3" \
//:main
DEBUG: /Users/user1/src/rust/some-test/BUILD.bazel:4:6: {"@crate_index__owo-colors-3.6.0//:owo-colors": "term_color"}
ERROR: /Users/user1/src/rust/some-test/BUILD.bazel:6:12: no such target '@crate_index__owo-colors-3.6.0//:owo-colors': target 'owo-colors' not declared in package '' defined by /private/var/tmp/_bazel_user1/81d27ea67214ab39b28fce880af4107d/external/crate_index__owo-colors-3.6.0/BUILD.bazel (did you mean 'owo_colors'? Tip: use `query "@crate_index__owo-colors-3.6.0//:*"` to see all the targets in that package) and referenced by '//:main'
ERROR: Analysis of target '//:main' failed; build aborted: Analysis failed
INFO: Elapsed time: 2.521s
INFO: 0 processes.
rules_rust version:
part of
Cargo.toml
:BUILD.bazel
:Error:
The text was updated successfully, but these errors were encountered: