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 getting this error trying to use rust_doc_test on 1fc2993
Traceback (most recent call last):
File "/private/var/tmp/_bazel_user/c4900dc498759a5aae30fdfe5c69c114/external/rules_rust/rust/private/rustdoc_test.bzl", line 44, column 33, in _rust_doc_test_impl
flags = _build_rustdoc_flags(dep_info, crate_info)
File "/private/var/tmp/_bazel_user/c4900dc498759a5aae30fdfe5c69c114/external/rules_rust/rust/private/rustdoc_test.bzl", line 108, column 37, in _build_rustdoc_flags
is_static = bool(lib_to_link.static_library or lib_to_link.pic_static_library)
Error: 'LinkerInput' value has no field or method 'static_library'
The target I'm using rust_doc_test on transitive cc_library dependencies which I suspect is the cause of the issue here.
The issue can be reproduced with the following diff to rules_rust:
I'm getting this error trying to use
rust_doc_test
on 1fc2993The target I'm using
rust_doc_test
on transitivecc_library
dependencies which I suspect is the cause of the issue here.The issue can be reproduced with the following diff to
rules_rust
:The text was updated successfully, but these errors were encountered: