Skip to content

Commit

Permalink
Add default SharedLibaryInfo to prelude//:none
Browse files Browse the repository at this point in the history
Reviewed By: yanchenw

Differential Revision: D65986747

fbshipit-source-id: d4f1c1417baabca4a02eddb40442e279eb5e2895
  • Loading branch information
Scott Cao authored and facebook-github-bot committed Nov 15, 2024
1 parent 9bcd45c commit fb8b7ac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion none.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
# of this source tree.

load(
"@prelude//linking:shared_libraries.bzl",
"SharedLibraryInfo",
)

def _impl(_ctx: AnalysisContext) -> list[Provider]:
return [DefaultInfo()]
return [DefaultInfo(), SharedLibraryInfo()]

none_rule = rule(
attrs = {},
Expand Down

0 comments on commit fb8b7ac

Please sign in to comment.