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
I'm upgrading a project to newer versions of rules_rust (0.9) and cargo-raze (0.16), and am now running into an error when running bazel run @cargo-raze//:raze on an M1 machine:
/external/cargo_raze/tools/BUILD.bazel:44:6: no such target '@rust_darwin_aarch64//:cargo': target 'cargo' not declared in package '' defined by /external/rust_darwin_aarch64/BUILD.bazel and referenced by '@cargo_raze//tools:cargo'
ERROR: /external/cargo_raze/tools/BUILD.bazel:55:6: no such target '@rust_darwin_aarch64//:rustc': target 'rustc' not declared in package '' defined by /external/rust_darwin_aarch64/BUILD.bazel and referenced by '@cargo_raze//tools:rustc
Is there any obvious config I might be missing? I have:
I have the same issue on Linux as well with rules_rust 0.10.0 and cargo-raze 0.16.0.
$ bazel run @cargo_raze//:raze
ERROR: external/cargo_raze/tools/BUILD.bazel:44:6: no such target '@rust_linux_x86_64//:cargo': target 'cargo' not declared in package '' defined by external/rust_linux_x86_64/BUILD.bazel and referenced by '@cargo_raze//tools:cargo'
ERROR: Analysis of target '@cargo_raze//:raze' failed; build aborted:
INFO: Elapsed time: 0.424s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
I'm upgrading a project to newer versions of
rules_rust
(0.9) andcargo-raze
(0.16), and am now running into an error when runningbazel run @cargo-raze//:raze
on an M1 machine:Is there any obvious config I might be missing? I have:
in my Cargo.toml
The text was updated successfully, but these errors were encountered: