-
Notifications
You must be signed in to change notification settings - Fork 513
Open
Labels
Description
Hi! I get this error from rust_library
targets after updating to commit 76c44206c4d37491767446c6ccdf1a98274a0887
Traceback (most recent call last):
File "/home/iffy/.cache/bazel/_bazel_iffy/7f16182b13b4a660f93298499007a04c/external/rules_rust/rust/toolchain.bzl", line 154, column 72, in _rust_toolchain_impl
libstd_and_allocator_ccinfo = _make_libstd_and_allocator_ccinfo(ctx, ctx.attr.rust_lib, ctx.attr.allocator_library),
File "/home/iffy/.cache/bazel/_bazel_iffy/7f16182b13b4a660f93298499007a04c/external/rules_rust/rust/toolchain.bzl", line 43, column 60, in _make_libstd_and_allocator_ccinfo
cc_toolchain, feature_configuration = find_cc_toolchain(ctx)
File "/home/iffy/.cache/bazel/_bazel_iffy/7f16182b13b4a660f93298499007a04c/external/rules_rust/rust/private/utils.bzl", line 43, column 24, in find_cc_toolchain
cc_toolchain = cc_toolchain,
Error: local variable 'cc_toolchain' is referenced before assignment.
it seems like somehow @bazel_tools//tools/cpp:toolchain_type
was supposed to be set but no longer isnt?