We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d96cde commit 4327ce4Copy full SHA for 4327ce4
crate_universe/private/crates_vendor.bzl
@@ -39,6 +39,9 @@ if [[ -n "${{CARGO_BAZEL_DEBUG:-}}" ]]; then
39
_ENVIRON+=(CARGO_BAZEL_DEBUG="${{CARGO_BAZEL_DEBUG}}")
40
fi
41
42
+# Pass on CARGO_REGISTRIES_* and CARGO_REGISTRY*
43
+while IFS= read -r line; do _ENVIRON+=("${{line}}"); done < <(env | grep ^CARGO_REGISTR)
44
+
45
# The path needs to be preserved to prevent bazel from starting with different
46
# startup options (requiring a restart of bazel).
47
# If you provide an empty path, bazel starts itself with
0 commit comments