We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8165c7 commit cfddfb1Copy full SHA for cfddfb1
rust/private/rustc.bzl
@@ -57,7 +57,7 @@ ErrorFormatInfo = provider(
57
)
58
59
def _use_worker(ctx):
60
- return ctx.attr._use_worker[BuildSettingInfo].value
+ return hasattr(ctx.attr, "_use_worker") and ctx.attr._use_worker[BuildSettingInfo].value
61
62
def _get_rustc_env(ctx, toolchain):
63
"""Gathers rustc environment variables
0 commit comments