Skip to content

Commit

Permalink
Add doc for new attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinh Tran committed Sep 28, 2023
1 parent 184a9b4 commit 1eb8d91
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions rust/private/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -933,8 +933,16 @@ rust_static_library = rule(
implementation = _rust_static_library_impl,
attrs = dict(
_common_attrs.items() + {
"hdrs": attr.label_list(allow_files = True),
"includes": attr.string_list(),
"hdrs": attr.label_list(
allow_files = True,
doc = (
"The list of header files published by this library to be " +
"directly included by sources in dependent cc rules."
),
),
"includes": attr.string_list(
doc = "The list of include dirs to headers to be added to cc compiling.",
),
}.items(),
),
fragments = ["cpp"],
Expand Down

0 comments on commit 1eb8d91

Please sign in to comment.