Closed oremj closed 2 years ago
Very interesting. The configuration selector logic seems to not be appropriately handling cases where limited platforms are provided. As a workaround, could you try unrestricting the supported platforms?
diff --git a/WORKSPACE b/WORKSPACE
index 4971ae74..27aa329e 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -37,10 +37,6 @@ crates_repository(
],
lockfile = "//:crate.lock",
generator = "@cargo_bazel_bootstrap//:cargo-bazel",
- supported_platform_triples = [
- "x86_64-apple-darwin",
- "x86_64-unknown-linux-gnu",
- ],
)
load("@crates_sandbox//:defs.bzl", "crate_repositories")
Confirmed that removing supported_platform_triples
allows the build to succeed.
Closing this out in favor of https://github.com/bazelbuild/rules_rust/issues/1417 which seems to have more discussions around long term solutions.
Error: dictionary expression has duplicate key
withahash = "=0.7.6"
dependency.Error
Generated build file
Steps to reproduce